Package org.hibernate.ogm.dialect.impl

Examples of org.hibernate.ogm.dialect.impl.AssociationTypeContextImpl


            new String[] { "projectID" }
        )
    );

    AssociationContext associationContext = new AssociationContextImpl(
        new AssociationTypeContextImpl(
            OptionsContextImpl.forProperty(
                OptionValueSources.getDefaultSources( new ConfigurationPropertyReader( sessions.getProperties(), new ClassLoaderServiceImpl() ) ),
                Project.class,
                "modules"
            ),
View Full Code Here


    OptionsServiceContext serviceContext = session.getFactory()
        .getServiceRegistry()
        .getService( OptionsService.class )
        .context();

    AssociationTypeContext associationTypeContext = new AssociationTypeContextImpl(
        serviceContext.getPropertyOptions( persister.getPropertyTypes()[propertyIndex].getReturnedClass(), associationKeyMetadata.getCollectionRole() ),
        associationKeyMetadata.getAssociatedEntityKeyMetadata(),
        persister.getPropertyNames()[propertyIndex]
    );
View Full Code Here

    );
  }

  public static AssociationContext emptyAssociationContext() {
    return new AssociationContextImpl(
        new AssociationTypeContextImpl(
            OptionsContextImpl.forProperty( Collections.<OptionValueSource>emptyList(), Object.class, "" ),
            null,
            null
        ),
        null
View Full Code Here

    OptionsServiceContext serviceContext = getFactory()
        .getServiceRegistry()
        .getService( OptionsService.class )
        .context();

    AssociationTypeContext associationTypeContext = new AssociationTypeContextImpl(
        serviceContext.getPropertyOptions( getOwnerEntityPersister().getMappedClass(), associationKeyMetadata.getCollectionRole() ),
        associationKeyMetadata.getAssociatedEntityKeyMetadata(),
        mainSidePropertyName
    );
View Full Code Here

    OptionsServiceContext serviceContext = session.getFactory()
        .getServiceRegistry()
        .getService( OptionsService.class )
        .context();

    AssociationTypeContext associationTypeContext = new AssociationTypeContextImpl(
        serviceContext.getPropertyOptions( inversePersister.getMappedClass(), associationKeyMetadata.getCollectionRole() ),
        associationKeyMetadata.getAssociatedEntityKeyMetadata(),
        getPropertyNames()[propertyIndex]
    );
View Full Code Here

TOP

Related Classes of org.hibernate.ogm.dialect.impl.AssociationTypeContextImpl

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.