15 mai 2023, 14:33:23 seb leridon

Mise en place de transactions

exemple :

TransactionManager.beginTransaction( null );
try
{
    doSomething( ) ;
    TransactionManager.commitTransaction( null );
}
catch( Exception e )
{
    TransactionManager.rollBack( null );
    throw new AppException( e.getMessage( ), e );
}