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

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

Introduction

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

Prototype

public EntityNaming getOwningEntityNaming();

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  ww .  java 2  s .  c o  m
}