Home
last modified time | relevance | path

Searched refs:getConnection (Results 1 – 24 of 24) 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.java54 conn = Support_SQL.getConnection(); in setUp()
149 Connection c = Support_SQL.getConnection(); in testManyConnectionsUsingManyThreads()
264 Connection c = Support_SQL.getConnection(); in openConnections()
293 Connection c = Support_SQL.getConnection(); in createTask()
311 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()
/libcore/api/
Dcurrent.txt9076 method public java.sql.Connection getConnection() throws java.sql.SQLException;
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;
18491 method public java.sql.Connection getConnection() throws java.sql.SQLException;