-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Tablename to Classname mapping problem
PostPosted: Mon Mar 10, 2008 6:35 pm 
Newbie

Joined: Mon Sep 24, 2007 2:55 pm
Posts: 13
Hibernate version: Tools 3.2.0

Name and version of the database you are using: MS SQL Server Express Edition 2005

The given database schema uses tables with upper and lower case letters.
If the table name only contains lower case letters after each upper case letter the class name is identical to the table name: e.g. CatalogVersion -> CatalogVersion.

If there are is a sequence of upper case letters in the table name, the class name differs from the table name: BOMConfigurators -> Bomconfigurators.

Is this really the wanted behavior?
If a database is used with case sensitive table names the class name should be equal to the table name i'd suggest. Does anybody agree to this?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 11, 2008 3:19 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
sounds reasonable. provide a patch in jira maybe ?

_________________
Max
Don't forget to rate


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.