Re: many to many relation

2006-12-11 Thread Tore Halset
Hello. Read the documentation on flattened many-to-many relationship. http://cwiki.apache.org/CAYDOC/cayennemodeler-flattened- relationships.html http://www.google.com/search?q=cayenne+flattened+relationship+site% 3Acwiki.apache.org - Tore. On Dec 10, 2006, at 18:59 , marco turchi wrote:

Re: Unknown code CayenneRuntimeException help...

2006-12-11 Thread Andrus Adamchik
I won't claim this is a bug in Hessian just yet, but the first thing to check is any matching exceptions on the server side. Wonder if that's related to this thread: http://objectstyle.org/cayenne/lists/cayenne-user/2006/12/0051.html Andrus On Dec 8, 2006, at 1:31 AM, Lachlan Deck

Re: how does cayenne handle java.util.date values ?

2006-12-11 Thread Andrus Adamchik
Yeah, daylight saving time is tricky... Though the Date object still stores information about the timezone. I am surprised the driver doesn't account for it. Here is a few options that you have: 1. [the simplest] If you can redesign your database, I'd suggest storing dates as long numbers.

Re: many to many relation

2006-12-11 Thread marco turchi
Hi I've read the documentation, I created a flattened many-to-many relationship, but any record has been inserted inside the connection table. I have the following tables and relationships: db-entity name=NE_ENTITY db-attribute name=entityType type=VARCHAR length=255/ db-attribute name=id

Re: Deadlock.

2006-12-11 Thread Andrus Adamchik
Do you have a full thread dump printed by JVM? From these two threads I can't figure out the nature of a deadlock. Thanks Andrus On Dec 8, 2006, at 2:22 PM, John Gunning wrote: Hi there, I am experiencing a deadlock issue which looks similar to CAY-297. I understand CAY-297 was fixed in

Re: many to many relation

2006-12-11 Thread Tore Halset
Hello. On Dec 11, 2006, at 13:01 , marco turchi wrote: I've read the documentation, I created a flattened many-to-many relationship, but any record has been inserted inside the connection table. I have the following tables and relationships: Your mapping is wrong. I have fixed it and

newbie: configuring CayenneModeler

2006-12-11 Thread Michael Warner
I am trying to get CayenneModeler to run under OS X 10.4 Darwin. When I run $CAYENNE_HOME/bin/modeler.sh from the command line, I get the following error. It would appear to be some type of problem associated with the class loader, but beyond that I am clueless. I would appreciate any

Re: many to many relation

2006-12-11 Thread marco turchi
Hi Tore, thanks for your help... the problem is that using the moduler I'm not able to create an obj-relationship without create a new db-relationship. It means that I obtain more relationships than the relationships you shown me in the example (I obtain what I wrote in the previous email).

Re: newbie: configuring CayenneModeler

2006-12-11 Thread Andrus Adamchik
Probably some classpath issue. I suggest downloading 2.0.1 version of Mac Modeler, and open it by double-clicking on the app. This should spare you time figuring it out. http://people.apache.org/dist/incubator/cayenne/cayenne-2.0.1- incubating-macosx.dmg Andrus On Dec 11, 2006, at 6:34

Re: many to many relation

2006-12-11 Thread Tore Halset
On Dec 11, 2006, at 17:36, marco turchi wrote: the problem is that using the moduler I'm not able to create an obj-relationship without create a new db-relationship. It means that I obtain more relationships than the relationships you shown me in the example (I obtain what I wrote in the