All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.boot.model.naming.ImplicitPrimaryKeyJoinColumnNameSource Maven / Gradle / Ivy

The newest version!
/*
 * Hibernate, Relational Persistence for Idiomatic Java
 *
 * License: GNU Lesser General Public License (LGPL), version 2.1 or later.
 * See the lgpl.txt file in the root directory or .
 */
package org.hibernate.boot.model.naming;

/**
 * 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
  • *
* * @author Steve Ebersole */ public interface ImplicitPrimaryKeyJoinColumnNameSource extends ImplicitNameSource { /** * Access the name of the table referenced by the foreign-key described here. * * @return The referenced table name. */ Identifier getReferencedTableName(); /** * 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. * * @return The referenced primary key column name. */ Identifier getReferencedPrimaryKeyColumnName(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy