Home
last modified time | relevance | path

Searched refs:getConnection (Results 1 – 21 of 21) sorted by relevance

/libcore/luni/src/main/java/javax/sql/
DDataSource.java64 public Connection getConnection() throws SQLException; in getConnection() method
80 public Connection getConnection(String theUsername, String thePassword) in getConnection() method
DPooledConnection.java97 public Connection getConnection() throws SQLException; in getConnection() method
DRowSetInternal.java38 public Connection getConnection() throws SQLException; in getConnection() method
/libcore/luni/src/test/java/tests/support/
DSupport_SQL.java75 public static Connection getConnection() throws SQLException { in getConnection() method in Support_SQL
77 return DriverManager.getConnection(Support_SQL.sqlUrl, in getConnection()
85 public static Connection getConnection(String url, String login, in getConnection() method in Support_SQL
88 return DriverManager.getConnection(url, login, password); in getConnection()
/libcore/luni/src/main/java/java/sql/
DDriverManager.java143 public static Connection getConnection(String url) throws SQLException { in getConnection() method in DriverManager
144 return getConnection(url, new Properties()); in getConnection()
165 public static Connection getConnection(String url, Properties info) throws SQLException { in getConnection() method in DriverManager
204 public static Connection getConnection(String url, String user, String password) in getConnection() method in DriverManager
213 return getConnection(url, theProperties); in getConnection()
DStatement.java359 public Connection getConnection() throws SQLException; in getConnection() method
DDatabaseMetaData.java748 public Connection getConnection() throws SQLException; in getConnection() method
/libcore/luni/src/test/java/tests/java/sql/
DStressTest.java45 conn = Support_SQL.getConnection(); in setUp()
138 Connection c = Support_SQL.getConnection(); in testManyConnectionsUsingManyThreads()
247 Connection c = Support_SQL.getConnection(); in openConnections()
276 Connection c = Support_SQL.getConnection(); in createTask()
294 Connection c = Support_SQL.getConnection();
DDeleteFunctionalityTest.java44 conn = Support_SQL.getConnection(); in setUp()
DInsertFunctionalityTest.java42 conn = Support_SQL.getConnection(); in setUp()
DUpdateFunctionalityTest2.java46 conn = Support_SQL.getConnection(); in setUp()
DDatabaseMetaDataNotSupportedTest.java60 conn = Support_SQL.getConnection(); in setUp()
71 conn = Support_SQL.getConnection(); in tearDown()
142 Connection userConn = Support_SQL.getConnection(Support_SQL.sqlUrl, in test_allTablesAreSelectable()
DUpdateFunctionalityTest.java46 conn = Support_SQL.getConnection(); in setUp()
DDatabaseMetaDataTest.java65 conn = Support_SQL.getConnection(); in setUp()
79 conn = Support_SQL.getConnection(); in tearDown()
424 assertEquals("Incorrect connection value", conn, meta.getConnection()); in test_getConnection()
430 Connection con = meta.getConnection(); in test_getConnection()
DMultiThreadAccessTest.java51 conn = Support_SQL.getConnection(); in setUp()
DSelectFunctionalityTest.java56 conn = Support_SQL.getConnection(); in setUp()
/libcore/luni/src/test/java/libcore/javax/sql/
DOldConnectionEventTest.java54 public Connection getConnection() throws SQLException { in getConnection() method in OldConnectionEventTest.Impl_PooledConnection
/libcore/luni/src/test/java/libcore/java/sql/
DConnectionTest.java34 Connection c = DriverManager.getConnection(getConnectionURL()); in testDriverManager_getConnection()
DOldSQLTest.java48 conn = DriverManager.getConnection("jdbc:sqlite:/" + dbFile.getPath()); in getSQLiteConnection()
DOldStatementTest.java326 assertSame(conn, st.getConnection()); in testGetConnection()
336 st.getConnection(); in testGetConnection()
DOldConnectionTest.java243 Connection con = md.getConnection(); in testGetMetaData()
2178 conn = DriverManager.getConnection("jdbc:sqlite:/" + dbFile.getPath()); in testIsClosed()