Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7034873
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T01:14:16+00:00 2026-05-28T01:14:16+00:00

I am using Hibernate and mySQL. I develop the java application mostly on windows.

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T01:14:17+00:00Added an answer on May 28, 2026 at 1:14 am

    You’ve selected the wrong option, a quote from the manual:
    http://dev.mysql.com/doc/refman/5.0/en/identifier-case-sensitivity.html

    lower_case_table_names =
    0
    Table and database names are stored on disk using the lettercase specified in the CREATE TABLE or CREATE DATABASE statement. Name comparisons are case sensitive. You should not set this variable to 0 if you are running MySQL on a system that has case-insensitive file names (such as Windows or Mac OS X). If you force this variable to 0 with –lower-case-table-names=0 on a case-insensitive file system and access MyISAM tablenames using different lettercases, index corruption may result.

    1
    Table names are stored in lowercase on disk and name comparisons are not case sensitive. MySQL converts all table names to lowercase on storage and lookup. This behavior also applies to database names and table aliases.

    2
    Table and database names are stored on disk using the lettercase specified in the CREATE TABLE or CREATE DATABASE statement, but MySQL converts them to lowercase on lookup. Name comparisons are not case sensitive. This works only on file systems that are not case sensitive! InnoDB table names are stored in lowercase, as for lower_case_table_names=1.

    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.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have made an application using Java/Hibernate/MySQL, but whenever I try running it, it
I am using Hibernate to access MySQL database for my java application. I configured
Assuming that I am using Hibernate for a Java web application talking to MySQL
I am using Hibernate 3.x, MySQL 4.1.20 with Java 1.6. I am mapping a
I am using Hibernate and MySql. I have a 2 tables: User: id, name,
I have a Java webapp using Hibernate and MySQL. If the site isn't used
How can I get Hibernate (using JPA) to create MySQL InnoDB tables (instead of
I've been using the following web development stack for a few years: java/spring/hibernate/mysql/jetty/wicket/jquery For
I am using Hibernate in a Java application to access my Database and it
I am newbie for hibernate,i am using mysql database,with two tables serviceTypeDetails,validateConfig.In serviceTypeDetails,it's having

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.