Inserts the value specified in value into the attribute named attrName and associated with SEQUENCE constraints on the CUBRIDOID instance, specifically in front of the index-th element in the SEQUENCE attribute.
void addToSequence(String attrName, int index, Object value)
//create class foo(c list of int )
//insert into foo values({3})
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.addToSequence("c",1, new Integer(22)); // c: {3}-> {22,3}
}