-->
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: Some doubts about migrating Hibernate 3.x to 4.x
PostPosted: Mon Jun 10, 2013 11:46 am 
Newbie

Joined: Fri Dec 04, 2009 4:17 pm
Posts: 18
Hi,

Friday I migrated my webapp from Hibernate3.2.5 to Hibernate4.2.2.
After changing some things in code the webapp deployed fine in GlassFish3.1.1/JSF2/Weld environment.

But some problems I didn't get to solve:
1) Some tables automatically created by Hibernate 4 (HT_). I didn't find any property to disable Hibernate to create these crazy tables HT_XXX where XXX are just some of the tables from my Firebird database. I don't know why it created HT_XXX for these tables and it doesn't for others.
For example: create table HT_COLETAENTREGA (codColetaEntrega numeric(18,0) not null, hib_sess_id CHAR(36))
My persistence.xml doesn't create tables automatically if it there isn't in the database.
2) WARN: HHH000427: Using deprecated org.hibernate.transaction.TransactionManagerLookup strategy [hibernate.transaction.manager_lookup_class], use newer org.hibernate.service.jta.platform.spi.JtaPlatform strategy instead [hibernate.transaction.jta.platform]
INFO: HHH000428: Encountered legacy TransactionManagerLookup specified; convert to newer org.hibernate.service.jta.platform.spi.JtaPlatform contract specified via hibernate.transaction.jta.platform setting


Top
 Profile  
 
 Post subject: Re: Some doubts about migrating Hibernate 3.x to 4.x
PostPosted: Thu Jun 20, 2013 5:18 pm 
Newbie

Joined: Fri Dec 04, 2009 4:17 pm
Posts: 18
Is there some idea about these doubts?


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.