oid = new OID( engine, molder, identity );
if ( objectToBeLoaded != null
&& !molder.getJavaClass( _db.getClassLoader() ).isAssignableFrom( objectToBeLoaded.getClass() ) )
throw new PersistenceException( Messages.format("persist.typeMismatch", molder.getName(), objectToBeLoaded.getClass() ) );
AccessMode accessMode = molder.getAccessMode( suggestedAccessMode );
if ( accessMode == AccessMode.ReadOnly )
entry = getReadOnlyObjectEntry( oid );
if ( entry == null )
entry = getObjectEntry( engine, oid );
if ( entry != null ) {