Respect, and a lot of!
Thanks for sharing this.
wim
-----Original Message-----
From: glassfish_at_javadesktop.org [mailto:glassfish_at_javadesktop.org]
Sent: donderdag 21 augustus 2008 21:25
To: users_at_glassfish.dev.java.net
Subject: Re: SQLSyntaxException
@Basic shouldn't be used with [i]'private Products productId;'[/i] (see spec
section 9.1.18 Basic Annotation for the valid use cases).
My guess is that @Basic gets processed while @ManyToOne is then ignored,
together with the @JoinColumn, and as the result, the column name defaults
to PRODUCTID.
Regards,
-marina
[Message sent by forum member 'mvatkina' (mvatkina)]
http://forums.java.net/jive/thread.jspa?messageID=294676
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: users-help_at_glassfish.dev.java.net