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
|