com.jpattern.orm.session.datasource
Interface IConnection
- All Known Implementing Classes:
- DataSourceConnection
public interface IConnection
isValid
boolean isValid()
throws OrmException
- Throws:
OrmException
setTransactionIsolation
void setTransactionIsolation(int transactionIsolation)
throws OrmException
- Throws:
OrmException
isClosed
boolean isClosed()
throws OrmException
- Throws:
OrmException
rollback
void rollback()
throws OrmException
- Throws:
OrmException
commit
void commit()
throws OrmException
- Throws:
OrmException
prepareStatement
PreparedStatement prepareStatement(String sql)
throws OrmException
- Throws:
OrmException
prepareStatement
PreparedStatement prepareStatement(String sql,
String[] generatedColumnNames)
throws OrmException
- Throws:
OrmException
createStatement
IStatement createStatement()
throws OrmException
- Throws:
OrmException
addCaller
void addCaller(IConnectionCaller connectionCaller)
throws OrmException
- Throws:
OrmException
close
void close(IConnectionCaller connectionCaller)
throws OrmException
- Throws:
OrmException
setRollbackOnly
void setRollbackOnly()
throws OrmException
- Throws:
OrmException
setReadOnly
void setReadOnly(boolean readOnly)
throws OrmException
- Throws:
OrmException
Copyright © 2013. All Rights Reserved.