Package com.querydsl.sql.namemapping
Class ChangeLetterCaseNameMapping
java.lang.Object
com.querydsl.sql.namemapping.ChangeLetterCaseNameMapping
- All Implemented Interfaces:
NameMapping
Simple implementation of
NameMapping that changes the letter-case
(lower-case or upper-case) of the schema, table and column names. The
information how the database stores the identifiers are available normally
from the stores*Identifiers function of the
DatabaseMetaData-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe target character-case (lower or upper) that theChangeLetterCaseNameMappingshould use to convert the identifiers names. -
Constructor Summary
ConstructorsConstructorDescriptionChangeLetterCaseNameMapping(ChangeLetterCaseNameMapping.LetterCase targetCase, Locale locale) Constructor. -
Method Summary
-
Constructor Details
-
ChangeLetterCaseNameMapping
public ChangeLetterCaseNameMapping(ChangeLetterCaseNameMapping.LetterCase targetCase, Locale locale) Constructor.- Parameters:
targetCase- The characters of all table and column names will be converted to the specified letter-case.locale- The locale that is used for the letter-case conversion.
-
-
Method Details
-
getColumnOverride
- Specified by:
getColumnOverridein interfaceNameMapping
-
getOverride
- Specified by:
getOverridein interfaceNameMapping
-