Re: basic tutorial

2012-12-23 Thread Andrus Adamchik
I am sidestepping a direct answer, and will instead mention a scenario when neither GUI nor manual XML changes are needed for working with the model. Cdbimport Ant/Maven model reverse-engineering tool in Cayenne facilitates a workflow when the DB evolution is done with SQL scripts, and model (an

Re: basic tutorial

2012-12-23 Thread Joseph Senecal
Actually I have well over 100 tables in the model I use with EOF (similar to Cayenne). Most of these tables join to other tables in a complex graph of connections. As with Cayenne I've never had to worry about SQL or editing the configuration by hand. It just works with no effort on my part. It

Re: basic tutorial

2012-12-23 Thread Michael Jaruska
i now it but i think there is one big misunderstanding: orm's hasn't been created for to make life better but for better abstraction. think: try to code db with 100 tables into your code with pure sql and jdbc and try the same with orm. yes, you can lead in orm annotation hell but you do it jus

Re: basic tutorial

2012-12-23 Thread Michael Jaruska
earnt how to use it. You will have a lot of fun with cayenne. From: Michael Jaruska To: user@cayenne.apache.org Sent: Sunday, December 23, 2012 12:31 AM Subject: Re: basic tutorial hmm, i was in hope not to make spam but instead of (short) point to some notes a

Re: basic tutorial

2012-12-23 Thread Michael Jaruska
maybe, writing docu is my nightmare :-) On 23.12.2012 1:24, Mike Kienenberger wrote: There's nothing wrong with editing the models by hand. I sometimes make small changes by hand myself. But the best way to learn the xml format right now is going to be to set up an initial model using the mo

Re: basic tutorial

2012-12-23 Thread Richard Frovarp
On 12/22/2012 05:31 PM, Michael Jaruska wrote: hmm, i was in hope not to make spam but instead of (short) point to some notes about using cayenne without modeler but just hand-editing xml files there was rubbish about xml and editing them by hand. i'm editing xml by hand for more than 10 years

Re: basic tutorial

2012-12-22 Thread emeka okafor
cayenne. From: Michael Jaruska To: user@cayenne.apache.org Sent: Sunday, December 23, 2012 12:31 AM Subject: Re: basic tutorial hmm, i was in hope not to make spam but instead of (short) point to some notes about using cayenne without modeler but just hand

Re: basic tutorial

2012-12-22 Thread Mike Kienenberger
There's nothing wrong with editing the models by hand. I sometimes make small changes by hand myself. But the best way to learn the xml format right now is going to be to set up an initial model using the modeler tool. There's no user-friendly documentation on the format of the model right now

Re: basic tutorial

2012-12-22 Thread Michael Jaruska
and a lot of other software too :-) On 22.12.2012 20:35, Pascal Robert wrote: So you should avoid using Alfresco :-) In fact I would argue that any system that requires you to edit xml by hand is fundamentally broken (I"m looking at you JPA). XML is meant for machines not humans, and if you de

Re: basic tutorial

2012-12-22 Thread Michael Jaruska
hmm, i was in hope not to make spam but instead of (short) point to some notes about using cayenne without modeler but just hand-editing xml files there was rubbish about xml and editing them by hand. i'm editing xml by hand for more than 10 years without problems and there's more efective forma

Re: basic tutorial

2012-12-22 Thread Pascal Robert
So you should avoid using Alfresco :-) > In fact I would argue that any system that requires you to edit xml by hand > is fundamentally broken (I"m looking at you JPA). XML is meant for machines > not humans, and if you develop an xml dialect to represent something you've > only started your work.

Re: basic tutorial

2012-12-22 Thread Tony Giaccone
In fact I would argue that any system that requires you to edit xml by hand is fundamentally broken (I"m looking at you JPA). XML is meant for machines not humans, and if you develop an xml dialect to represent something you've only started your work. Never make your users edit XML. Never. On Fri

basic tutorial

2012-12-22 Thread Michael Jaruska
hi folks, i'm searching for tutorial for using cayene without caynene modeler, i need something like "download this jar, write this bean, edit this xml in this way and this is how you can access objects from database". i'm not fun of grafical/ide tools (writing this hope this won't lead into spa

Re: basic tutorial

2012-12-21 Thread John Huss
This message should be on the user mailing list, not the dev list, so please reply there. Cayenne is not primarily intended to be used that way, so there is no tutorial. It is possible to do, but there's not really a good reason to for a beginner. Using the modeler prevents from having to know t