Thousands of examples at your fingertips!
All classes, methods fields etc. are linked to the API documentation.
All members are listed by frequency of use or alphabetically (see left pane).
Links to examples and utility functions/classes are shown below
Interface java.sql.Connection
[api documentation] [ main menu] Search

Links to examples (only one line shown below for each example):
[add your own example]

1 Connection conn = getConnection();
2 Connection realConn = conn.getRealConnection();
3 Connection conn = getConnection();
4 conn.rollback();
5 java.sql.Connection con = TestUtil.openDB();
6 m_con = DB.createConnection(false, Connection.TRANSACTION_SERIALIZABLE);
7 Connection con = pc.getConnection();
8 Connection con = null;
9 Connection c1 = DriverManager.getConnection(url);
10 stmt = s_sconn.createStatement ();
11 final Connection con = (Connection) conControl.getMock();
12 case Connection.TRANSACTION_SERIALIZABLE:
13 isoLevel = _connection.getTransactionIsolation();
14 case Connection.TRANSACTION_NONE:
15 Connection conn = DB.getConnectionRW();
16 connection.setAutoCommit(false);
17 return java.sql.Connection.TRANSACTION_READ_COMMITTED;
18 if (dbConnection.isClosed()) {
19 s_connections = createConnections (Connection.TRANSACTION_READ_COMMITTED); // see below
20 conn.setAutoCommit(autocommit);

Links to utility classes and functions:

1 org.apache.ojb.broker.util.WrappedConnection
2 org.quartz.utils.DBConnectionManager
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.