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

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

Introduction

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

Prototype

public EntityNaming getNonOwningEntityNaming();

Source Link

Document

Access to entity naming information for the owning side.

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  w  w.  j av  a 2 s.c  om*/
}