Package org.hibernate.loader.plan.spi

Examples of org.hibernate.loader.plan.spi.FetchOwnerDelegate$FetchMetadata


        final SessionFactoryImplementor sessionFactory,
        final EntityReference entityReference) {
      super( sessionFactory, entityReference );
      this.propertyPath = ( (FetchOwner) entityReference ).getPropertyPath();
      final boolean isCompositeType = entityReference.getEntityPersister().getIdentifierType().isComponentType();
      this.delegate = new FetchOwnerDelegate() {
        @Override
        public boolean isNullable(Fetch fetch) {
          if ( !isCompositeType ) {
            throw new IllegalStateException( "Non-composite ID cannot have fetches." );
          }
View Full Code Here

TOP

Related Classes of org.hibernate.loader.plan.spi.FetchOwnerDelegate$FetchMetadata

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.