Re: Coexisting with WebObjects

2011-08-08 Thread David Avendasora
Hi Joe, If you are using Oracle (which would be my guess, based on your email domain), then you can simply create an Oracle Synonym for the Sequence that the WebObjects app uses. Basically it's an alias so when you ask for the Synonym, you'll get the thing it points at. That should allow you t

Re: Coexisting with WebObjects

2011-08-08 Thread Joe Baldwin
Hey Michael, this is an aside: I used to work with EOF some time ago when WebObjects first came out (we did a project for USPS). EOF was pretty primitive by todays standards but at the time it was an insanely advanced concept. It was my assumption that Cayenne was started as a "next generat

Re: Coexisting with WebObjects

2011-08-08 Thread Michael Gentry
Hi Joe, In the past I used Cayenne with a legacy database that had 96-bit binary primary keys. I had to create my own Cayenne DB adapter and PK generator and specify using it in Cayenne Modeler. It wasn't too hard to do and worked perfectly with the existing system (which was actually WO/EOF-bas

Re: Coexisting with WebObjects

2011-08-08 Thread Aristedes Maniatis
On 9/08/11 8:45 AM, Joseph Senecal wrote: Thanks to the help provided from this mailing list, my prototype was done on time and shows that the concept can work. The next problem to solve is how to get a Cayenne program to peacefully coexist with legacy WebObjects programs that will be insertin

Re: Coexisting with WebObjects

2011-08-08 Thread Mike Kienenberger
It's been a long time since I used WebObjects, and the largest project which did so was converted to Cayenne. The exact solution is going to depend on what primary key generation you are using with WebObjects. If you're using native database generation (like sequences), then all you need to do i

Adding a custom type for Joda Time DateTime

2011-08-08 Thread Marc O'Morain
Hi all, I have just created a custom ExtendedType to allow Cayenne to load/save DateTime object created with the Joda Time API. I find the Joda Time solves many problems that I have with Java's built-in Date and Calendar classes, so I have just moved our codebase over to use Joda Time. The file i

Coexisting with WebObjects

2011-08-08 Thread Joseph Senecal
Thanks to the help provided from this mailing list, my prototype was done on time and shows that the concept can work. The next problem to solve is how to get a Cayenne program to peacefully coexist with legacy WebObjects programs that will be inserting records into the same table. I can restri