-->
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: Upgrading Hibernate 4.3.11 to 5.2.2 with Firebird
PostPosted: Tue Aug 16, 2016 10:30 am 
Newbie

Joined: Wed Jun 15, 2011 4:09 pm
Posts: 2
We're attempting to upgrade hibernate from 4.3.11.Final to 5.2.2.Final and are running into some issues with temporary tables. Previously we had to override the getCreateTemporaryTableString and the supportsTemporaryTables methods. It looks like these were removed in the latest version and replaced with a GlobalTemporaryTableBulkIdStrategy. How do we need to implement this to get the temporary table support working again?


Top
 Profile  
 
 Post subject: Re: Upgrading Hibernate 4.3.11 to 5.2.2 with Firebird
PostPosted: Mon Aug 29, 2016 3:05 am 
Hibernate Team
Hibernate Team

Joined: Thu Sep 11, 2014 2:50 am
Posts: 1628
Location: Romania
The FirebirdDialect inherits the from the Dialect base class:

Code:
public MultiTableBulkIdStrategy getDefaultMultiTableBulkIdStrategy() {
    return new PersistentTableBulkIdStrategy();
}


If you think this is not ok for Firebird, you can override this method and supply a different strategy.
There are various dialects that already do that: MySQLDialect, PostgreSQL81Dialect, etc.

Please open a Jira issue and supply your changes in a Pull Request so we can integrate it.


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.