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

12

/libcore/luni/src/main/java/javax/sql/
H A DDataSource.java20 import java.sql.Connection;
25 * An interface for the creation of {@code Connection} objects which represent a
37 * <li><i>Standard {@code DataSource}</i>: produces standard {@code Connection}
39 * <li><i>Connection Pool {@code DataSource}</i>: produces {@code
59 * @return a {@code Connection} object which is a connection to the
64 public Connection getConnection() throws SQLException;
75 * @return the {@code Connection} object which is the connection to the
80 public Connection getConnection(String theUsername, String thePassword)
H A DPooledConnection.java20 import java.sql.Connection;
47 * application calls the {@link Connection#close} method. The connection pool
93 * @return a {@code Connection} object.
97 public Connection getConnection() throws SQLException;
H A DRowSetInternal.java20 import java.sql.Connection;
38 public Connection getConnection() throws SQLException;
/libcore/luni/src/main/java/java/sql/
H A DDriver.java70 public Connection connect(String url, Properties info) throws SQLException;
H A DDriverManager.java107 * driver in the future when asked to get a {@code Connection}.
133 * @return a {@code Connection} to the database identified by the URL.
139 public static Connection getConnection(String url) throws SQLException {
155 * @return a {@code Connection} to the database identified by the URL.
161 public static Connection getConnection(String url, Properties info) throws SQLException {
175 Connection theConnection = theDriver.connect(url, info);
194 * @return a {@code Connection} to the database identified by the URL.
200 public static Connection getConnection(String url, String user, String password)
H A DStatement.java32 * Connection#createStatement}.
35 * @see Connection#createStatement
352 * Gets the {@code Connection} object which created this statement.
354 * @return the {@code Connection} through which this statement is
359 public Connection getConnection() throws SQLException;
550 * Cursor names must be unique within one Connection.
H A DConnection.java43 public interface Connection extends Wrapper, AutoCloseable { interface in inherits:Wrapper,AutoCloseable
214 * Gets this {@code Connection} object's current catalog name.
264 * Returns the type mapping associated with this {@code Connection} object.
643 * Putting a Connection into auto-commit mode means that all associated SQL
682 * Sets the holdability of the {@code ResultSet}s created by this Connection.
703 * {@code true} to set the Connection to read only mode. {@code
731 * Sets the transaction isolation level for this Connection.
/libcore/luni/src/test/java/libcore/sqlite/
H A DOldJDBCDriverFunctionalTest.java21 import java.sql.Connection;
62 return Connection.TRANSACTION_SERIALIZABLE;
H A DOldSQLiteTest.java21 import java.sql.Connection;
28 public static Connection conn;
H A DOldJDBCDriverTest.java20 import java.sql.Connection;
64 Connection c = jDriver.connect(getConnectionURL(), null);
H A DAbstractSqlTest.java20 import java.sql.Connection;
37 private Connection firstConnection;
42 private Connection secondConnection;
H A DQueryTimeoutTest.java24 import java.sql.Connection;
43 private Connection connection;
/libcore/luni/src/test/java/tests/support/
H A DDatabaseCreator.java19 import java.sql.Connection;
256 public static void fillParentTable(Connection conn) throws SQLException {
265 public static void fillFKStrictTable(Connection conn) throws SQLException {
275 public static void fillFKCascadeTable(Connection conn) throws SQLException {
285 public static void fillSimpleTable1(Connection conn) throws SQLException {
292 public static void fillSimpleTable3(Connection conn) throws SQLException {
299 public static void fillSalesPeopleTable(Connection conn)
311 public static void fillCustomersTable(Connection conn) throws SQLException {
323 public static void fillOrdersTable(Connection conn) throws SQLException {
338 public static void fillTestTable1(Connection con
[all...]
H A DSupport_SQL.java22 import java.sql.Connection;
75 public static Connection getConnection() throws SQLException {
85 public static Connection getConnection(String url, String login,
/libcore/luni/src/test/java/tests/java/sql/
H A DStressTest.java19 import java.sql.Connection;
36 Vector<Connection> vc = new Vector<Connection>();
38 private static Connection conn;
138 Connection c = Support_SQL.getConnection();
168 + "tasks for Connection " + i);
169 Connection c = vc.elementAt(i);
202 Logger.global.info(" creating "+tasksPerConnection+ " tasks for Connection "+i);
247 Connection c = Support_SQL.getConnection();
276 Connection
[all...]
H A DDeleteFunctionalityTest.java20 import java.sql.Connection;
37 private static Connection conn = null;
H A DInsertFunctionalityTest.java18 import java.sql.Connection;
35 private static Connection conn = null;
H A DUpdateFunctionalityTest.java20 import java.sql.Connection;
38 private static Connection conn;
H A DUpdateFunctionalityTest2.java21 import java.sql.Connection;
38 private static Connection conn = null;
H A DMultiThreadAccessTest.java20 import java.sql.Connection;
37 private static Connection conn;
H A DDatabaseMetaDataTest.java28 import java.sql.Connection;
51 protected static Connection conn;
430 Connection con = meta.getConnection();
603 case Connection.TRANSACTION_NONE:
604 case Connection.TRANSACTION_READ_COMMITTED:
605 case Connection.TRANSACTION_READ_UNCOMMITTED:
606 case Connection.TRANSACTION_REPEATABLE_READ:
607 case Connection.TRANSACTION_SERIALIZABLE:
1754 .supportsTransactionIsolationLevel(Connection.TRANSACTION_NONE));
1755 // TODO only Connection
[all...]
H A DSelectFunctionalityTest.java23 import java.sql.Connection;
44 private static Connection conn;
/libcore/luni/src/test/java/libcore/java/sql/
H A DOldSQLTest.java20 import java.sql.Connection;
28 static Connection conn;
49 assertNotNull("Connection created ", conn);
H A DOldConnectionTest.java20 import java.sql.Connection;
243 Connection con = md.getConnection();
598 // TODO only Connection.TRANSACTION_SERIALIZABLE is supported
600 conn.setTransactionIsolation(Connection.TRANSACTION_READ_UNCOMMITTED);
601 assertEquals(Connection.TRANSACTION_READ_UNCOMMITTED, conn
603 conn.setTransactionIsolation(Connection.TRANSACTION_READ_COMMITTED);
604 assertEquals(Connection.TRANSACTION_READ_COMMITTED, conn
606 conn.setTransactionIsolation(Connection.TRANSACTION_REPEATABLE_READ);
607 assertEquals(Connection.TRANSACTION_REPEATABLE_READ, conn
609 conn.setTransactionIsolation(Connection
[all...]
/libcore/luni/src/test/java/libcore/javax/sql/
H A DOldConnectionEventTest.java20 import java.sql.Connection;
54 public Connection getConnection() throws SQLException {

Completed in 192 milliseconds

12