Deprecated
as a consequence of EJB3NamingStrategy being deprecated. See corresponding docs for further information.
| Modifier and Type | Field and Description |
|---|---|
| public static final NamingStrategy | INSTANCE
Hides org.
Deprecated
as a consequence of
NamingStrategy being deprecated.
|
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected static String | |
| public String | collectionTableName(String ownerEntity, String
owner side table name ownerEntityTable, String associatedEntity, String reverse side table name if any associatedEntityTable, String collection role propertyName)Overrides org. Implements org. |
| public String | foreignKeyColumnName(String
the property name involved propertyName, String propertyEntityName, String the property table name involved (logical one) propertyTableName, String the referenced column name involved (logical one) referencedColumnName)Overrides org. Implements org. |
| public String | logicalCollectionColumnName(String
given column name in the metadata if any columnName, String property name propertyName, String referenced column name (logical one) in the join referencedColumn)Overrides org. Implements org. |
| public String | logicalCollectionTableName(String
the metadata explicit name tableName, String owner table entity table name (logical one) ownerEntityTable, String reverse side table name if any (logical one) associatedEntityTable, String collection role propertyName)Overrides org. Implements org. |
| public String | logicalColumnName(String
given column name if any columnName, String property name of this column propertyName)Overrides org. Implements org. |
| public String | propertyToColumnName(String
a property path propertyName)Overrides org. Implements org. |
| INSTANCE | back to summary |
|---|---|
| public static final NamingStrategy INSTANCE Hides org. Deprecated as a consequence of | |
| DefaultComponentSafeNamingStrategy | back to summary |
|---|---|
| public DefaultComponentSafeNamingStrategy() | |
| addUnderscores | back to summary |
|---|---|
| protected static String addUnderscores(String name) | |
| collectionTableName | back to summary |
|---|---|
| public String collectionTableName(String ownerEntity, String ownerEntityTable, String associatedEntity, String associatedEntityTable, String propertyName) Overrides org. Implements org. Doc from org. Return a collection table name ie an association having a join table | |
| foreignKeyColumnName | back to summary |
|---|---|
| public String foreignKeyColumnName(String propertyName, String propertyEntityName, String propertyTableName, String referencedColumnName) Overrides org. Implements org. Doc from org. Return the foreign key column name for the given parameters | |
| logicalCollectionColumnName | back to summary |
|---|---|
| public String logicalCollectionColumnName(String columnName, String propertyName, String referencedColumn) Overrides org. Implements org. Doc from org. Returns the logical foreign key column name used to refer to this column in the mapping metadata | |
| logicalCollectionTableName | back to summary |
|---|---|
| public String logicalCollectionTableName(String tableName, String ownerEntityTable, String associatedEntityTable, String propertyName) Overrides org. Implements org. Doc from org. Returns the logical collection table name used to refer to a table in the mapping metadata | |
| logicalColumnName | back to summary |
|---|---|
| public String logicalColumnName(String columnName, String propertyName) Overrides org. Implements org. Doc from org. Return the logical column name used to refer to a column in the metadata (like index, unique constraints etc) A full bijection is required between logicalNames and physical ones logicalName have to be case insensitively unique for a given table | |
| propertyToColumnName | back to summary |
|---|---|
| public String propertyToColumnName(String propertyName) Overrides org. Implements org. Doc from org. Return a column name for a property path expression | |