*/
private void lockRow(OpenJPAStateManager sm, int timeout) {
// assert that the dictionary supports the "SELECT ... FOR UPDATE"
// construct; if not, and we the assertion does not throw an
// exception, then just return without locking
DBDictionary dict = _store.getDBDictionary();
if (dict.simulateLocking)
return;
dict.assertSupport(dict.supportsSelectForUpdate,
"SupportsSelectForUpdate");
Object id = sm.getObjectId();
ClassMapping mapping = (ClassMapping) sm.getMetaData();
while (mapping.getJoinablePCSuperclassMapping() != null)