Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.servingxml.components.sql
Class DbConnection

    java.lang.Object
      com.servingxml.components.sql.DbConnection

    public class DbConnection

extends java.lang.Object

The `DbConnection` class encapsulates a database connection.

Constructor Summary
`DbConnection(java.sql.Connection connection, java.sql.PreparedStatement testStatement)`

Method Summary
`boolean` | `getAutoCommit()`
`java.sql.Connection` | `getConnection()`
`void` | `setAutoCommit(boolean autoCommit)`
`boolean` | `testConnection()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DbConnection

    public DbConnection(java.sql.Connection connection,
                        java.sql.PreparedStatement testStatement)

Method Detail

### getConnection

    public java.sql.Connection getConnection()

### getAutoCommit

    public boolean getAutoCommit()

### setAutoCommit

    public void setAutoCommit(boolean autoCommit)

### testConnection

    public boolean testConnection()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD