protected < T , C > T processExecuteGroup ( String name , C criteria , T result ) throws CpoException { Connection c = null ; T obj = null ; try { c = getWriteConnection ( ) ; obj = processExecuteGroup ( name , criteria , result , c ) ; commitLocalConnection ( c ) ; } catch ( Exception e ) { // Any exception has to try to rollback the work; rollbackLocalConnection ( c ) ; ExceptionHelper . reThrowCpoException ( e , "processExecuteGroup(String name, Object criteria, Object result) failed" ) ; } finally { closeLocalConnection ( c ) ; } return obj ; }
Executes an Object whose MetaData contains a stored procedure . An assumption is that the object exists in the datasource .