| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: The name with global quoting appliedThe specified column definition text)Intended only for use in handling quoting requirements for |
| protected Database | |
| public Identifier | Returns: The logical nameThe explicit, user-supplied name explicitName, NamingStrategyHelper The naming strategy helper. namingStrategyHelper)Determine the logical name give a (potentially |
| protected abstract MetadataBuildingContext | Returns: The current building contextAccess the contextual information related to the current process of building metadata. |
| public Identifier | Returns: The identifier accounting for any quoting that need be applied.The identifier to be quoting-normalized. identifierText)Normalizes the quoting of identifiers. |
| public Identifier | |
| public String | Returns: The identifier accounting for any quoting that need be applied.The identifier to be quoting-normalized. identifierText)Normalizes the quoting of identifiers. |
| public String |
| database | back to summary |
|---|---|
| private Database database | |
| ObjectNameNormalizer | back to summary |
|---|---|
| public ObjectNameNormalizer() | |
| applyGlobalQuoting | back to summary |
|---|---|
| public String applyGlobalQuoting(String text) Intended only for use in handling quoting requirements for | |
| database | back to summary |
|---|---|
| protected Database database() | |
| determineLogicalName | back to summary |
|---|---|
| public Identifier determineLogicalName(String explicitName, NamingStrategyHelper namingStrategyHelper) Determine the logical name give a (potentially
| |
| getBuildingContext | back to summary |
|---|---|
| protected abstract MetadataBuildingContext getBuildingContext() Access the contextual information related to the current process of building metadata. Here, that typically might be needed for accessing:
| |
| normalizeIdentifierQuoting | back to summary |
|---|---|
| public Identifier normalizeIdentifierQuoting(String identifierText) Normalizes the quoting of identifiers. This implements the rules set forth in JPA 2 (section "2.13 Naming of Database Objects") which states that the double-quote (") is the character which should be used to denote a quoted identifier. Here, we handle recognizing that and converting it to the more elegant backtick (`) approach used in Hibernate.. Additionally we account for applying what JPA2 terms "globally quoted identifiers".
| |
| normalizeIdentifierQuoting | back to summary |
|---|---|
| public Identifier normalizeIdentifierQuoting(Identifier identifier) | |
| normalizeIdentifierQuotingAsString | back to summary |
|---|---|
| public String normalizeIdentifierQuotingAsString(String identifierText) Normalizes the quoting of identifiers. This form returns a String rather than an Identifier
to better work with the legacy code in | |
| toDatabaseIdentifierText | back to summary |
|---|---|
| public String toDatabaseIdentifierText(String identifierText) | |