Package org.hibernate.metamodel.source.annotations.entity.state.relational

Examples of org.hibernate.metamodel.source.annotations.entity.state.relational.ColumnRelationalStateImpl


    entityBinding.getEntity().getOrCreateSingularAttribute( idName );

    SimpleAttributeBinding attributeBinding = entityBinding.makeSimpleIdAttributeBinding( idName );
    attributeBinding.initialize( new AttributeBindingStateImpl( (SimpleAttribute) idAttribute ) );
    attributeBinding.initialize( new ColumnRelationalStateImpl( (SimpleAttribute) idAttribute, meta ) );
    bindSingleIdGeneratedValue( entityBinding, idName );

  }
View Full Code Here


        ManyToOneAttributeBindingState bindingState = new ManyToOneBindingStateImpl( associationAttribute );
        manyToOneAttributeBinding.initialize( bindingState );

        ManyToOneRelationalStateImpl relationalState = new ManyToOneRelationalStateImpl();
        if ( configuredClass.hasOwnTable() ) {
          ColumnRelationalStateImpl columnRelationsState = new ColumnRelationalStateImpl(
              associationAttribute, meta
          );
          relationalState.addValueState( columnRelationsState );
        }
        manyToOneAttributeBinding.initialize( relationalState );
View Full Code Here

      SimpleAttributeBindingState bindingState = new AttributeBindingStateImpl( simpleAttribute );
      attributeBinding.initialize( bindingState );
    }

    if ( configuredClass.hasOwnTable() ) {
      ColumnRelationalStateImpl columnRelationsState = new ColumnRelationalStateImpl(
          simpleAttribute, meta
      );
      TupleRelationalStateImpl relationalState = new TupleRelationalStateImpl();
      relationalState.addValueState( columnRelationsState );
View Full Code Here

        ManyToOneAttributeBindingState bindingState = new ManyToOneBindingStateImpl( associationAttribute );
        manyToOneAttributeBinding.initialize( bindingState );

        ManyToOneRelationalStateImpl relationalState = new ManyToOneRelationalStateImpl();
        if ( configuredClass.hasOwnTable() ) {
          ColumnRelationalStateImpl columnRelationsState = new ColumnRelationalStateImpl(
              associationAttribute, meta
          );
          relationalState.addValueState( columnRelationsState );
        }
        manyToOneAttributeBinding.initialize( relationalState );
View Full Code Here

      SimpleAttributeBindingState bindingState = new AttributeBindingStateImpl( simpleAttribute );
      attributeBinding.initialize( bindingState );
    }

    if ( configuredClass.hasOwnTable() ) {
      ColumnRelationalStateImpl columnRelationsState = new ColumnRelationalStateImpl(
          simpleAttribute, meta
      );
      TupleRelationalStateImpl relationalState = new TupleRelationalStateImpl();
      relationalState.addValueState( columnRelationsState );
View Full Code Here

    entityBinding.getEntity().getOrCreateSingularAttribute( idName );

    SimpleAttributeBinding attributeBinding = entityBinding.makeSimpleIdAttributeBinding( idName );
    attributeBinding.initialize( new AttributeBindingStateImpl( (SimpleAttribute) idAttribute ) );
    attributeBinding.initialize( new ColumnRelationalStateImpl( (SimpleAttribute) idAttribute, meta ) );
    bindSingleIdGeneratedValue( entityBinding, idName );

  }
View Full Code Here

TOP

Related Classes of org.hibernate.metamodel.source.annotations.entity.state.relational.ColumnRelationalStateImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.