1 5 package com.lutris.appserver.server.sql; 6 7 import com.lutris.appserver.server.sql.standard.SimpleDBConnection; 8 9 12 public class SimpleDBConnectionFactory implements AbstractDBConnectionFactory{ 13 14 17 public DBConnection createConnection(ConnectionAllocator connectionAllocatorObj, 18 String url, String user, String password, int maxPreparedStatements, boolean logging, int generation) 19 throws java.sql.SQLException { 20 DBConnection dbConnection = new SimpleDBConnection(connectionAllocatorObj, 21 url,user,password,maxPreparedStatements,logging,generation); 22 return dbConnection; 23 } 24 } 25 | Popular Tags |