This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate: changing case of table name

 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have a MySQL schema with a mapping to a user table in another schema, where the local user has SELECT permission on that table



As you can see the declared table name is capitalised, as is the table name itself, as well as the grant statement:


However when we view the queries, hibernate is referring to the table as "user_" ie in lowercase.
I got around this by creating a view with that name, but does anyone know why Hibernate is doing this, and a possible solution?

MySQL 5.1, Hibernate 3 and Spring
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic