|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjfb.tools.activitymgr.core.DbTransaction
public class DbTransaction
Contexte de transaction.
| Constructor Summary | |
|---|---|
protected |
DbTransaction(java.sql.Connection con)
Constructeur par défaut. |
| Method Summary | |
|---|---|
java.sql.Connection |
getConnection()
|
protected java.sql.PreparedStatement |
prepareStatement(java.lang.String sql)
Prépare une requête SQL. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected DbTransaction(java.sql.Connection con)
con - connexion à la base de données.| Method Detail |
|---|
public java.sql.Connection getConnection()
protected java.sql.PreparedStatement prepareStatement(java.lang.String sql)
throws java.sql.SQLException
sql - requête SQL.
java.sql.SQLException - en cas d'erreur lié à la BDD.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||