Package org.hibernate.boot.model.naming
Interface ImplicitPrimaryKeyJoinColumnNameSource
-
- All Superinterfaces:
ImplicitNameSource
public interface ImplicitPrimaryKeyJoinColumnNameSource extends 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.Identifier
getReferencedTableName()
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 Detail
-
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.
-
-