Package com.knowgate.dataobjs

Examples of com.knowgate.dataobjs.DBKeySet


  public DBKeySet keySet() throws SQLException {
    if (DebugFile.trace) {
      DebugFile.writeln("Begin DBFolder.keySet()");
      DebugFile.incIdent();
    }
    DBKeySet oKeySet = new DBKeySet(DB.k_mime_msgs,
                                    DB.id_message,
                                    DB.id_message+" IS NOT NULL AND "+DB.gu_category+"=? AND "+DB.bo_deleted+"<>1 AND "+DB.gu_parent_msg+" IS NULL",0);
    JDCConnection oCnn = null;
    try {
      oCnn = getConnection();
    } catch (MessagingException msge) {
      throw new SQLException(msge.getMessage(), msge);
    }
   
    oKeySet.load(oCnn,new Object[]{oCatg.getString(DB.gu_category)});
    if (DebugFile.trace) {
      DebugFile.decIdent();
      DebugFile.writeln("End DBFolder.keySet() : " + String.valueOf(oKeySet.size()));
    }
    return oKeySet;
  } // keySet
View Full Code Here

TOP

Related Classes of com.knowgate.dataobjs.DBKeySet

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.