Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO/Hibernate] Export and Import
[CDO/Hibernate] Export and Import [message #953713] Mon, 22 October 2012 13:25 Go to next message
Christoph Keimel is currently offline Christoph KeimelFriend
Messages: 482
Registered: December 2010
Location: Germany
Senior Member
Hello

I am trying to use the export and import feature of CDO using the OSGi commands cdo export and cdo import. The export produces an xml file as expected. When I try to import this file I get an exception.

My question is: Are these features compatible with the Hibernate store?

This is the exception:
15:21:01.639 INFO  o.h.e.i.DefaultLoadEventListener - HHH000327: Error performing load command : org.hibernate.PropertyAccessException: Exception occurred inside setter of org.eclipse.emf.cdo.server.internal.hibernate.HibernateCDOPackageUnitDTO.EPackageBlob
org.hibernate.PropertyAccessException: Exception occurred inside setter of org.eclipse.emf.cdo.server.internal.hibernate.HibernateCDOPackageUnitDTO.EPackageBlob
	at org.hibernate.property.BasicPropertyAccessor$BasicSetter.set(BasicPropertyAccessor.java:88)
...
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...
Caused by: java.lang.NullPointerException
	at org.eclipse.emf.cdo.server.internal.hibernate.HibernateCDOPackageUnitDTO.toByteArray(HibernateCDOPackageUnitDTO.java:108)
...

Greetings
Christoph
Re: [CDO/Hibernate] Export and Import [message #954158 is a reply to message #953713] Mon, 22 October 2012 20:48 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Christoph,
Can you enter a bugzilla for this? There is another bugzilla for import/export on the hibernate store:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=380987

I am now working on auditing for Teneo/Hibernate store. Which takes somewhat of my time..

gr. Martin

On 10/22/2012 03:25 PM, Christoph Keimel wrote:
> Hello
>
> I am trying to use the export and import feature of CDO using the OSGi commands cdo export and cdo import. The export
> produces an xml file as expected. When I try to import this file I get an exception.
>
> My question is: Are these features compatible with the Hibernate store?
>
> This is the exception:
> 15:21:01.639 INFO o.h.e.i.DefaultLoadEventListener - HHH000327: Error performing load command :
> org.hibernate.PropertyAccessException: Exception occurred inside setter of
> org.eclipse.emf.cdo.server.internal.hibernate.HibernateCDOPackageUnitDTO.EPackageBlob
> org.hibernate.PropertyAccessException: Exception occurred inside setter of
> org.eclipse.emf.cdo.server.internal.hibernate.HibernateCDOPackageUnitDTO.EPackageBlob
> at org.hibernate.property.BasicPropertyAccessor$BasicSetter.set(BasicPropertyAccessor.java:88)
> ...
> Caused by: java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> ...
> Caused by: java.lang.NullPointerException
> at
> org.eclipse.emf.cdo.server.internal.hibernate.HibernateCDOPackageUnitDTO.toByteArray(HibernateCDOPackageUnitDTO.java:108)
> ...
> Greetings
> Christoph


--

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@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
Re: [CDO/Hibernate] Export and Import [message #955087 is a reply to message #954158] Tue, 23 October 2012 13:54 Go to previous message
Christoph Keimel is currently offline Christoph KeimelFriend
Messages: 482
Registered: December 2010
Location: Germany
Senior Member
https://bugs.eclipse.org/bugs/show_bug.cgi?id=392653
Previous Topic:xmi:id get lost when saving Resource
Next Topic:Customize XML serialization with EMF
Goto Forum:
  


Current Time: Fri Mar 29 13:59:47 GMT 2024

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

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

Back to the top