HHH-17504 - Ongoing JPA 32 work HHH-17350 - Work on hibernate-models, XSD and JAXB HHH-16114 - Improve boot metamodel binding HHH-15996 - Develop an abstraction for Annotation in annotation processing HHH-16012 - Develop an abstraction for domain model Class refs HHH-15997 - Support for dynamic models in orm.xml HHH-15698 - Support for entity-name in mapping.xsd
This commit is contained in:
parent
82df888484
commit
c0db0a702a
|
@ -910,7 +910,7 @@ public class EntityBinder {
|
|||
}
|
||||
|
||||
private static void handleForeignKeys(ClassDetails clazzToProcess, MetadataBuildingContext context, DependantValue key) {
|
||||
final AnnotationUsage<PrimaryKeyJoinColumn> pkJoinColumn = clazzToProcess.getAnnotationUsage( PrimaryKeyJoinColumn.class );
|
||||
final AnnotationUsage<PrimaryKeyJoinColumn> pkJoinColumn = clazzToProcess.getSingleAnnotationUsage( PrimaryKeyJoinColumn.class );
|
||||
final AnnotationUsage<PrimaryKeyJoinColumns> pkJoinColumns = clazzToProcess.getAnnotationUsage( PrimaryKeyJoinColumns.class );
|
||||
final boolean noConstraintByDefault = context.getBuildingOptions().isNoConstraintByDefault();
|
||||
if ( pkJoinColumn != null && noConstraint( pkJoinColumn.getNestedUsage( "foreignKey" ), noConstraintByDefault )
|
||||
|
|
Loading…
Reference in New Issue