This content has been marked as final.
Show 3 replies
-
1. Re: Column name clash with SQL keyword
herkules Nov 5, 2006 4:55 PM (in response to herkules)I don't know if this question is so trivial so nobody bothers to answer or I breaked some nettique or simply everybody lives with it and use artifficial property names to avoid column name clashes?
Or am I simply ignored by this forum?
Thanks, Jan -
2. Re: Column name clash with SQL keyword
maxandersen Nov 6, 2006 1:26 AM (in response to herkules)@Column(name="`order`")
-
3. Re: Column name clash with SQL keyword
tsar_bomba Nov 29, 2006 3:49 PM (in response to herkules)"max.andersen@jboss.com" wrote:
@Column(name="`order`")
This appears to work until you have a @OneToMany join between a parent & child entity, then Hibernate "forgets" to quote the fields on the child-side of the join.
I'm not sure if this is a bug (though it would appear so, since Toplink allows it in Glassfish.) I posted here about this yesterday and haven't gotten a reply yet to confirm.