Re: [Tenco] library editor tutorial [message #424211] |
Mon, 20 October 2008 18:37 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Hi Andy,
My experience with this particular exception is that the underlying exception (hidden by Hibernate)
is a classnotfoundexception. Hibernate is not able to create an instance of the ENumUserType class.
Assuming that you put the hibernate libraries in a separate plugin, did you set the
eclipse-buddypolicy of this plugin to dependent?
Teneo is now supported on the main EMF newsgroup which I cc-ed on the post.
gr. Martin
Andy Carpenter wrote:
> I've been attempting the library editor tutorial and during the
> hbds.initialize() called an org.hibernate.MappingException
> is thrown with the message "Could not determine type for:
> org.eclipse.emf.teneo.hibernate.mapping.ENumUserType, for columns:
> [org.hibernate.mapping.Column(category)]". This appears to be
> related to the attribute of book with an enum datatype. What is the
> correct way to handle Ecore enums in Teneo?
>
> thanks
> Andy.
>
--
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
|
|
|
Powered by
FUDForum. Page generated in 0.02923 seconds