RE: transaction consistency in ofbiz

2009-04-19 Thread Jack Liu
to implement transaction consistency in OFBiz when processing multiple datasources. Thank you in advance. -Original Message- From: David E Jones [mailto:david.jo...@hotwaxmedia.com] Sent: 2009年4月18日 2:25 To: user@ofbiz.apache.org Subject: Re: transaction consistency in ofbiz It sounds

RE: transaction consistency in ofbiz

2009-04-19 Thread Jack Liu
The problem has bothered me for several days. Who can help me? Thank you. -Original Message- From: Jack Liu [mailto:jack@aicent.com] Sent: 2009年4月19日 19:36 To: user@ofbiz.apache.org Subject: RE: transaction consistency in ofbiz I am still using service engine's transaction. service

Re: transaction consistency in ofbiz

2009-04-19 Thread BJ Freeman
on 4/19/2009 7:50 PM: The problem has bothered me for several days. Who can help me? Thank you. -Original Message- From: Jack Liu [mailto:jack@aicent.com] Sent: 2009年4月19日 19:36 To: user@ofbiz.apache.org Subject: RE: transaction consistency in ofbiz I am still using

RE: transaction consistency in ofbiz

2009-04-19 Thread Jack Liu
: transaction consistency in ofbiz This is a community driven project the people here, are volunteers. so unless someone is interested in your problem, it will be you that comes up with a fix. if you have a bug, then put in a jira. http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Contributors+Best

Re: transaction consistency in ofbiz

2009-04-19 Thread BJ Freeman
- From: BJ Freeman [mailto:bjf...@free-man.net] Sent: 2009年4月20日 11:35 To: user@ofbiz.apache.org Subject: Re: transaction consistency in ofbiz This is a community driven project the people here, are volunteers. so unless someone is interested in your problem, it will be you that comes up

RE: transaction consistency in ofbiz

2009-04-18 Thread Jack Liu
will be rolled back at last. Am I right? -Original Message- From: David E Jones [mailto:david.jo...@hotwaxmedia.com] Sent: 2009年4月18日 2:25 To: user@ofbiz.apache.org Subject: Re: transaction consistency in ofbiz It sounds like you're digging pretty deep, and I'd recommend a peek

transaction consistency in ofbiz

2009-04-17 Thread Jack Liu
Hi, All In OFBiz, there is a class named TransactionUtil which helps with some common transaction tasks I want to know how to use it, so I wrote some code below public static Map processCustomerApprove(DispatchContext dctx, Map context) { Map result = ServiceUtil.returnSuccess();

RE: transaction consistency in ofbiz

2009-04-17 Thread Jack Liu
consistency in ofbiz Are you sure that a transaction rollback is actually invoked? GenericEntity.setFields() calls GenericEntity.set() which has a statement in it that logs an exception but doesn't actually throw one. Regards Scott HotWax Media http://www.hotwaxmedia.com http

Re: transaction consistency in ofbiz

2009-04-17 Thread David E Jones
AM, Jack Liu wrote: I want to know Why TransactionUtil.begin() return false not true. It doesn't support transaction? -Original Message- From: Jack Liu [mailto:jack@aicent.com] Sent: 2009年4月17日 16:42 To: user@ofbiz.apache.org Subject: RE: transaction consistency in ofbiz Yes,I am sure