15 mai 2023 14:33:23 seb leridon avatar

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 );
            }