1 2 12 package com.versant.core.jdbc; 13 14 import java.sql.Connection ; 15 import java.sql.SQLException ; 16 17 20 public interface JdbcConnectionSource { 21 22 29 public Connection getConnection(boolean highPriority, 30 boolean autoCommit) throws SQLException ; 31 32 35 public void returnConnection(Connection con) throws SQLException ; 36 37 41 public String getURL(); 42 43 48 public String getDriverName(); 49 50 54 public void init(); 55 56 61 public void destroy(); 62 63 67 public void closeIdleConnections(); 68 69 } 70 71 | Popular Tags |