Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Teneo 0.8.0/0.7.5 Release Notes/Information
Teneo 0.8.0/0.7.5 Release Notes/Information [message #76209] Wed, 21 March 2007 22:29
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
This post gives a summary of the changes in the latest 0.8.0 release. For the changes in 0.7.5 see
the issue list below.

In the 0.8.0 release of today the following has changed (all for Hibernate):

- Hibernate EntityManager is now supported: this is done through a new datastore HbEntityDataStore.
The current HbDataStore has been made abstract and part of its previous functionality moved to a new
class HbSessionDataStore. So if you have implemented your own datastore inheriting from HbDataStore
then your class should now inherit from HbSessionDataStore. See also here:

- New EMap mapping (credits to Jean-Denis Boudreault for contributing a solution here): before the
EMF EMap was mapped as a list (as an EMap is in fact a List) however this had a number of
disadvantages (inefficient, does not work in combination with serialization). Therefore this has
been changed to a true map mapping. As this changes the mapping an option is provided for backward
compatibility: PersistenceOptions.EMAP_AS_TRUE_MAP (default is true), setting this option to false
will result in the 'old' behavior (map emap as a list).

- A number of bugs have been resolved related to handling of multiple inheritance and testcases have
been added. Note that the new multiple inheritance differs from the previous approach if one of the
supertypes has isInterface=true. Teneo chooses one of the supertypes as the one to set as extends in
the hibernate mapping file before also an interface type could be chosen, now Teneo first tries to
find a non-interface supertype.

- A new option has been added to automatically map all lists as a bag in hibernate, in this way the
list index is not present in the database (many times it is not required there). Also an equivalent
option for idbag has been added.

- Jpox support has been upgraded to jpox 1.1.7

Here is the list of issues solved in the 0.8.0 and 0.7.5 release:

Solved in this 0.8.0 release - Enhance choosing of real supertype in case of
multiple inheritance - Upgrade to jpox 1.1.7 - Support for @where hibernate annotation - Discriminator column systematically added,
even if super ... - Add support for Maps and JTA @MapKey annotation - Add an option to disable the list index on
all elist mapping (use bag in hibernate) - change relational mapping of EMap - Multiple inheritance is not handled correctly
by Teneo - Add support for Hibernate EntityManager - @MappedSuperClass and MultipleInheritance
does not work t... - Multiple inheritance with multi-valued
EReferences in sec... - Add option to force an idbag on all list

Solved in this 0.7.5 release - Multiple inheritance is not handled correctly
by Teneo - @MappedSuperClass and MultipleInheritance
does not work t... - Multiple inheritance with multi-valued
EReferences in sec...


With Regards, Martin Taal

Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: -
Web: -
Previous Topic:JET Null Pointer Exception & XPath Axes
Next Topic:Teneo 0.8.0/0.7.5 Release Notes/Information
Goto Forum:

Current Time: Wed Oct 21 08:32:24 GMT 2020

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

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

Back to the top