1 22 package org.enhydra.jdbc.informix; 23 24 import org.enhydra.jdbc.standard.StandardPooledConnection; 25 import org.enhydra.jdbc.standard.StandardConnectionPoolDataSource; 26 27 import javax.sql.ConnectionPoolDataSource ; 28 import java.sql.SQLException ; 29 30 31 public class InformixPooledConnection extends StandardPooledConnection { 32 33 public InformixPooledConnection (ConnectionPoolDataSource dataSource, String user, String password) throws SQLException { 34 super((StandardConnectionPoolDataSource)dataSource, user, password); 35 } 36 37 protected void newConnectionHandle() { 38 connectionHandle = new InformixConnectionHandle (this, dataSource.getMasterPrepStmtCache(), dataSource.getPreparedStmtCacheSize()); 39 } 40 41 } 42 | Popular Tags |