HHH-6371 - Develop metamodel binding creation using a push approach
This commit is contained in:
parent
4e18a56850
commit
229842aadb
|
@ -914,10 +914,11 @@ public class EntityBinder {
|
|||
ColumnRelationalStateImpl columnRelationsState = new ColumnRelationalStateImpl(
|
||||
simpleAttribute, bindingContext.getMetadataImplementor()
|
||||
);
|
||||
TupleRelationalStateImpl relationalState = new TupleRelationalStateImpl();
|
||||
relationalState.addValueState( columnRelationsState );
|
||||
|
||||
attributeBinding.initialize( relationalState );
|
||||
// TupleRelationalStateImpl relationalState = new TupleRelationalStateImpl();
|
||||
// relationalState.addValueState( columnRelationsState );
|
||||
//
|
||||
// attributeBinding.initialize( relationalState );
|
||||
attributeBinding.initialize( columnRelationsState );
|
||||
}
|
||||
|
||||
if ( ! attribute.isTypeResolved() ) {
|
||||
|
|
|
@ -62,7 +62,7 @@ class AttributeTypeResolver {
|
|||
|
||||
final HibernateTypeDescriptor hibernateTypeDescriptor = attributeBinding.getHibernateTypeDescriptor();
|
||||
|
||||
Type resolvedHibernateType = attributeBinding.getHibernateTypeDescriptor().getResolvedTypeMapping();
|
||||
Type resolvedHibernateType = hibernateTypeDescriptor.getResolvedTypeMapping();
|
||||
if ( resolvedHibernateType == null ) {
|
||||
resolvedHibernateType = determineHibernateType( attributeBinding );
|
||||
if ( resolvedHibernateType != null ) {
|
||||
|
|
Loading…
Reference in New Issue