- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Resolves the column name for a record component.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ColumnNameResolverThe default column name resolver used by the ORM template. -
Method Summary
Modifier and TypeMethodDescriptionstatic ColumnNameResolverResolves the column name for a record component using camel case to snake case conversion.resolveColumnName(RecordField field) Resolves the column name for a record component.static ColumnNameResolvertoUpperCase(ColumnNameResolver resolver) Resolves the column name for a record component by converting the column name to upper case.
-
Field Details
-
DEFAULT
The default column name resolver used by the ORM template.
-
-
Method Details
-
camelCaseToSnakeCase
Resolves the column name for a record component using camel case to snake case conversion.- Returns:
- the column name resolver.
-
toUpperCase
Resolves the column name for a record component by converting the column name to upper case.- Parameters:
resolver- the column name resolver to wrap.- Returns:
- the column name resolver.
-
resolveColumnName
Resolves the column name for a record component.- Parameters:
field- the record field- Returns:
- the column name.
-