/libcore/luni/src/main/java/javax/sql/ |
H A D | DataSource.java | 20 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 D | PooledConnection.java | 20 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 D | RowSetInternal.java | 20 import java.sql.Connection; 38 public Connection getConnection() throws SQLException;
|
/libcore/luni/src/main/java/java/sql/ |
H A D | Driver.java | 70 public Connection connect(String url, Properties info) throws SQLException;
|
H A D | DriverManager.java | 107 * 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 D | Statement.java | 32 * 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 D | Connection.java | 43 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 D | OldJDBCDriverFunctionalTest.java | 21 import java.sql.Connection; 62 return Connection.TRANSACTION_SERIALIZABLE;
|
H A D | OldSQLiteTest.java | 21 import java.sql.Connection; 28 public static Connection conn;
|
H A D | OldJDBCDriverTest.java | 20 import java.sql.Connection; 64 Connection c = jDriver.connect(getConnectionURL(), null);
|
H A D | AbstractSqlTest.java | 20 import java.sql.Connection; 37 private Connection firstConnection; 42 private Connection secondConnection;
|
H A D | QueryTimeoutTest.java | 24 import java.sql.Connection; 43 private Connection connection;
|
/libcore/luni/src/test/java/tests/support/ |
H A D | DatabaseCreator.java | 19 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 D | Support_SQL.java | 22 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 D | StressTest.java | 19 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 D | DeleteFunctionalityTest.java | 20 import java.sql.Connection; 37 private static Connection conn = null;
|
H A D | InsertFunctionalityTest.java | 18 import java.sql.Connection; 35 private static Connection conn = null;
|
H A D | UpdateFunctionalityTest.java | 20 import java.sql.Connection; 38 private static Connection conn;
|
H A D | UpdateFunctionalityTest2.java | 21 import java.sql.Connection; 38 private static Connection conn = null;
|
H A D | MultiThreadAccessTest.java | 20 import java.sql.Connection; 37 private static Connection conn;
|
H A D | DatabaseMetaDataTest.java | 28 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 D | SelectFunctionalityTest.java | 23 import java.sql.Connection; 44 private static Connection conn;
|
/libcore/luni/src/test/java/libcore/java/sql/ |
H A D | OldSQLTest.java | 20 import java.sql.Connection; 28 static Connection conn; 49 assertNotNull("Connection created ", conn);
|
H A D | OldConnectionTest.java | 20 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 D | OldConnectionEventTest.java | 20 import java.sql.Connection; 54 public Connection getConnection() throws SQLException {
|