persistence@glassfish.java.net

[Fwd: [Issue 606] Incorrect query generated to fetch ManyToMany collection]

From: Sanjeeb Kumar Sahoo <Sanjeeb.Sahoo_at_Sun.COM>
Date: Wed, 26 Apr 2006 19:51:10 +0530

Is there any property to trigger dbschema validation in TopLink
Essential? That would have prevented the issue reported by user.

Thanks,
Sahoo

attached mail follows:



https://glassfish.dev.java.net/issues/show_bug.cgi?id=606



User gyorke changed the following:

                What |Old value |New value
================================================================================
                  Status|NEW |RESOLVED
--------------------------------------------------------------------------------
              Resolution| |INVALID
--------------------------------------------------------------------------------




------- Additional comments from gyorke_at_dev.java.net Wed Apr 26 13:50:15 +0000 2006 -------
What is happening here is without a JoinColumn definition within the @JoinTable
annotation TopLink is generating default column names based on the defaulting
rules in section 2.1.8 of the specification. To avoid having the column names
defaulted set the names using @JoinColumn annotation.


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: issues-help_at_glassfish.dev.java.net