Package railo.runtime.db

Examples of railo.runtime.db.DataSource.validate()


                sct.setEL("connectionTimeout",d.getConnectionTimeout()<1?"":Caster.toString(d.getConnectionTimeout()));
                sct.setEL("metaCacheTimeout",Caster.toDouble(d.getMetaCacheTimeout()));
                sct.setEL("custom",d.getCustoms());
                sct.setEL("blob",Boolean.valueOf(d.isBlob()));
                sct.setEL("clob",Boolean.valueOf(d.isClob()));
                sct.setEL("validate",Boolean.valueOf(d.validate()));
                sct.setEL("storage",Boolean.valueOf(d.isStorage()));

              if (d instanceof DataSourceImpl) {

                sct.setEL("dbdriver", Caster.toString( ((DataSourceImpl)d).getDbDriver(), "" ));
View Full Code Here


            qry.setAt("connectionLimit",row,d.getConnectionLimit()<1?"":Caster.toString(d.getConnectionLimit()));
            qry.setAt("connectionTimeout",row,d.getConnectionTimeout()<1?"":Caster.toString(d.getConnectionTimeout()));
            qry.setAt("customSettings",row,d.getCustoms());
            qry.setAt("blob",row,Boolean.valueOf(d.isBlob()));
            qry.setAt("clob",row,Boolean.valueOf(d.isClob()));
            qry.setAt("validate",row,Boolean.valueOf(d.validate()));
            qry.setAt("storage",row,Boolean.valueOf(d.isStorage()));
           
        }
        pageContext.setVariable(getString("admin",action,"returnVariable"),qry);
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.