Examples of MSSQL


Examples of railo.commons.io.res.type.datasource.core.MSSQL

       
        dc.getConnection().setAutoCommit(false);
        dc.getConnection().setTransactionIsolation(Connection.TRANSACTION_READ_UNCOMMITTED);
       
        if("com.microsoft.jdbc.sqlserver.SQLServerDriver".equals(dc.getDatasource().getClazz().getName()))
          core=new MSSQL(dc,data.getPrefix());
        else if("com.microsoft.sqlserver.jdbc.SQLServerDriver".equals(dc.getDatasource().getClazz().getName()))
          core=new MSSQL(dc,data.getPrefix());
        else if("net.sourceforge.jtds.jdbc.Driver".equals(dc.getDatasource().getClazz().getName()))
          core=new MSSQL(dc,data.getPrefix());
        else if("org.gjt.mm.mysql.Driver".equals(dc.getDatasource().getClazz().getName()))
          core=new MySQL(dc,data.getPrefix());
        else
          throw new ApplicationException("there is no DatasourceResource driver for this database ["+data.getPrefix()+"]");
       
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.