1 23 package com.lutris.appserver.server.sql.oracle; 24 25 import java.sql.SQLException ; 26 import com.lutris.appserver.server.sql.DBConnection; 27 import com.lutris.appserver.server.sql.standard.StandardConnectionAllocator; 28 import com.lutris.util.Config; 29 import com.lutris.util.ConfigException; 30 31 40 public class OracleConnectionAllocator extends StandardConnectionAllocator { 41 42 54 protected OracleConnectionAllocator(OracleLogicalDatabase logicalDatabase, 55 Config connectionConfig) 56 throws ConfigException { 57 super(logicalDatabase, connectionConfig); 58 } 59 60 65 protected DBConnection createConnection() 66 throws SQLException { 67 return new OracleDBConnection(this, url, user, password, 68 maxPreparedStatements, sqlLogging, generation); 69 } 70 } 71 | Popular Tags |