Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [Teneo] Latest build depends on Hibernate 3.6, introducing binary incompatability
[Teneo] Latest build depends on Hibernate 3.6, introducing binary incompatability [message #638906] Sat, 13 November 2010 03:50 Go to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi,
The build of today introduces a strong dependency on Hibernate 3.6 and the jpa persistence 2.0 jar file. The upgrade
means that a binary incompatibility has be introduced and that users of Teneo are forced to use the jpa persistence jar
2.0 or higher and Hibernate 3.6.

The binary incompatibility is created because the HbEntityDataStore supports the EntityManagerFactory interface which
introduced a getProperties method which already existed in the HbEntityDataStore (with a different signature).
The original HbDataStore.getProperties method has been renamed to: HbDataStore.getDataStoreProperties. In addition a new
dataStore.setDataStoreProperties has been introduced.

The binary incompatibility is inconvenient but it is only in one location. This api is normally only used at
initialization time. So I expect that the impact is small and it should be easy to solve this for anyone using Teneo.

JPA 2.0 has been out there for a while, so it makes sense to upgrade to it.

In parallel I have upgraded the hibernate version on the elver.org update site (http://www.elver.org/eclipse/update) to
offer the latest version of Hibernate.

The above statement is also present on the Teneo Hibernate landing page in the wiki:
http://wiki.eclipse.org/Teneo/Hibernate
http://wiki.eclipse.org/Teneo/Hibernate/BackwardCompatibilit y

The previous versions of Teneo are available on a parallel update site, see this page:
http://wiki.eclipse.org/Teneo/Hibernate/Download_and_Install

--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: [Teneo] Latest build depends on Hibernate 3.6, introducing binary incompatability [message #638929 is a reply to message #638906] Sat, 13 November 2010 12:34 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6505
Registered: July 2009
Senior Member
Hi Martin,

Thank you very much, we'll probably switch over in the next days and
report our findings.

Tom

Am 13.11.10 04:50, schrieb Martin Taal:
> Hi,
> The build of today introduces a strong dependency on Hibernate 3.6 and
> the jpa persistence 2.0 jar file. The upgrade means that a binary
> incompatibility has be introduced and that users of Teneo are forced to
> use the jpa persistence jar 2.0 or higher and Hibernate 3.6.
>
> The binary incompatibility is created because the HbEntityDataStore
> supports the EntityManagerFactory interface which introduced a
> getProperties method which already existed in the HbEntityDataStore
> (with a different signature).
> The original HbDataStore.getProperties method has been renamed to:
> HbDataStore.getDataStoreProperties. In addition a new
> dataStore.setDataStoreProperties has been introduced.
>
> The binary incompatibility is inconvenient but it is only in one
> location. This api is normally only used at initialization time. So I
> expect that the impact is small and it should be easy to solve this for
> anyone using Teneo.
>
> JPA 2.0 has been out there for a while, so it makes sense to upgrade to it.
>
> In parallel I have upgraded the hibernate version on the elver.org
> update site (http://www.elver.org/eclipse/update) to offer the latest
> version of Hibernate.
>
> The above statement is also present on the Teneo Hibernate landing page
> in the wiki:
> http://wiki.eclipse.org/Teneo/Hibernate
> http://wiki.eclipse.org/Teneo/Hibernate/BackwardCompatibilit y
>
> The previous versions of Teneo are available on a parallel update site,
> see this page:
> http://wiki.eclipse.org/Teneo/Hibernate/Download_and_Install
>
Previous Topic:[CDO] java.lang.IllegalArgumentException: id instanceof CDOIDTemp
Next Topic:Teneo 1.1.1 java.lang.SecurityException
Goto Forum:
  


Current Time: Tue Oct 15 08:23:39 GMT 2019

Powered by FUDForum. Page generated in 0.01509 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top