1 22 package org.enhydra.jdbc.sybase; 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 public class SybasePooledConnection extends StandardPooledConnection { 31 32 public SybasePooledConnection (ConnectionPoolDataSource dataSource, String user, String password) throws SQLException { 33 super((StandardConnectionPoolDataSource)dataSource, user, password); 34 } 35 36 protected void newConnectionHandle() { 37 connectionHandle = new SybaseConnectionHandle (this, dataSource.getMasterPrepStmtCache(), dataSource.getPreparedStmtCacheSize()); 38 } 39 40 41 } 42 | Popular Tags |