Re: Using CayenneModeler as standalone tool

2012-04-10 Thread Aristedes Maniatis
I'll also add that for anyone wanting to dip their toe in the water of contributing to Cayenne, this should be a really quite easy task. The changes impact the modeler (and the Swing layout), but they don't touch on the complex core parts of Cayenne runtime. There is already code, and although

Re: Using CayenneModeler as standalone tool

2012-04-10 Thread Andrus Adamchik
Hi Robert, As I am sure you've seen from earlier discussion, the "descriptions" feature is somewhat separate from EOModel import. (i.e. as long as Cayenne doesn't support it, all we can do is to ignore this extra data when importing EOModel). As Ari mentioned, we even have a pretty old Jira for

Re: lazy loading (slightly OT but still pretty important)

2012-04-10 Thread Sheldon
Hi Andrew, can I do this programmatically (without using SQL's)? Sheldon -- View this message in context: http://cayenne.195.n3.nabble.com/lazy-loading-tp3863908p3899950.html Sent from the Cayenne - User mailing list archive at Nabble.com.

RE: Vertical inheritance - subclass associations

2012-04-10 Thread Durchholz, Joachim
> The problem is associations, especially to-many associations. > If I have a to-many association on a child entity, I set up > its DbRelationship on the child table, and use a flattened > relationship to access it. But then the modeler claims that > my relationship is read-only (presumably becaus

Re: fetching data through cayenne

2012-04-10 Thread Mike Kienenberger
Your best bet is to start with the Apache Myfaces JSF example project, and then add Cayenne into it, since JSF is more difficult to get configured than Cayenne. http://myfaces.apache.org/gettingstarted.html I am pretty sure there are some JSF project-building tools in the latest versions of Eclip

Re: fetching data through cayenne

2012-04-10 Thread Michael Gentry
Hi Yunus, I've never looked at JSF so I can't help you there. With Maven, you want to put your Cayenne XML files (from Cayenne Modeler) in src/main/resources. In general, Cayenne looks in the CLASSPATH to find the model and Maven makes everything under src/main/resources available at the root of

Re: fetching data through cayenne

2012-04-10 Thread yunus
thanks Michael..it works...Can u do me one more favour Can you tell me how to create a complete JSF environment in Eclipse Helios for using Cayenne modeler? I am trying with Maven but i am not able to create it. Please tell me its step by step procedure. -- View this message in context: http://c

Re: Using CayenneModeler as standalone tool

2012-04-10 Thread Robert Huber @ 7r
Hi Andrus > Yeah, that's the problem with EOModel import support in general... It is very > important to the users who are converting their projects. But since this is > usually a one-time deal, after all conversion is done, nobody cares about it > anymore. So the code doesn't get as much love