}
if (autoAssignColNames != null)
populateAutoAssignCols(stmnt, autoAssign, autoAssignColNames,
row);
else {
StateManagerImpl sm = (StateManagerImpl)row.getPrimaryKey();
if (sm != null) {
ClassMapping meta = (ClassMapping)sm.getMetaData();
if (hasGeneratedKey(meta)) {
sm.setObjectId(ApplicationIds.create(
sm.getPersistenceCapable(), meta));
}
}
}
} catch (SQLException se) {
throw SQLExceptions.getStore(se, row.getFailedObject(), _dict);