Example usage for org.hibernate.boot.model.naming ImplicitAnyKeyColumnNameSource getAttributePath

List of usage examples for org.hibernate.boot.model.naming ImplicitAnyKeyColumnNameSource getAttributePath

Introduction

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

Prototype

AttributePath getAttributePath();

Source Link

Document

Access to the AttributePath of the ANY mapping

Usage

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

License:Apache License

@Override
public Identifier determineAnyKeyColumnName(ImplicitAnyKeyColumnNameSource source) {
    Identifier i = super.determineAnyKeyColumnName(source);

    LOGGER.trace("determineAnyKeyColumnName {} -> {}", source.getAttributePath(), i);

    return i;//w w  w  . j  a va 2 s .  c o m
}

From source file:org.ligoj.bootstrap.core.dao.ImplicitNamingStrategyNiceJpaImpl.java

License:MIT License

@Override
public Identifier determineAnyKeyColumnName(final ImplicitAnyKeyColumnNameSource source) {
    return toIdentifier(transformAttributePath(source.getAttributePath()), source.getBuildingContext());
}