boolean lazyPropertiesAreUnfetched) { EntityEntry e = new EntityEntry( status, loadedState,
final EntityPersister persister, final boolean disableVersionIncrement) { EntityEntry e = new EntityEntry( status, loadedState,
/** * Custom deserialization routine used during deserialization of a * Session/PersistenceContext for increased performance. * * @param ois The stream from which to read the entry. * @param session The session being deserialized. * @return The deserialized EntityEntry * @throws IOException * @throws ClassNotFoundException */ static EntityEntry deserialize( ObjectInputStream ois, SessionImplementor session) throws IOException, ClassNotFoundException { return new EntityEntry( session.getFactory(), ( String ) ois.readObject(), ( Serializable ) ois.readObject(), EntityMode.parse( ( String ) ois.readObject() ), Status.parse( ( String ) ois.readObject() ), ( Object[] ) ois.readObject(), ( Object[] ) ois.readObject(), ( Object ) ois.readObject(), LockMode.parse( ( String ) ois.readObject() ), ois.readBoolean(), ois.readBoolean(), ois.readBoolean() ); } }