Searched refs:getConnection (Results 1 - 25 of 29) sorted by relevance

12

/dalvik/libcore/sql/src/main/java/javax/sql/
H A DPooledConnection.java40 * {@link DataSource#getConnection} method. Behind the scenes, the connection
90 * {@code DataSource.getConnection()} and there are no {@code
97 public Connection getConnection() throws SQLException; method in interface:PooledConnection
H A DDataSource.java64 public Connection getConnection() throws SQLException; method in interface:DataSource
80 public Connection getConnection(String theUsername, String thePassword) method in interface:DataSource
H A DRowSetInternal.java38 public Connection getConnection() throws SQLException; method in interface:RowSetInternal
/dalvik/libcore/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/
H A DImpl_PooledConnection.java32 public Connection getConnection() throws SQLException { method in class:Impl_PooledConnection
/dalvik/libcore/sql/src/test/java/tests/SQLite/
H A DAbstractSqlTest.java99 firstConnection = DriverManager.getConnection(getConnectionURL());
101 secondConnection = DriverManager.getConnection(getConnectionURL());
132 firstStmt.getConnection().setAutoCommit(true);
190 firstStmt.getConnection().setAutoCommit(false);
193 firstStmt.getConnection().commit();
216 firstStmt.getConnection().setAutoCommit(false);
219 firstStmt.getConnection().rollback();
H A DSQLiteTest.java48 conn = DriverManager.getConnection("jdbc:sqlite:/"
H A DJDBCDriverTest.java131 DriverManager.getConnection(getConnectionURL());
/dalvik/libcore/sql/src/test/java/tests/support/
H A DSupport_SQL.java73 public static Connection getConnection() throws SQLException { method in class:Support_SQL
74 return DriverManager.getConnection(Support_SQL.sqlUrl,
78 public static Connection getConnection(String url, String login, method in class:Support_SQL
81 return DriverManager.getConnection(url, login, password);
/dalvik/libcore/sql/src/main/java/java/sql/
H A DDriverManager.java153 public static Connection getConnection(String url) throws SQLException { method in class:DriverManager
154 return getConnection(url, new Properties());
175 public static Connection getConnection(String url, Properties info) method in class:DriverManager
217 public static Connection getConnection(String url, String user, method in class:DriverManager
226 return getConnection(url, theProperties);
H A DStatement.java359 public Connection getConnection() throws SQLException; method in interface:Statement
H A DDatabaseMetaData.java681 public Connection getConnection() throws SQLException; method in interface:DatabaseMetaData
/dalvik/libcore/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
H A DDriverManagerTest.java165 * Class under test for Connection getConnection(String)
185 method = "getConnection",
191 theConnection = DriverManager.getConnection(validConnectionURL);
193 assertNotNull(DriverManager.getConnection(invalidConnectionURL1));
198 .getConnection(element);
207 * @tests java.sql.DriverManager#getConnection(String, Properties)
212 method = "getConnection",
217 DriverManager.getConnection("fff", //$NON-NLS-1$
225 DriverManager.getConnection(null,
234 * Class under test for Connection getConnection(Strin
[all...]
/dalvik/libcore/sql/src/test/java/tests/java/sql/
H A DStressTest.java51 conn = Support_SQL.getConnection();
157 Connection c = Support_SQL.getConnection();
278 Connection c = Support_SQL.getConnection();
307 Connection c = Support_SQL.getConnection();
325 Connection c = Support_SQL.getConnection();
H A DDeleteFunctionalityTest.java48 conn = Support_SQL.getConnection();
H A DInsertFunctionalityTest.java49 conn = Support_SQL.getConnection();
H A DUpdateFunctionalityTest.java52 conn = Support_SQL.getConnection();
H A DUpdateFunctionalityTest2.java51 conn = Support_SQL.getConnection();
H A DDatabaseMetaDataNotSupportedTest.java64 conn = Support_SQL.getConnection();
75 conn = Support_SQL.getConnection();
164 Connection userConn = Support_SQL.getConnection(Support_SQL.sqlUrl,
H A DDatabaseMetaDataTest.java70 conn = Support_SQL.getConnection();
84 conn = Support_SQL.getConnection();
145 conn = Support_SQL.getConnection();
450 * @tests java.sql.DatabaseMetaData#getConnection()
455 method = "getConnection",
459 assertEquals("Incorrect connection value", conn, meta.getConnection());
465 Connection con = meta.getConnection();
H A DMultiThreadAccessTest.java57 conn = Support_SQL.getConnection();
H A DQueryTimeoutTest.java707 connections[i] = Support_SQL.getConnection();
H A DSelectFunctionalityTest.java61 conn = Support_SQL.getConnection();
/dalvik/libcore/sql/src/test/java/tests/sql/
H A DSQLTest.java55 conn = DriverManager.getConnection("jdbc:sqlite:/" + dbFile.getPath());
/dalvik/libcore/sql/src/main/java/SQLite/JDBC2y/
H A DJDBCStatement.java156 public Connection getConnection() throws SQLException { method in class:JDBCStatement
/dalvik/libcore/luni/src/test/java/com/google/coretests/
H A DStatsStore.java207 conn = DriverManager.getConnection(connectionURL);

Completed in 212 milliseconds

12