create swing API directly from database table

2007-04-17 Thread [EMAIL PROTECTED]
Hi all Cayenne is usefull for creating swing GUI directly from database. I know Jmatter but it's a beta release. Any alternative? regards -- Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom http://click.libero.it/infostra

Re: vertical inheritance

2007-04-17 Thread Mike Kienenberger
Vertical inheritance is not natively supported by Cayenne yet (although it will need to be to be JPA-compliant, so it'll happen sooner rather than later). I've made it work by creating custom templates which override setPersistenceState() and then being careful how I construct queries. http://cw

Copying objects from one database to another

2007-04-17 Thread jerome moliere
Hi all, this is my question of the day (waiting for the tip of the day andrus -) ) Let's imagine a database db1 with a catalog1, schema 1 containing table T1 mapped as p1.T1 with Cayenne db2 (catalog2,schema2) containing same T1 table mapped as p2.T1 with Cayenne db1 and db2 live on the same mac

Re: Copying objects from one database to another

2007-04-17 Thread Michael Gentry
This isn't really an answer to your question, but could help you. If your schemas are the same in db1 and db2, I would set up a shared data map and then copy it into the db1 and db2 data domains: http://cwiki.apache.org/CAY/copying-datamaps.html Easier to maintain, don't need duplicate java cla

vertical inheritance

2007-04-17 Thread Marcin Skladaniec
Hi In our project we have tried using inheritance, this is the simplification of the map we are using: isMandatory="true"/> className="ish.oncourse.server.cayenne.AbstractNode" clientClassName="ish.oncourse.cayenne.Abs