On Oct 12, 2007, at 5:41 PM, Patrick Linskey wrote:

Hi,

It seems like our SQL reordering causes a lot of consternation for new
OpenJPA users. Should we maybe change our defaults so that we assume
"normal" FKs exist for all relationships?

From my experience, that is what folks will assume, even if the FK constraints are not declared or automatically detected. And the only harm in reordering SQL statements is that sometimes OpenJPA would reorder statements that didn't need to be reordered, or in extreme cases split a SQL statement into two due to perceived but not real circular dependencies.

Craig

-Patrick

--
Patrick Linskey
202 669 5907

Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:[EMAIL PROTECTED]
P.S. A good JDO? O, Gasp!

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to