• Post Reply Bookmark Topic Watch Topic
  • New Topic

about Table name is not map  RSS feed

 
Chang Tzu-yu
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

In MS SqlServer DB, the table name is "VP_USER",

In my project, there is a model class(VpUser) map to the table, annotation @Table(name="VP_USER")

but when execute HQL "from VpUser", throw a SQLServerException invalid object name 'vp_user'

why hibernate lower case the table name ??

Please give me some suggestion, thanks!!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!