|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsv.com.sipop.dbfacade.ConnectionMgr
public class ConnectionMgr
Clase que maneja las conexiones a la base de datos
| Method Summary | |
|---|---|
void |
close()
|
java.sql.Connection |
connect()
Global access method to return a Connection object reference |
void |
DoCommit()
Ejecuta commit de los cambios |
void |
DoRollback()
Ejecuta el RollBack de los cambios |
static ConnectionMgr |
getInstance()
Crea un objeto de la conexion |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public java.sql.Connection connect()
throws java.lang.Exception
java.lang.Exceptionpublic static ConnectionMgr getInstance()
public void DoCommit()
throws java.sql.SQLException
java.sql.SQLException
public void DoRollback()
throws java.sql.SQLException
java.sql.SQLException
public void close()
throws java.sql.SQLException
java.sql.SQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||