Re: Cayenne comparison to EOF / WebObjects

2011-12-06 Thread John Huss
> > Ok, so next question: what are the alternatives to Direct2Web (I suspect > that D2W won't work with Cayenne) and ERRest? Sure, some REST frameworks > like RestEasy exists in the J2EE world, but would they will create and > filter CayenneDataObject objects? This is what I like a lot about ERRest

Re: Cayenne comparison to EOF / WebObjects

2011-12-06 Thread Mike Kienenberger
> On Tue, Dec 6, 2011 at 12:45 PM, Mike Kienenberger wrote: >> Entity Templates: I suspect the templating support in Cayenne is >> better, although it's been a long time since I worked with EOF >> templating.   Cayenne has the ability to throw an arbitrary helper >> class into the template namespac

Re: Cayenne comparison to EOF / WebObjects

2011-12-06 Thread Pascal Robert
Le 2011-12-06 à 15:06, John Huss a écrit : > On Tue, Dec 6, 2011 at 1:22 PM, Pascal Robert wrote: > >> Hi John, >> >> Enum Attributes is also supported by EOF, have a look at the javaEnum from >> Wonder. >> >> Also, do you think the Project Wonder Veogen templates could be rewritten >> to mak

Re: Cayenne comparison to EOF / WebObjects

2011-12-06 Thread John Huss
On Tue, Dec 6, 2011 at 1:22 PM, Pascal Robert wrote: > Hi John, > > Enum Attributes is also supported by EOF, have a look at the javaEnum from > Wonder. > > Also, do you think the Project Wonder Veogen templates could be rewritten > to make calls to Cayenne instead of EOF? For example, having the

Re: Cayenne comparison to EOF / WebObjects

2011-12-06 Thread John Huss
On Tue, Dec 6, 2011 at 12:45 PM, Mike Kienenberger wrote: > Thanks, John, > > I think that's really helpful. > > At some point I might convert an old WebObjects project to Cayenne. > > A few things that might need attention: > > Raw Rows: I haven't tried it, but if you provide prefetching > inform

Re: Cayenne comparison to EOF / WebObjects

2011-12-06 Thread John Huss
On Tue, Dec 6, 2011 at 1:19 PM, Joseph Senecal wrote: > Thanks for the detailed comparison! > > The one error I saw was: Embeddable relationships (related objects stored > in same table as the source) > > Many times I've done a Master->Detail relationship in EOF where both the > Master and the De

Re: Cayenne comparison to EOF / WebObjects

2011-12-06 Thread Robert Zeigler
Support Transient Objects (objects not in editing context)X Cayenne supports Transient object manipulation for simple properties, but not relationships. Robert On Dec 6, 2011, at 12/611:56 AM , John Huss wrote: > I've put together a > page

Re: Cayenne comparison to EOF / WebObjects

2011-12-06 Thread Joseph Senecal
Thanks for the detailed comparison! The one error I saw was: Embeddable relationships (related objects stored in same table as the source) Many times I've done a Master->Detail relationship in EOF where both the Master and the Detail are the same table (and the same Class). I didn't have to do

Re: Cayenne comparison to EOF / WebObjects

2011-12-06 Thread Pascal Robert
Hi John, Enum Attributes is also supported by EOF, have a look at the javaEnum from Wonder. Also, do you think the Project Wonder Veogen templates could be rewritten to make calls to Cayenne instead of EOF? For example, having the createEntityName method to create a new "EO"? Might be a soluti

Re: Cayenne comparison to EOF / WebObjects

2011-12-06 Thread Pascal Robert
> ... > Entity Templates: I suspect the templating support in Cayenne is > better, although it's been a long time since I worked with EOF > templating. Cayenne has the ability to throw an arbitrary helper > class into the template namespace using vppconfig. I don't remember > how I dealt with s

Re: Cayenne comparison to EOF / WebObjects

2011-12-06 Thread Mike Kienenberger
Thanks, John, I think that's really helpful. At some point I might convert an old WebObjects project to Cayenne. A few things that might need attention: Raw Rows: I haven't tried it, but if you provide prefetching information for a Cayenne query, wouldn't the raw rows also include that prefetch

Cayenne comparison to EOF / WebObjects

2011-12-06 Thread John Huss
I've put together a pageon the WebObjects wiki detailing some of the differences between Cayenne and EOF / WebObjects. If anyone cares to look at it and make additions or corrections that would be great. Also, add

Re: Reengineer Database Schema hangs on the last table.

2011-12-06 Thread Erlend Birkenes
Ok, never mind. It finished at last, it just took a very long time. I think it took a couple of hours, but I'm not sure. I was in a meeting and when I got back it was done. I know I had it running for over an hour earlier though. The schema has around 310 tables with around 2500 columns total, res

Re: How to disable Transactions in Cayenne

2011-12-06 Thread Dirk Wellmann
Hello Juergen, sometimes it's so simple! Thank you for your hint and the Source! Many Regards Dirk Am 06.12.2011 11:44, schrieb Juergen Saar: /* * Created on 05.08.2004 */ package com.dingens.ifx.persistence.jdbc; import java.sql.Connection; import java.sql.Driver; import java.sql.Driver

Re: Is it possible/easy to integrate cayenne with other frameworks?

2011-12-06 Thread John Huss
For the DB connection, if you're using 3.0 there is some info here: https://cwiki.apache.org/CAY/setting-database-connection.html For 3.1, you can use a properties file to store the value and load them in a custom DI module by doing something like: public class PropertiesModule implements Module

Re: How to disable Transactions in Cayenne

2011-12-06 Thread Juergen Saar
Hi, we have the same problem ... we wrote our own Driver based on the original jdbc-Driver for our database ... The 2 needed Class definitions you can find below ... We actually run about 100 Installations with this Driver ... We also ran into some trouble with the join statements ... so we ha

How to disable Transactions in Cayenne

2011-12-06 Thread Dirk Wellmann
Hello List, we've a Project in witch we want to access and write a Database in NonTransactional mode, because this "oldschool" - System doesn't support Transactions. But we've a functional JDBC-Driver. Is there a possible way to disable Transactions or register a Transactionhandler witch will