protected Object getObjectFromResultSet ( ) throws PersistenceBrokerException { try { // if all primitive attributes of the object are contained in the ResultSet // the fast direct mapping can be used return super . getObjectFromResultSet ( ) ; } // if the full loading failed we assume that at least PK attributes are contained // in the ResultSet and perform a slower Identity based loading... // This may of course also fail and can throw another PersistenceBrokerException catch ( PersistenceBrokerException e ) { Identity oid = getIdentityFromResultSet ( ) ; return getBroker ( ) . getObjectByIdentity ( oid ) ; } }
returns a proxy or a fully materialized Object from the current row of the underlying resultset .