Package org.qi4j.entitystore.sql.internal.SQLEntityState

Examples of org.qi4j.entitystore.sql.internal.SQLEntityState.DefaultSQLEntityState


    @Override
    public EntityState entityStateOf( EntityStoreUnitOfWork unitOfWork, EntityReference entityRef )
    {
        EntityValueResult valueResult = getValue( entityRef );
        return new DefaultSQLEntityState( readEntityState( (DefaultEntityStoreUnitOfWork) unitOfWork,
                                                           valueResult.getReader() ),
                                          valueResult.getEntityPK(),
                                          valueResult.getEntityOptimisticLock() );
    }
View Full Code Here


    }

    @Override
    public EntityState newEntityState( EntityStoreUnitOfWork unitOfWork, EntityReference entityRef, EntityDescriptor entityDescriptor )
    {
        return new DefaultSQLEntityState( new DefaultEntityState( (DefaultEntityStoreUnitOfWork) unitOfWork,
                                                                  entityRef,
                                                                  entityDescriptor ) );
    }
View Full Code Here

TOP

Related Classes of org.qi4j.entitystore.sql.internal.SQLEntityState.DefaultSQLEntityState

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.