Re: Problems updating db entry

2010-01-22 Thread Håkon Sagehaug
Hi I uploaded the log file, file is called openjpa.log, sorry for the bad name, forgto to change it before I uploaded it Håkon 2010/1/22 Rick Curtis > Nope, trace is as fine as it gets. > > 2010/1/22 Håkon Sagehaug > > > Hi > > > > That's part of the problem, I don't get any error or hint fro

Re: Problems updating db entry

2010-01-22 Thread Rick Curtis
Nope, trace is as fine as it gets. 2010/1/22 Håkon Sagehaug > Hi > > That's part of the problem, I don't get any error or hint from that, all I > know is that is does not reach the update statement. I can of course post > the open jpa log I capture with my logging statement. If there a finer > l

Re: Problems updating db entry

2010-01-22 Thread Håkon Sagehaug
Hi That's part of the problem, I don't get any error or hint from that, all I know is that is does not reach the update statement. I can of course post the open jpa log I capture with my logging statement. If there a finer level then trace? Håkon 2010/1/22 Rick Curtis > Will you post the trace

Re: Problems updating db entry

2010-01-22 Thread Rick Curtis
Will you post the trace to http://filebin.ca/ so we can take a look at it? Thanks, Rick 2010/1/22 Håkon Sagehaug > Hi all, > > I still got his problem and can't seem to resolve it so I'll try again to > see if anyone has any tips. set up is like this I've got a web service that > can fetch larg

Re: Problems updating db entry

2010-01-22 Thread Håkon Sagehaug
Hi, I've turned on logging like this File=openjpa.log, DefaultLevel=TRACE, Runtime=TRACE, Tool=TRACE,SQL=TRACE There is no error reported, but the sql trance does not report about any update either, so little confused where I should start looking for the mis

Re: Problems updating db entry

2010-01-21 Thread Håkon Sagehaug
Hi all, I still got his problem and can't seem to resolve it so I'll try again to see if anyone has any tips. set up is like this I've got a web service that can fetch large files from either ftp or http, when a file is fetched with one of these protocols, a new thread is started and downloads the

Re: Problems updating db entry

2010-01-15 Thread Håkon Sagehaug
Hi Will adding a version and locking properties to the entities help with this matter? cheers, Håkon 2010/1/13 Håkon Sagehaug > Hi Simone, > > The update does not raise any exceptions. I have no version on the entity, > and not configured locking. I read alittle about locking, does it also app

Re: Problems updating db entry

2010-01-12 Thread Håkon Sagehaug
Hi Simone, The update does not raise any exceptions. I have no version on the entity, and not configured locking. I read alittle about locking, does it also apply outside a transaction, the update operations is in a transactions but the read is not. cheers, Håkon 2010/1/12 Simone Gianni > Hi H

Re: Problems updating db entry

2010-01-12 Thread Simone Gianni
Hi Håkon, is the update of the entity on the database raising any exception? Or it silently refuses updating the database? Are you using a version field for optimistic locking? Simone Håkon Sagehaug wrote: Hi all, I've got a problem I'm not sure how to solve. The problems is as follows. We

Problems updating db entry

2010-01-12 Thread Håkon Sagehaug
Hi all, I've got a problem I'm not sure how to solve. The problems is as follows. We got a web service that can grab files from a ftp or http site, we use openjpa to store metadate about the resource, like name, when inserted etc. After this we write this information to the db and a new thread is