org.skife.jdbi.v2.sqlobject.mixins
Interface Transactional<SelfType extends Transactional<SelfType>>
- Type Parameters:
SelfType
- must match the interface that is extending this one.
public interface Transactional<SelfType extends Transactional<SelfType>>
A mixin interface to expose transaction methods on the sql object.
begin
void begin()
checkpoint
void checkpoint(String name)
commit
void commit()
inTransaction
<ReturnType> ReturnType inTransaction(Transaction<ReturnType,SelfType> func)
inTransaction
<ReturnType> ReturnType inTransaction(TransactionIsolationLevel isolation,
Transaction<ReturnType,SelfType> func)
release
void release(String name)
rollback
void rollback()
rollback
void rollback(String name)
Copyright © 2013. All Rights Reserved.