This content has been marked as final.
Show 3 replies
-
1. Re: Reserved Words Not to Use as Entity Name
christian.bauer May 30, 2008 7:45 PM (in response to sandman202)
check the manual that corresponds to your MySQL server version -
2. Re: Reserved Words Not to Use as Entity Name
christian.bauer May 30, 2008 7:47 PM (in response to sandman202)Actually, in your case it's probably the
id
column name. Anyway, if the SQL server saysyour DDL is invalid
, then it's invalid. There is no such thing asreserved entity names
. -
3. Re: Reserved Words Not to Use as Entity Name
sandman202 May 30, 2008 10:31 PM (in response to sandman202)I doubt it is related to the
id
column name, because I have 4 other database tables whoseid
field is all defined the same way:public static final String FIELD_ID = "id"; private Long id; @Id @GeneratedValue @Column(name = FIELD_ID) public Long getId() { return id; } public void setId(Long id) { this.id = id; }
However, you made me think about something I did the other day, which was updating the hibernate libraries in JBoss to the latest. I might of missed something when I updated the libraries or there is a problem with the hibernate library. In either case, I need to address the problem there, but my account is no longer active and I'm trying to get it reactivated to be able to post on that forum.