users@glassfish.java.net

Re: Entity reference to another entity creates BLOB column in mysql table..

From: <glassfish_at_javadesktop.org>
Date: Tue, 07 Sep 2010 14:56:03 PDT

@OneToMany (as in your last version) is not the same as @OneToOne (as in the first one). @OneToMany should be placed on a "many" side of the relationship.
[Message sent by forum member 'mvatkina']

http://forums.java.net/jive/thread.jspa?messageID=482056