Home
last modified time | relevance | path

Searched refs:Connection (Results 1 – 23 of 23) sorted by relevance

/libcore/luni/src/main/java/javax/sql/
DDataSource.java20 import java.sql.Connection;
64 public Connection getConnection() throws SQLException; in getConnection()
80 public Connection getConnection(String theUsername, String thePassword) in getConnection()
DPooledConnection.java20 import java.sql.Connection;
97 public Connection getConnection() throws SQLException; in getConnection()
DRowSetInternal.java20 import java.sql.Connection;
38 public Connection getConnection() throws SQLException; in getConnection()
/libcore/luni/src/test/java/tests/support/
DDatabaseCreator.java19 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 …]
DSupport_SQL.java22 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/
DStressTest.java19 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) {
DDeleteFunctionalityTest.java20 import java.sql.Connection;
37 private static Connection conn = null;
DInsertFunctionalityTest.java18 import java.sql.Connection;
35 private static Connection conn = null;
DUpdateFunctionalityTest2.java21 import java.sql.Connection;
38 private static Connection conn = null;
DDatabaseMetaDataTest.java28 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()
DUpdateFunctionalityTest.java20 import java.sql.Connection;
38 private static Connection conn;
DMultiThreadAccessTest.java20 import java.sql.Connection;
37 private static Connection conn;
DSelectFunctionalityTest.java23 import java.sql.Connection;
44 private static Connection conn;
DDatabaseMetaDataNotSupportedTest.java29 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/
DConnectionTest.java7 import java.sql.Connection;
34 Connection c = DriverManager.getConnection(getConnectionURL()); in testDriverManager_getConnection()
43 Connection c = driver.connect(getConnectionURL(), null); in testConnect()
DOldSQLTest.java20 import java.sql.Connection;
28 static Connection conn;
DOldConnectionTest.java20 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/
DDriverManager.java143 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()
DDriver.java66 public Connection connect(String url, Properties info) throws SQLException; in connect()
DStatement.java359 public Connection getConnection() throws SQLException; in getConnection()
DConnection.java43 public interface Connection extends Wrapper, AutoCloseable { interface
DDatabaseMetaData.java748 public Connection getConnection() throws SQLException; in getConnection()
/libcore/luni/src/test/java/libcore/javax/sql/
DOldConnectionEventTest.java20 import java.sql.Connection;
54 public Connection getConnection() throws SQLException { in getConnection()