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.


Method Summary
 void begin()
           
 void checkpoint(String name)
           
 void commit()
           
<ReturnType>
ReturnType
inTransaction(Transaction<ReturnType,SelfType> func)
           
<ReturnType>
ReturnType
inTransaction(TransactionIsolationLevel isolation, Transaction<ReturnType,SelfType> func)
           
 void release(String name)
           
 void rollback()
           
 void rollback(String name)
           
 

Method Detail

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.