-->
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: MySQL table name generation change?
PostPosted: Thu Dec 15, 2005 8:54 pm 
Beginner
Beginner

Joined: Thu Jun 23, 2005 4:11 pm
Posts: 24
Hibernate version: 3.1rc3 -> 3.1

hibernate.properties:

hibernate.dialect = org.hibernate.dialect.MySQLMyISAMDialect
hibernate.connection.driver_class = com.mysql.jdbc.Driver

Code between sessionFactory.openSession() and session.close():

Name and version of the database you are using: 5.0.15-nt

Did something change in the latest release of Hibernate (3.1) that would cause generated table names to change from SCHEMA_TABLE to SCHEMA.TABLE in MySQL? I looked at the MySQL dialect and did not see any changes. To fix the problem I removed schema attribute in mapping files and prepended SCHEMA_ to table attributes, but doesn't seem like the default behavior should change like that. thanks


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 16, 2005 2:48 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
yes it was changed and its a question for the users group not the tools group ;)

_________________
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.