Package org.hibernate.ogm.model.key.spi

Examples of org.hibernate.ogm.model.key.spi.AssociationKeyMetadata


      log.trace( "Adding inverse navigational information for entity: " + MessageHelper.infoString( persister, id, persister.getFactory() ) );
    }

    for ( int propertyIndex = 0; propertyIndex < persister.getEntityMetamodel().getPropertySpan(); propertyIndex++ ) {
      if ( persister.isPropertyOfTable( propertyIndex, tableIndex ) ) {
        AssociationKeyMetadata associationKeyMetadata = getInverseAssociationKeyMetadata( propertyIndex );

        // there is no inverse association for the given property
        if ( associationKeyMetadata == null ) {
          continue;
        }
View Full Code Here


      log.trace( "Removing inverse navigational information for entity: " + MessageHelper.infoString( persister, id, persister.getFactory() ) );
    }

    for ( int propertyIndex = 0; propertyIndex < persister.getEntityMetamodel().getPropertySpan(); propertyIndex++ ) {
      if ( persister.isPropertyOfTable( propertyIndex, tableIndex ) ) {
        AssociationKeyMetadata associationKeyMetadata = getInverseAssociationKeyMetadata( propertyIndex );

        // there is no inverse association for the given property
        if ( associationKeyMetadata == null ) {
          continue;
        }
View Full Code Here

    RowKeyBuilder rowKeyBuilder = initializeRowKeyBuilder();
    String[] rowKeyColumnNames = rowKeyBuilder.getColumnNames();
    String[] rowKeyIndexColumnNames = rowKeyBuilder.getIndexColumnNames();

    associationKeyMetadata = new AssociationKeyMetadata(
        getTableName(),
        getKeyColumnNames(),
        rowKeyColumnNames,
        rowKeyIndexColumnNames,
        new AssociatedEntityKeyMetadata(
View Full Code Here

TOP

Related Classes of org.hibernate.ogm.model.key.spi.AssociationKeyMetadata

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.