Example usage for org.hibernate.boot.model.naming ImplicitJoinTableNameSource getNonOwningPhysicalTableName

List of usage examples for org.hibernate.boot.model.naming ImplicitJoinTableNameSource getNonOwningPhysicalTableName

Introduction

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

Prototype

public String getNonOwningPhysicalTableName();

Source Link

Document

Access to the physical name of the non-owning entity's primary table.

Usage

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

License:Apache License

@Override
public Identifier determineJoinTableName(ImplicitJoinTableNameSource source) {
    Identifier i = super.determineJoinTableName(source);

    LOGGER.trace("determineJoinTableName {} {} {} {} {} -> {}", source.getOwningEntityNaming(),
            source.getOwningPhysicalTableName(), source.getNonOwningEntityNaming(),
            source.getNonOwningPhysicalTableName(), source.getAssociationOwningAttributePath(), i);

    return i;/*from   w ww .ja va  2 s.  co  m*/
}