Package railo.runtime.db

Examples of railo.runtime.db.ProcMetaCollection


        //if(procedureColumnCache==null)procedureColumnCache=new ReferenceMap();
        //ProcMetaCollection coll=procedureColumnCache.get(procedure);
        DataSourceSupport d = ((DataSourceSupport)dc.getDatasource());
        long cacheTimeout = d.getMetaCacheTimeout();
        Map<String, ProcMetaCollection> procedureColumnCache = d.getProcedureColumnCache();
        ProcMetaCollection coll=procedureColumnCache.get(procedure);
       
        if(coll==null || (cacheTimeout>=0 && (coll.created+cacheTimeout)<System.currentTimeMillis())) {
          ResultSet res = md.getProcedureColumns(pack, scheme, name, null);
          coll=createProcMetaCollection(res);
          procedureColumnCache.put(procedure,coll);
View Full Code Here


    */
    ArrayList<ProcMeta> list=new ArrayList<ProcMeta>();
    while(res.next()) {
      list.add(new ProcMeta(res.getInt(COLUMN_TYPE),getDataType(res)));
    }
    return new ProcMetaCollection(list.toArray(new ProcMeta[list.size()]));
  }
View Full Code Here

TOP

Related Classes of railo.runtime.db.ProcMetaCollection

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.