Modifies the index-th value in the attribute associated with the SEQUENCE constraint on the CUBRIDOID instance as the value specified in value.
void putIntoSequence(String attrName, int index, Object value)
//create class foo(c list of int )
//insert into foo values({1})
String sql = "select foo from foo" ;
Connection con = DriverManager.getConnection(url,user,passwd);
Statement stmt = con.createStatement();
CUBRIDResultSet rs = (CUBRIDResultSet) stmt.executeQuery(sql);
while (rs.next ()) {
CUBRIDOID oid = rs.getOID(1); // get OID
oid.putIntoSequence("c",1, new Integer(10)); // c:{1}->{10}
}