{ // Get the record key
DBColumn[] keyColumns = rowset.getKeyColumns();
if (keyColumns == null || keyColumns.length < 1)
throw new NoPrimaryKeyException(rowset);
if (keyValues == null || keyValues.length != keyColumns.length)
throw new InvalidKeyException(rowset, keyValues);
// Get Persistent record
if (persistence==SessionPersistence.Data)
{ // Get the record from the session
Record rec = getRecordFromSession();
if (rec==null || (rec instanceof DBRecord)==false)