/libcore/luni/src/main/java/javax/sql/ |
D | DataSource.java | 20 import java.sql.Connection; 64 public Connection getConnection() throws SQLException; in getConnection() 80 public Connection getConnection(String theUsername, String thePassword) in getConnection()
|
D | PooledConnection.java | 20 import java.sql.Connection; 97 public Connection getConnection() throws SQLException; in getConnection()
|
D | RowSetInternal.java | 20 import java.sql.Connection; 38 public Connection getConnection() throws SQLException; in getConnection()
|
/libcore/luni/src/test/java/tests/support/ |
D | DatabaseCreator.java | 19 import java.sql.Connection; 256 public static void fillParentTable(Connection conn) throws SQLException { in fillParentTable() 265 public static void fillFKStrictTable(Connection conn) throws SQLException { in fillFKStrictTable() 275 public static void fillFKCascadeTable(Connection conn) throws SQLException { in fillFKCascadeTable() 285 public static void fillSimpleTable1(Connection conn) throws SQLException { in fillSimpleTable1() 292 public static void fillSimpleTable3(Connection conn) throws SQLException { in fillSimpleTable3() 299 public static void fillSalesPeopleTable(Connection conn) in fillSalesPeopleTable() 311 public static void fillCustomersTable(Connection conn) throws SQLException { in fillCustomersTable() 323 public static void fillOrdersTable(Connection conn) throws SQLException { in fillOrdersTable() 338 public static void fillTestTable1(Connection conn, int numberOfRecords) in fillTestTable1() [all …]
|
D | Support_SQL.java | 22 import java.sql.Connection; 75 public static Connection getConnection() throws SQLException { in getConnection() 85 public static Connection getConnection(String url, String login, in getConnection()
|
/libcore/luni/src/test/java/tests/java/sql/ |
D | StressTest.java | 19 import java.sql.Connection; 36 Vector<Connection> vc = new Vector<Connection>(); 38 private static Connection conn; 138 Connection c = Support_SQL.getConnection(); in testManyConnectionsUsingManyThreads() 169 Connection c = vc.elementAt(i); in testInsertOfManyRowsUsingOneThread() 247 Connection c = Support_SQL.getConnection(); in openConnections() 276 Connection c = Support_SQL.getConnection(); in createTask() 294 Connection c = Support_SQL.getConnection(); 314 private void insertNewRecord(Connection c, int pk) {
|
D | DeleteFunctionalityTest.java | 20 import java.sql.Connection; 37 private static Connection conn = null;
|
D | InsertFunctionalityTest.java | 18 import java.sql.Connection; 35 private static Connection conn = null;
|
D | UpdateFunctionalityTest2.java | 21 import java.sql.Connection; 38 private static Connection conn = null;
|
D | DatabaseMetaDataTest.java | 28 import java.sql.Connection; 51 protected static Connection conn; 430 Connection con = meta.getConnection(); in test_getConnection() 603 case Connection.TRANSACTION_NONE: in test_getDefaultTransactionIsolation() 604 case Connection.TRANSACTION_READ_COMMITTED: in test_getDefaultTransactionIsolation() 605 case Connection.TRANSACTION_READ_UNCOMMITTED: in test_getDefaultTransactionIsolation() 606 case Connection.TRANSACTION_REPEATABLE_READ: in test_getDefaultTransactionIsolation() 607 case Connection.TRANSACTION_SERIALIZABLE: in test_getDefaultTransactionIsolation() 1754 .supportsTransactionIsolationLevel(Connection.TRANSACTION_NONE)); in test_supportsTransactionIsolationLevelI() 1771 .supportsTransactionIsolationLevel(Connection.TRANSACTION_SERIALIZABLE)); in test_supportsTransactionIsolationLevelI()
|
D | UpdateFunctionalityTest.java | 20 import java.sql.Connection; 38 private static Connection conn;
|
D | MultiThreadAccessTest.java | 20 import java.sql.Connection; 37 private static Connection conn;
|
D | SelectFunctionalityTest.java | 23 import java.sql.Connection; 44 private static Connection conn;
|
D | DatabaseMetaDataNotSupportedTest.java | 29 import java.sql.Connection; 46 protected static Connection conn; 142 Connection userConn = Support_SQL.getConnection(Support_SQL.sqlUrl, in test_allTablesAreSelectable()
|
/libcore/luni/src/test/java/libcore/java/sql/ |
D | ConnectionTest.java | 7 import java.sql.Connection; 34 Connection c = DriverManager.getConnection(getConnectionURL()); in testDriverManager_getConnection() 43 Connection c = driver.connect(getConnectionURL(), null); in testConnect()
|
D | OldSQLTest.java | 20 import java.sql.Connection; 28 static Connection conn;
|
D | OldConnectionTest.java | 20 import java.sql.Connection; 243 Connection con = md.getConnection(); in testGetMetaData() 600 conn.setTransactionIsolation(Connection.TRANSACTION_READ_UNCOMMITTED); in testGetTransactionIsolation() 601 assertEquals(Connection.TRANSACTION_READ_UNCOMMITTED, conn in testGetTransactionIsolation() 603 conn.setTransactionIsolation(Connection.TRANSACTION_READ_COMMITTED); in testGetTransactionIsolation() 604 assertEquals(Connection.TRANSACTION_READ_COMMITTED, conn in testGetTransactionIsolation() 606 conn.setTransactionIsolation(Connection.TRANSACTION_REPEATABLE_READ); in testGetTransactionIsolation() 607 assertEquals(Connection.TRANSACTION_REPEATABLE_READ, conn in testGetTransactionIsolation() 609 conn.setTransactionIsolation(Connection.TRANSACTION_SERIALIZABLE); in testGetTransactionIsolation() 610 assertEquals(Connection.TRANSACTION_SERIALIZABLE, conn in testGetTransactionIsolation() [all …]
|
/libcore/luni/src/main/java/java/sql/ |
D | DriverManager.java | 143 public static Connection getConnection(String url) throws SQLException { in getConnection() 165 public static Connection getConnection(String url, Properties info) throws SQLException { in getConnection() 179 Connection theConnection = theDriver.connect(url, info); in getConnection() 204 public static Connection getConnection(String url, String user, String password) in getConnection()
|
D | Driver.java | 66 public Connection connect(String url, Properties info) throws SQLException; in connect()
|
D | Statement.java | 359 public Connection getConnection() throws SQLException; in getConnection()
|
D | Connection.java | 43 public interface Connection extends Wrapper, AutoCloseable { interface
|
D | DatabaseMetaData.java | 748 public Connection getConnection() throws SQLException; in getConnection()
|
/libcore/luni/src/test/java/libcore/javax/sql/ |
D | OldConnectionEventTest.java | 20 import java.sql.Connection; 54 public Connection getConnection() throws SQLException { in getConnection()
|