Example usage for org.hibernate.boot.model.naming ImplicitPrimaryKeyJoinColumnNameSource getReferencedTableName

List of usage examples for org.hibernate.boot.model.naming ImplicitPrimaryKeyJoinColumnNameSource getReferencedTableName

Introduction

In this page you can find the example usage for org.hibernate.boot.model.naming ImplicitPrimaryKeyJoinColumnNameSource getReferencedTableName.

Prototype

Identifier getReferencedTableName();

Source Link

Document

Access the name of the table referenced by the foreign-key described here.

Usage

From source file:com.evolveum.midpoint.repo.sql.util.MidPointImplicitNamingStrategy.java

License:Apache License

@Override
public Identifier determinePrimaryKeyJoinColumnName(ImplicitPrimaryKeyJoinColumnNameSource source) {
    Identifier i = super.determinePrimaryKeyJoinColumnName(source);

    LOGGER.trace("determinePrimaryKeyJoinColumnName {} {} -> {}", source.getReferencedTableName(),
            source.getReferencedPrimaryKeyColumnName(), i);

    return i;// w  ww .j a  v a 2  s .  c  om
}