Re: Back with weird problems: PK generation keeps generating same PK... up to a moment.

2015-05-12 Thread Samuel Pelletier
Sequence generation for concurrent access may be tricky to do right, especially if the system is tuned for performance. There is a confrontation between the sequence integrity and the concurrent access. It is easy to use a sequence table wrong... OC, which database are you using with which conn

Re: Back with weird problems: PK generation keeps generating same PK... up to a moment.

2015-05-12 Thread Chuck Hill
You really do come up with the absolute best problems! :-) www.youtube.com/watch?v=otCpCn0l4Wo My guess is that somehow the database failed to record the update to the sequence number. Every time you ran it after that, it generated the used one and then failed. When you added logging, somethin

Back with weird problems: PK generation keeps generating same PK... up to a moment.

2015-05-12 Thread OC
Hello there, my application, among others, generates and stores audit records. The appropriate code is comparatively straightforward; it boils down to something like === ... ec might contain unsaved objects at this moment ... DBAudit audit=new DBAudit() ec.insertObject(audit) audit.takeValuesFr

Re: WebObjects Caching Proxy

2015-05-12 Thread Vicky Miller
Thanks for the response Philippe. Based on the criteria in your article, we are looking at Guava cache to see if it will meet our existing application needs. Our application is a hosted student testing application where ideally the only data exchanged real time, if that, are students' responses to

Re: WebObjects Caching Proxy

2015-05-12 Thread Philippe Rabier
Hi Vicky, I wrote an article 1 year ago on wocommunity: https://wiki.wocommunity.org/pages/viewpage.action?pageId=12943886 Maybe it can help you. Philippe http://www.youandpush.com On 7 mai 2015, at 14:20, Vicky Miller wrote: > Has anyone developed a WebObjects caching proxy solution? If so,