}
public void insert(OpenJPAStateManager sm, JDBCStore store, RowManager rm)
throws SQLException {
Column[] cols = vers.getColumns();
ColumnIO io = vers.getColumnIO();
Object initial = nextVersion(null);
Row row = rm.getRow(vers.getClassMapping().getTable(),
Row.ACTION_INSERT, sm, true);
for (int i = 0; i < cols.length; i++)
if (io.isInsertable(i, initial == null))
row.setObject(cols[i], initial);
// set initial version into state manager
Object nextVersion;
nextVersion = initial;