Package org.hibernate.boot.model.naming
Interface ImplicitPrimaryKeyJoinColumnNameSource
- All Superinterfaces:
ImplicitNameSource
Used to help determine the implicit name of columns which are part of a primary-key,
well simultaneously being part of a foreign-key (join). Generally, this happens in:
- secondary tables
- joined inheritance tables
- one-to-one associations
-
Method Summary
Modifier and TypeMethodDescriptionAccess the name of the column that is a primary key column in the referenced-table that is referenced by the foreign-key described here.Access the name of the table referenced by the foreign-key described here.Methods inherited from interface org.hibernate.boot.model.naming.ImplicitNameSource
getBuildingContext
-
Method Details
-
getReferencedTableName
Identifier getReferencedTableName()Access the name of the table referenced by the foreign-key described here.- Returns:
- The referenced table name.
-
getReferencedPrimaryKeyColumnName
Identifier getReferencedPrimaryKeyColumnName()Access the name of the column that is a primary key column in the referenced-table that is referenced by the foreign-key described here.- Returns:
- The referenced primary key column name.
-