Home
last modified time | relevance | path

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

/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/ojluni/src/main/java/javax/sql/
DDataSource.java28 import java.sql.Connection;
83 Connection getConnection() throws SQLException; in getConnection()
96 Connection getConnection(String username, String password) in getConnection()
DPooledConnection.java28 import java.sql.Connection;
109 Connection getConnection() throws SQLException; in getConnection()
DRowSetInternal.java60 Connection getConnection() throws SQLException; in getConnection()
/libcore/luni/src/test/java/tests/java/sql/
DStressTest.java23 import java.sql.Connection;
45 Vector<Connection> vc = new Vector<Connection>();
47 private static Connection conn;
149 Connection c = Support_SQL.getConnection(); in testManyConnectionsUsingManyThreads()
181 Connection c = vc.elementAt(i); in testInsertOfManyRowsUsingOneThread()
264 Connection c = Support_SQL.getConnection(); in openConnections()
293 Connection c = Support_SQL.getConnection(); in createTask()
311 Connection c = Support_SQL.getConnection();
331 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;
DDatabaseMetaDataNotSupportedTest.java29 import java.sql.Connection;
46 protected static Connection conn;
142 Connection userConn = Support_SQL.getConnection(Support_SQL.sqlUrl, in test_allTablesAreSelectable()
DSelectFunctionalityTest.java23 import java.sql.Connection;
44 private static Connection conn;
/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/test/java/libcore/javax/sql/
DOldConnectionEventTest.java20 import java.sql.Connection;
54 public Connection getConnection() throws SQLException { in getConnection()
/libcore/ojluni/src/main/java/java/sql/
DDriverManager.java188 public static Connection getConnection(String url, in getConnection()
207 public static Connection getConnection(String url, in getConnection()
232 public static Connection getConnection(String url) in getConnection()
548 private static Connection getConnection( in getConnection()
580 Connection con = aDriver.driver.connect(url, info); in getConnection()
DDriver.java82 Connection connect(String url, java.util.Properties info) in connect()
DStatement.java593 Connection getConnection() throws SQLException; in getConnection()
DConnection.java85 public interface Connection extends Wrapper, AutoCloseable { interface
DDatabaseMetaData.java2830 Connection getConnection() throws SQLException; in getConnection()
/libcore/api/
Dcurrent.txt8995 public interface Connection extends java.sql.Wrapper java.lang.AutoCloseable {
9076 method public java.sql.Connection getConnection() throws java.sql.SQLException;
9304 …method public java.sql.Connection connect(String, java.util.Properties) throws java.sql.SQLExcepti…
9313 …method public static java.sql.Connection getConnection(String, java.util.Properties) throws java.s…
9314 …method public static java.sql.Connection getConnection(String, String, String) throws java.sql.SQL…
9315 method public static java.sql.Connection getConnection(String) throws java.sql.SQLException;
9944 method public java.sql.Connection getConnection() throws java.sql.SQLException;
18355 method public java.sql.Connection getConnection() throws java.sql.SQLException;
18356 method public java.sql.Connection getConnection(String, String) throws java.sql.SQLException;
18363 method public java.sql.Connection getConnection() throws java.sql.SQLException;
[all …]
/libcore/
Dopenjdk_java_files.bp708 "ojluni/src/main/java/java/sql/Connection.java",