org.nakedobjects.persistence.sql
Class SimpleConnection

java.lang.Object
  extended byorg.nakedobjects.persistence.sql.SimpleConnection
All Implemented Interfaces:
DatabaseConnection

public class SimpleConnection
extends java.lang.Object
implements DatabaseConnection


Constructor Summary
SimpleConnection()
           
 
Method Summary
 void commit()
           
 java.sql.Connection getConnection()
           
 void rollback()
           
 void startTransaction()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleConnection

public SimpleConnection()
Method Detail

getConnection

public java.sql.Connection getConnection()
Specified by:
getConnection in interface DatabaseConnection

commit

public void commit()
Specified by:
commit in interface DatabaseConnection

rollback

public void rollback()
Specified by:
rollback in interface DatabaseConnection

startTransaction

public void startTransaction()
Specified by:
startTransaction in interface DatabaseConnection