public static int removeObject(JDCConnection oConn, String sIdObject, int iClassId) throws SQLException {
int iRetVal;
PreparedStatement oStmt = oConn.prepareStatement("DELETE FROM " + DB.k_x_cat_objs + " WHERE " + DB.gu_object + "=? AND " + DB.id_class + "=?");
oStmt.setString(1, sIdObject);
oStmt.setInt(2, iClassId);
iRetVal = oStmt.executeUpdate();
oStmt.close();
return iRetVal;
} // removeObject
//----------------------------------------------------------------------------