I am using Hibernate and mySQL.
I develop the java application mostly on windows. All the tables are created with lowercase.
When I deployed it on the linux server, I noticed the tables are now in the proper casing (java naming convention). That’s fine and all, but for some reason, one of my oneToMany List isn’t loaded.
I am not using any other query except for “from “+class.getName()
I have tried changing the *lower_case_table_names=2* in my.conf so it matches in windows, however that didn’t help.
Any other ideas?
Actually, that was stupid. It was my logic in the application that caused the problem, I was looking to do some partial fetching.
You’ve selected the wrong option, a quote from the manual:
http://dev.mysql.com/doc/refman/5.0/en/identifier-case-sensitivity.html
Option 2 will never work on Linux, because that system is case-sensitive.
On Linux and all other systems you need to use option 1.
Then your case sensitivity problems will be over.