• Post Reply Bookmark Topic Watch Topic
  • New Topic

use @Column(name = "User")  RSS feed

 
Mahdi esmaeili
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i think you use @Column(table = "User") instead of @Column(name = "User") in table com.blinco.x3rdwave.account.User
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just remember that 'User' can be a reserved word on some databases, so it can cause a hic-up here and there. The syntax works fine with db2 and MySQL.

-Cameron McKenzie
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!