Package org.hibernate.loader.plan.spi

Examples of org.hibernate.loader.plan.spi.AbstractFetchOwnerDelegate


    public EncapsulatedIdentifierAttributeCollector(
        final SessionFactoryImplementor sessionFactory,
        final EntityReference entityReference) {
      super( sessionFactory, entityReference );
      this.propertyPath = ( (FetchOwner) entityReference ).getPropertyPath();
      this.delegate = new AbstractFetchOwnerDelegate() {
        final boolean isCompositeType = entityReference.getEntityPersister().getIdentifierType().isComponentType();

        @Override
        protected FetchMetadata buildFetchMetadata(Fetch fetch) {
          if ( !isCompositeType ) {
View Full Code Here


    public NonEncapsulatedIdentifierAttributeCollector(
        final SessionFactoryImplementor sessionfactory,
        final EntityReference entityReference) {
      super( sessionfactory, entityReference );
      this.propertyPath = ( (FetchOwner) entityReference ).getPropertyPath().append( "<id>" );
      this.fetchOwnerDelegate = new AbstractFetchOwnerDelegate() {
        final boolean isCompositeType = entityReference.getEntityPersister().getIdentifierType().isComponentType();
        final CompositeType idType = (CompositeType) entityReference.getEntityPersister().getIdentifierType();


        @Override
View Full Code Here

TOP

Related Classes of org.hibernate.loader.plan.spi.AbstractFetchOwnerDelegate

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.