openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig L Russell <Craig.Russ...@Sun.COM>
Subject Re: SQL reordering defaults
Date Sat, 13 Oct 2007 00:54:40 GMT

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:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!


Mime
View raw message