Hi Lee,
we are kind of re-activating the content component in growerp.com, so
please feel free , as Adrian said, to supply patches
we will be very happy to commit them
Regards,
Hans
Growerp: The ERP system which grows with your business
On 02/22/2013 03:12 PM, Adrian Crum wrote:
Hi,
I want to store entities into database using
delegator.create(genericValue). I want to wrap this operation in a
transaction so that if any of the entity insert operation fails, rollback
all previous insert operations. How can I do that in OFBiz?
Thanks in advance
Winster T Jose
Director -
If the operation is within a service, you don't need to worry about
handling transactions - the service engine does that for you.
-Adrian
On 2/22/2013 12:40 PM, Winster Jose wrote:
Hi,
I want to store entities into database using
delegator.create(genericValue). I want to wrap this operation
Thanks Adrian. Currently I am invoking the method from groovy directly. So,
I need to change the way I did, right?
On Fri, Feb 22, 2013 at 7:13 PM, Adrian Crum
adrian.c...@sandglass-software.com wrote:
If the operation is within a service, you don't need to worry about
handling transactions -
How did you invoke Groovy?
-Adrian
On 2/22/2013 1:48 PM, Winster Jose wrote:
Thanks Adrian. Currently I am invoking the method from groovy directly. So,
I need to change the way I did, right?
On Fri, Feb 22, 2013 at 7:13 PM, Adrian Crum
adrian.c...@sandglass-software.com wrote:
If the
Hello Winster,
You need to call the service as :
dispatcher.runSync(MyService, map);
This way a new transaction is automatically created if there is no current
transaction in place. If there was a transaction (in case of service
chain, one service calling to another service) a new transaction
Solved (I couldn't let it go). For anyone else looking to do something
similar, the following will create a view-entity with two columns (person
and group) and populated with all EMPLOYMENT relationships (you can adjust
the condition at the end to grab other relationships). Main reason I've
needed
Yep, thanks.
James
On Fri, Feb 22, 2013 at 3:27 PM, Adrian Crum
adrian.c...@sandglass-software.com wrote:
It's good to know you got it sorted. I would recommend leaving the
condition out of the view - so you can reuse it for other party
relationships.
-Adrian
On 2/22/2013 10:49 PM,