I found that persisting multiple tables causes OpenJPA to generate INSERT statements in a random order and hence I get a constraint violation error due to Foreign keys being defined in the tables. How does one force JPA to generate SQL statements when I ask the EntityManager to persist( em.persist() call ) instead of it generating INSERTs in random order at commit() call time ? Any ideas ?
Cheers, jay Jayagopi Jagadeesan e-mail : [EMAIL PROTECTED] http://www.tieto-tapiola.fi Within every living soul there is a silent teacher(Conscience)
