Home
last modified time | relevance | path

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

/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/ojluni/src/main/java/javax/sql/
DDataSource.java83 Connection getConnection() throws SQLException; in getConnection() method
96 Connection getConnection(String username, String password) in getConnection() method
DRowSetInternal.java60 Connection getConnection() throws SQLException; in getConnection() method
DPooledConnection.java109 Connection getConnection() throws SQLException; in getConnection() method
/libcore/ojluni/src/main/java/java/sql/
DDriverManager.java188 public static Connection getConnection(String url, in getConnection() method in DriverManager
190 return (getConnection(url, info, Reflection.getCallerClass())); in getConnection()
207 public static Connection getConnection(String url, in getConnection() method in DriverManager
218 return (getConnection(url, info, Reflection.getCallerClass())); in getConnection()
232 public static Connection getConnection(String url) in getConnection() method in DriverManager
236 return (getConnection(url, info, Reflection.getCallerClass())); in getConnection()
548 private static Connection getConnection( in getConnection() method in DriverManager
DStatement.java593 Connection getConnection() throws SQLException; in getConnection() method
DDatabaseMetaData.java2830 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/ojluni/src/main/java/sun/net/www/protocol/jar/
DJarFileFactory.java59 URLConnection getConnection(JarFile jarFile) throws IOException { in getConnection() method in JarFileFactory
154 URLConnection uc = getConnection(jarFile); in getPermission()
DJarURLConnection.java132 jarFileURLConnection = factory.getConnection(jarFile); in connect()
/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()