do a search in code for
TransactionUtil.begin
you will see many exammples.
also a fast way to get info is
google search preface by ofbiz
so
ofbiz transaction
Justin Robinson sent the following on 11/2/2011 8:23 AM:
> How the transactions work is a bit of a mystery to me.
> Can anyone give me a bit of background on what "Not committing transaction,
> status is No Transaction (6)" is or rather what conditions result it it.
>
> I have something like this
> TransactionUtil.begin()
> for(:){
>
> try/catch
> some db related code that may throw exceptions
>
> }
> TransactionUtil.commit()
>
> Any clues would be helpful, have often had this problem but have never
> gotten to the bottom of why it happens.
>