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 3974198
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T04:32:25+00:00 2026-05-20T04:32:25+00:00

I am using org.hibernate.cfg.ImprovedNamingStrategy, But for a table I have specified the table name

  • 0

I am using org.hibernate.cfg.ImprovedNamingStrategy, But for a table I have specified the table name explicitly

@Table(name="EventLog",schema = "eventlogs")

But hibernate seems to be looking for event_log. Shouldn’t explicit naming override the one provided by ImprovedNamingStrategy

  • 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-20T04:32:25+00:00Added an answer on May 20, 2026 at 4:32 am

    It is the behavior of the org.hibernate.cfg.ImprovedNamingStrategy , which will convert the mixed case names to the embedded underscores name . http://docs.jboss.org/hibernate/core/3.5/api/org/hibernate/cfg/ImprovedNamingStrategy.html . So if you explicitly use the name “EventLog” , it will convert to the “event_log” .

    If you simply want to use the name explicitly specified in the @Table , you should use the org.hibernate.cfg.DefaultNamingStrategy . By default it is used when you instantiate your org.hibernate.cfg.Configuration object

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

Sidebar

Related Questions

I have JRE 1.6 and am using the following hibernate.cfg.xml file. I am always
I have the following hibernate.cfg.xml : <hibernate-configuration> <session-factory> <property name=hibernate.format_sql>true</property> <property name=hibernate.show_sql>true</property> <property name=hibernate.connection.url>jdbc:mysql://localhost/EJB</property>
It seems that org.hibernate.cfg.Configuration object can be used to perform validation programmatically, by calling
I'm using the following org.eclipse.jface.viewers.CheckboxCellEditor.CheckboxCellEditor(Composite parent) I'm creating a table viewer with cellEditors and
Maybe it's just the fact that I've been using http://nodejs.org/ lately, but the lack
I'm using PeerTracker http://en.wikipedia.org/wiki/PeerTracker to track torrent hashes. I have a simple HTML page
I am using Hibernate 3.6, JPA 2.0, and Spring 3.0.6. I have fields in
I have a Java program using a basic Hibernate session factory. I had an
I am using spring and hibernate together. In my application context, I have this
<property name=connection.provider_class>org.hibernate.connection.C3P0ConnectionProvider</property> <property name=c3p0.max_size>100</property> <property name=c3p0.idleConnectionTestPeriod>300</property> <property name=c3p0.acquire_increment>1</property> <property name=c3p0.idle_test_period>100</property> <!-- seconds --> <property

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.