Re: Using JPA orm.xml with Cayenne3M3

2008-03-14 Thread Frank Schwarz
I did some debugging. EntityMapMergeProcessor#mergeOverride seems to be the culprit. It is called from EntityMapLoader#updateFromXML(PersistenceUnitInfo). As this method is empty (at least in milestone 3) the entities declared in orm.xml will get lost. Kind regards, Frank Andrus Adamchik sch

Re: Using JPA orm.xml with Cayenne3M3

2008-03-14 Thread Frank Schwarz
tity classes will be guaranteed enhanced. This is missing from the docs, let me add it now. Andrus On Mar 14, 2008, at 4:45 PM, Frank Schwarz wrote:

Re: Using JPA orm.xml with Cayenne3M3

2008-03-14 Thread Frank Schwarz
x.cayenne3.jpax.usecases.HalloWorldMain.main(Unknown Source) Java Result: 1 If you like, I can provide you the sample. Regards, Frank Andrus Adamchik schrieb: Hi Frank, is the application started with cayenne-agent? Andrus On Mar 14, 2008, at 11:12 AM, Frank Schwarz wrote: Hi, is it possible

Using JPA orm.xml with Cayenne3M3

2008-03-14 Thread Frank Schwarz
Hi, is it possible to declare mappings in a JPA conform orm.xml file with Cayenne3M3. Unfortunately, I have not been successful so far. ---%<--- META-INF/persistence.xml http://java.sun.com/xml/ns/persistence"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation

Create SQL-DDL scripts

2008-02-21 Thread Frank Schwarz
Hi, is there a way to let Cayenne's cdbgen ant task create a file with the SQL DDL instead of manipulating the database directly? Cheers, Frank -- Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger