Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO Hibernate Store] Unable to instantiate default tuplizer
[CDO Hibernate Store] Unable to instantiate default tuplizer [message #549430] Mon, 26 July 2010 15:36 Go to next message
BastienFriend
Messages: 44
Registered: March 2010
Member
Hi,
I am having a problem using CDO with hibernate store.
The fact is that I use a custom hibernate configuration file; and when my server starts I have this error :

Quote:
[ERROR] Unable to instantiate default tuplizer [org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOR evisionTuplizer]
org.hibernate.HibernateException: Unable to instantiate default tuplizer [org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOR evisionTuplizer]
at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTu plizer(EntityTuplizerFactory.java:110)
at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTu plizer(EntityTuplizerFactory.java:82)
at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping . <init>(EntityEntityModeToTuplizerMapping.java:72)
at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:323)
at org.hibernate.persister.entity.AbstractEntityPersister.<init >(AbstractEntityPersister.java:456)
at org.hibernate.persister.entity.JoinedSubclassEntityPersister . <init>(JoinedSubclassEntityPersister.java:113)
at org.hibernate.persister.PersisterFactory.createClassPersiste r(PersisterFactory.java:87)
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:267)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configur ation.java:1341)
at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore .getHibernateSessionFactory(HibernateStore.java:259)
at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore Accessor.beginHibernateSession(HibernateStoreAccessor.java:1 71)
at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore Accessor.getNewHibernateSession(HibernateStoreAccessor.java: 268)
at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore Accessor.write(HibernateStoreAccessor.java:532)
at org.eclipse.emf.cdo.internal.server.TransactionCommitContext .write(TransactionCommitContext.java:309)
at org.eclipse.emf.cdo.internal.server.Repository.initRootResou rce(Repository.java:1414)
at org.eclipse.emf.cdo.internal.server.Repository.doActivate(Re pository.java:1313)
at org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycl e.java:72)
at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(Life cycleUtil.java:98)
at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(Life cycleUtil.java:88)
at org.eclipse.emf.cdo.server.CDOServerUtil.addRepository(CDOSe rverUtil.java:128)
at org.eclipse.emf.cdo.internal.server.RepositoryConfigurator.c onfigure(RepositoryConfigurator.java:96)
at org.eclipse.emf.cdo.internal.server.bundle.CDOServerApplicat ion.doStart(CDOServerApplication.java:58)
at org.eclipse.net4j.util.om.OSGiApplication.start(OSGiApplicat ion.java:61)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
at org.eclipse.equinox.internal.app.AnyThreadAppLauncher.run(An yThreadAppLauncher.java:26)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknow n Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Un known Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTu plizer(EntityTuplizerFactory.java:107)
... 25 more
Caused by: java.lang.NullPointerException
at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore .addEntityNameEClassMapping(HibernateStore.java:149)
at org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORe visionTuplizer.initEClass(CDORevisionTuplizer.java:127)
at org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORe visionTuplizer.buildPropertyGetter(CDORevisionTuplizer.java: 185)
at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:122)
at org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORe visionTuplizer. <init>(CDORevisionTuplizer.java:57)
... 30 more


I actually use CDO 3.0 directly check-out from CVS (R_3_0_GA)

the error is here : org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore .addEntityNameEClassMapping(HibernateStore.java:149)

the eClass parameter parameter seems to be null after some debugging.

Regards,
Bastien.
Re: [CDO Hibernate Store] Unable to instantiate default tuplizer [message #549457 is a reply to message #549430] Mon, 26 July 2010 16:35 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 5574
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------060807070505080008090604
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Hi Bastien,

IIRC Martin is on vacation so he may not be monitoring the newsgroup for some time...

Cheers
/Eike

Contact: http://www.esc-net.de Blogger <http://thegordian.blogspot.com>Twitter <http://twitter.com/eikestepper>Linkedin <http://de.linkedin.com/in/eikestepper>Xing <http://www.xing.com/profile/Eike_Stepper>
Article: What exactly is inside that p2 repository? < http://thegordian.blogspot.com/2010/05/what-exactly-is-insid e-that-p2.html>

I'm going to Eclipse Summit Europe 2010 <http://www.eclipsesummit.org/>



Am 26.07.2010 17:36, schrieb Bastien:
> Hi,
> I am having a problem using CDO with hibernate store.
> The fact is that I use a custom hibernate configuration file; and when my server starts I have this error :
>
> Quote:
>> [ERROR] Unable to instantiate default tuplizer [org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOR evisionTuplizer]
>> org.hibernate.HibernateException: Unable to instantiate default tuplizer [org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOR evisionTuplizer]
>> at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTu plizer(EntityTuplizerFactory.java:110)
>> at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTu plizer(EntityTuplizerFactory.java:82)
>> at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping . <init>(EntityEntityModeToTuplizerMapping.java:72)
>> at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:323)
>> at org.hibernate.persister.entity.AbstractEntityPersister.<init >(AbstractEntityPersister.java:456)
>> at org.hibernate.persister.entity.JoinedSubclassEntityPersister . <init>(JoinedSubclassEntityPersister.java:113)
>> at org.hibernate.persister.PersisterFactory.createClassPersiste r(PersisterFactory.java:87)
>> at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:267)
>> at org.hibernate.cfg.Configuration.buildSessionFactory(Configur ation.java:1341)
>> at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore .getHibernateSessionFactory(HibernateStore.java:259)
>> at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore Accessor.beginHibernateSession(HibernateStoreAccessor.java:1 71)
>> at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore Accessor.getNewHibernateSession(HibernateStoreAccessor.java: 268)
>> at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore Accessor.write(HibernateStoreAccessor.java:532)
>> at org.eclipse.emf.cdo.internal.server.TransactionCommitContext .write(TransactionCommitContext.java:309)
>> at org.eclipse.emf.cdo.internal.server.Repository.initRootResou rce(Repository.java:1414)
>> at org.eclipse.emf.cdo.internal.server.Repository.doActivate(Re pository.java:1313)
>> at org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycl e.java:72)
>> at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(Life cycleUtil.java:98)
>> at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(Life cycleUtil.java:88)
>> at org.eclipse.emf.cdo.server.CDOServerUtil.addRepository(CDOSe rverUtil.java:128)
>> at org.eclipse.emf.cdo.internal.server.RepositoryConfigurator.c onfigure(RepositoryConfigurator.java:96)
>> at org.eclipse.emf.cdo.internal.server.bundle.CDOServerApplicat ion.doStart(CDOServerApplication.java:58)
>> at org.eclipse.net4j.util.om.OSGiApplication.start(OSGiApplicat ion.java:61)
>> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
>> at org.eclipse.equinox.internal.app.AnyThreadAppLauncher.run(An yThreadAppLauncher.java:26)
>> at java.lang.Thread.run(Unknown Source)
>> Caused by: java.lang.reflect.InvocationTargetException
>> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e Method)
>> at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknow n Source)
>> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Un known Source)
>> at java.lang.reflect.Constructor.newInstance(Unknown Source)
>> at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTu plizer(EntityTuplizerFactory.java:107)
>> ... 25 more
>> Caused by: java.lang.NullPointerException
>> at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore .addEntityNameEClassMapping(HibernateStore.java:149)
>> at org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORe visionTuplizer.initEClass(CDORevisionTuplizer.java:127)
>> at org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORe visionTuplizer.buildPropertyGetter(CDORevisionTuplizer.java: 185)
>> at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:122)
>> at org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORe visionTuplizer. <init>(CDORevisionTuplizer.java:57)
>> ... 30 more
>
>
> I actually use CDO 3.0 directly check-out from CVS (R_3_0_GA)
> the error is here : org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore .addEntityNameEClassMapping(HibernateStore.java:149)
>
> the eClass parameter parameter seems to be null after some debugging.
>
> Regards,
> Bastien.

--------------060807070505080008090604
Content-Type: multipart/related;
boundary="------------040809060700040501080405"


--------------040809060700040501080405
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
Hi Bastien,<br>
<br>
IIRC Martin is on vacation so he may not be monitoring the newsgroup
for some time...<br>
<br>
<!--WISESTAMP_SIG_93680_START--><span style="color: black;">
<div dir="ltr">
<div>Cheers<br>
/Eike<br>
<br>
</div>
<div style="padding: 5px 0pt; font-family: arial,sans-serif;
font-size: 13.3px;"><span style="color: gray;">Contact: <a
href="http://www.esc-net.de">http://www.esc-net.de</a></span>
<a href="http://thegordian.blogspot.com" style="padding: 0pt
2px; color: blue; font-size: 10pt;" _service=""><img
src="cid:part1.08020405.01020805@esc-net.de" alt="Blogger"
style="vertical-align: middle; padding-bottom: 5px;"
border="0" height="16" width="16"></a><a
href="http://twitter.com/eikestepper" style="padding: 0pt
2px; color: blue; font-size: 10pt;" _service=""><img
src="cid:part2.04000501.00090100@esc-net.de" alt="Twitter"
style="vertical-align: middle; padding-bottom: 5px;"
border="0" height="16" width="16"></a><a
href="http://de.linkedin.com/in/eikestepper" style="padding:
0pt 2px; color: blue; font-size: 10pt;" _service=""><img
src="cid:part3.08040100.05090401@esc-net.de"
alt="Linkedin" style="vertical-align: middle;
padding-bottom: 5px;" border="0" height="16" width="16"></a><a
href="http://www.xing.com/profile/Eike_Stepper"
style="padding: 0pt 2px; color: blue; font-size: 10pt;"
_service=""><img
src="cid:part4.08080708.04030404@esc-net.de" alt="Xing"
style="vertical-align: middle; padding-bottom: 5px;"
border="0" height="16" width="16"></a></div>
<div style="color: gray; font-size: 13.3px; padding-bottom:
5px;">Article: <span style="color: blue; text-decoration:
underline;"><a
href=" http://thegordian.blogspot.com/2010/05/what-exactly-is-insid e-that-p2.html"
undefined="">What exactly is inside that p2 repository?</a></span></div>
<div><br>
<a href="http://www.eclipsesummit.org/"><img
src="cid:part5.00050509.06010003@esc-net.de" alt="I'm
going to Eclipse Summit Europe 2010" border="0"
height="100" width="130"></a>
<br>
<br>
</div>
</div>
</span><!--WISESTAMP_SIG_93680_END--><br>
<br>
Am 26.07.2010 17:36, schrieb Bastien:
<blockquote cite="mid:i2ka1l$ckm$1@build.eclipse.org" type="cite">Hi,
<br>
I am having a problem using CDO with hibernate store.
<br>
The fact is that I use a custom hibernate configuration file; and
when my server starts I have this error :
<br>
<br>
Quote:
<br>
<blockquote type="cite">[ERROR] Unable to instantiate default
tuplizer 
[org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOR
evisionTuplizer]
<br>
org.hibernate.HibernateException: Unable to instantiate default
tuplizer 
[org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOR
evisionTuplizer]
<br>
    at 
org.hibernate.tuple.entity.EntityTuplizerFactory.constructTu
plizer(EntityTuplizerFactory.java:110)
<br>
    at 
org.hibernate.tuple.entity.EntityTuplizerFactory.constructTu
plizer(EntityTuplizerFactory.java:82)
<br>
    at 
org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping .
&lt;init&gt;(EntityEntityModeToTuplizerMapping.java: 72)
<br>
    at
org.hibernate.tuple.entity.EntityMetamodel.&lt;init& gt;(EntityMetamodel.java:323) <br>
    at
org.hibernate.persister.entity.AbstractEntityPersister.& lt;init
&gt;(AbstractEntityPersister.java:456)
<br>
    at 
org.hibernate.persister.entity.JoinedSubclassEntityPersister .
&lt;init&gt;(JoinedSubclassEntityPersister.java:113)
<br>
    at 
org.hibernate.persister.PersisterFactory.createClassPersiste
r(PersisterFactory.java:87)
<br>
    at
org.hibernate.impl.SessionFactoryImpl.&lt;init&gt;(S essionFactoryImpl.java:267) <br>
    at 
org.hibernate.cfg.Configuration.buildSessionFactory(Configur
ation.java:1341)
<br>
    at 
org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore
.getHibernateSessionFactory(HibernateStore.java:259)
<br>
    at 
org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore
Accessor.beginHibernateSession(HibernateStoreAccessor.java:1 71)
<br>
    at 
org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore
Accessor.getNewHibernateSession(HibernateStoreAccessor.java:
268)
<br>
    at 
org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore
Accessor.write(HibernateStoreAccessor.java:532)
<br>
    at 
org.eclipse.emf.cdo.internal.server.TransactionCommitContext
.write(TransactionCommitContext.java:309)
<br>
    at 
org.eclipse.emf.cdo.internal.server.Repository.initRootResou
rce(Repository.java:1414)
<br>
    at 
org.eclipse.emf.cdo.internal.server.Repository.doActivate(Re
pository.java:1313)
<br>
    at 
org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycl
e.java:72)
<br>
    at 
org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(Life
cycleUtil.java:98)
<br>
    at 
org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(Life
cycleUtil.java:88)
<br>
    at 
org.eclipse.emf.cdo.server.CDOServerUtil.addRepository(CDOSe
rverUtil.java:128)
<br>
    at 
org.eclipse.emf.cdo.internal.server.RepositoryConfigurator.c
onfigure(RepositoryConfigurator.java:96)
<br>
    at 
org.eclipse.emf.cdo.internal.server.bundle.CDOServerApplicat
ion.doStart(CDOServerApplication.java:58)
<br>
    at 
org.eclipse.net4j.util.om.OSGiApplication.start(OSGiApplicat
ion.java:61)
<br>
    at 
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips
eAppHandle.java:194)
<br>
    at 
org.eclipse.equinox.internal.app.AnyThreadAppLauncher.run(An
yThreadAppLauncher.java:26)
<br>
    at java.lang.Thread.run(Unknown Source)
<br>
Caused by: java.lang.reflect.InvocationTargetException
<br>
    at 
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e
Method)
<br>
    at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknow n
Source)
<br>
    at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Un
known Source)
<br>
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
<br>
    at 
org.hibernate.tuple.entity.EntityTuplizerFactory.constructTu
plizer(EntityTuplizerFactory.java:107)
<br>
    ... 25 more
<br>
Caused by: java.lang.NullPointerException
<br>
    at 
org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore
.addEntityNameEClassMapping(HibernateStore.java:149)
<br>
    at 
org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORe
visionTuplizer.initEClass(CDORevisionTuplizer.java:127)
<br>
    at 
org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORe
visionTuplizer.buildPropertyGetter(CDORevisionTuplizer.java:
185)
<br>
    at
org.hibernate.tuple.entity.AbstractEntityTuplizer.&lt;in it&gt;(AbstractEntityTuplizer.java:122) <br>
    at 
org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORe
visionTuplizer. &lt;init&gt;(CDORevisionTuplizer.java:57)
<br>
    ... 30 more
<br>
</blockquote>
<br>
<br>
I actually use CDO 3.0 directly check-out from CVS (R_3_0_GA) <br>
the error is here : 
org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore
.addEntityNameEClassMapping(HibernateStore.java:149)
<br>
<br>
the eClass parameter parameter seems to be null after some
debugging.
<br>
<br>
Regards,
<br>
Bastien.
<br>
</blockquote>
</body>
</html>

--------------040809060700040501080405
Content-Type: image/png;
name="blogger.png"
Content-Transfer-Encoding: base64
Content-ID: <part1.08020405.01020805@esc-net.de>
Content-Disposition: inline;
filename="blogger.png"

iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAAK/I NwWK6QAAABl0
RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAADkUExURf9xEv9m AP////9lAP+Q
SP9kAP9jAP9fAP9nAf9vD//x5/9hAP/iz/9iAP9eAP/s4P9vEP9yEv9qAP9q B/+LRP+we/90
I/+RSP/z6/+jZv/y6P+8kP/59f5yE//awf/Ttv9hAf9nAv/17v+4if9sC/9o BP+bWP/r3v/k
0v+wfP+QRv/o2f9gAP+OQ/93HP/l0/+0gv/Rsv/9/P/j0P+pcP+0hf/dx//D m//+/v+td/9o
AP+NQv/Yvf+zgv/x6P/q2/9xG//p2f9pAP/s3//8+fxxE//ex/+AK/9oCP/j 0f/Uuv///4Xw
StcAAABMdFJOU/////////////////////////////////////////////// ////////////
/////////////////////////////////////////wCejeTMAAAAsklEQVR4 2kSP1w6DMBAE
7cMGQg0hvffee++d//+f2IaIeTlppNXtIo88UAjxEIlhjCUG5lwJQuwoulqh FuUGcWGSiTF7
bt40EEoXBKtyIPQS5PffFqyHlhCS2obTK5kDmJ8lXxgA0zsPXer0L3zSUVmI D9ip3SC+hKwQ
2CxCtXYYL25gu1S8bf4jib5fTM+MNE079jom/+KwJUojwnAVifcQ46jM4M23 BHmkEK53iPcT
YACE/Q4KzoVQVwAAAABJRU5ErkJggg==
--------------040809060700040501080405
Content-Type: image/png;
name="twitter.png"
Content-Transfer-Encoding: base64
Content-ID: <part2.04000501.00090100@esc-net.de>
Content-Disposition: inline;
filename="twitter.png"

iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/ AP+gvaeTAAAA
CXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAAQAAAAEABcxq3DAAABxUlE QVQ4y4WTMW4U
QRBFX3X3zoy8FgZphTCYAEg4gAPEYbgBJEgEXIALkHMfAjIwItnAAfLK2JYB r3dmuj7BzI5m
2WBLqqzq//q/fxt9NTmrzo7MCIhgRpWSsaMSgEta5czcjYtWTKPxfALZXTEE 2wmAxLXD11VL
BZy2MAuJB/iuA3oAoJb4lUUCVkAGTM5t06gjATMjBiPFaFsADvx1MTFoBd/q zHkMeLcLgCEe
JqjbrCJ1IAkghGDz20Z/XEzMMMTnZTsSYANMAl7fq7YlZOBaUCCk4WowwyRA mBmL7CxcmwDu
rh+rzKU71YhQ/dnr8VbiaRF4MgmbAAZkxJU7lRk3Wby5W3FcJlbSICAjZjFS jJ42rSXWgoWL
fYPfLvaCMTVxJ0XoJTmQ/stF6GPABDhzcepi7uJ74yQDuXcDErjjGhkwNvHx xCjMOMkCg3eX
S85zyVEMtGt24GWVxvsM5yi3+nBV8/7iBmJv0gaZQMZhNL4cHXBYdDkY7HQL vD0oebVfQuud
a8FGHSAaP1vnpMmbHgDEECwafLq/x8fZlGfJKCVKiapvXLyoEsdl3JYwBMpd uW1YEjlz4aMh
AY+iURiU/Vf/B6EE4kjfs5YLAAAAAElFTkSuQmCC
--------------040809060700040501080405
Content-Type: image/png;
name="linkedin.png"
Content-Transfer-Encoding: base64
Content-ID: <part3.08040100.05090401@esc-net.de>
Content-Disposition: inline;
filename="linkedin.png"

iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/ AP+gvaeTAAAA
CXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAAQAAAAEABcxq3DAAACGklE QVQ4y6WTO2sU
URTHf3dmdp0kTnZJzErSrPjKYqNY2GljodhoLRLB1sLCD2DrZxAsfCAE/AaC grY+SBQSFTSC
xizGzZ3MTiYz92UxY5KNYuOBP+eew/3/73lwxfWHT9yjuR8YL0CwyxygAAPo Cqr0ntFcvjBB
cH++x8WzJzm8v/EnWVdks0PEgNWO95/XePD4HZ4ADk6MAhD6Hs26/08yBjwr ODrZBK0JADyv
LP7GsX2Evse9xR5Lsvgr+XfsO7ctoKwj9AWh7wEQIFCF+3sFGjCmgiJwQFwY Yge3X3cZrwXM
r2SDg9tJ1rokaw1alRXI3NAO61w60AAHTkE7qtNu1PjSUywsb3L60AgjNcHz hZgXb39WApoA
C3FqsIGjMxYC8OZbxlQU0GmFTLdCznWireV0pobYSDKevuzilMZDg0wN/cxu XdrMLVqX53TT
cu3OJ87cmmdlrQBgemoYKTMwqhSI+4Z0QMBhjANgcTnj1UdJHGd8Xc0AmBit Ecu0moGGODH0
h7cF8tyidSmgjSWWG6AUWpkypw1xLwXA4z8tQINcN/T3moEWtLZbr0mZQV5s 55RFJuU8RHR1
1iWtIzQ8nxOtIVCw9D2lWbM06w4ZZ8wtrEJRcLw9TDMUyKRg7kOPSHQR0ZVZ lyRjMDkOOVAU
FfLS57viHRaJLsHM+THuPtuDUgLTW2U0X672t47rrw82vOu/z9w8xS+MkDzV Boy6+QAAAABJ
RU5ErkJggg==
--------------040809060700040501080405
Content-Type: image/png;
name="xing.png"
Content-Transfer-Encoding: base64
Content-ID: <part4.08080708.04030404@esc-net.de>
Content-Disposition: inline;
filename="xing.png"

iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAACXBIWXMAAAsT AAALEwEAmpwY
AAABsklEQVR42mP8//8/AymAEb+G1x9333hU9fffZy52ZTONrQQ0/P7z7sLd hJfvN7Mw80mL
ROkqTodqAIKvv379+fuXhZmZh50dpv7f49dLLt1LYWD4ryRZCETsrJIIDYdu 3y5fu16AizPE
0CTFzgoo8fPXoxPX/T9/v8DHbWCito6LXRHFDw/evnXpm3D39Ws1Eck9xVmy wqLP3/SevlXC
ysKtLtuoJFmMxdObL17ymzqN8S9LnZddua/VrUcWD149FRNwNFFby8oiiEXD itNnImfN5WTi
nBhu7Gvw5OLdiv+MQnqKU6WEI7AE6+vPnx17+68+fmGrJL0wRe/rl/jbL94r isfqKs1kZuJE
1/Dt16/27TtatmzjYeZcnuZpqnDi3J16FmZxYDhKCAViibiVp8+Ur1v39N0H X12DFRkJ33/u
O3LVk+E/i5xYqq7iNCwaXn769PLTZ0ZGBnFePjE+3j9/3155kPvk9XIudgV9 5XnCfI6Ek8a7
T4dO3vD4+++HlHC4kepywhr+/P0ITEIPXk5jZxXTVpgE1EY48X36euHs7fBv P+8CVespzYGH
FSOpyRsAAuDh4a3m5z0AAAAASUVORK5CYII=
--------------040809060700040501080405
Content-Type: image/gif;
name="130x100_going.gif"
Content-Transfer-Encoding: base64
Content-ID: <part5.00050509.06010003@esc-net.de>
Content-Disposition: inline;
filename="130x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ND+
/MZo+wIMaQExzZAqQCU7oHY58NFqZzoPMBQ7rQIe4sWT89GOrHZfrALhHAE8 3dRO/dQqAABr
8AMdgMwojc8WsMKkLDJO69LT/MaD67TZnDv/LTUDLyBvFrMyGNDUFanWOp3D a23UVWLUB4BT
AQDVeO3UG9AAQyAJV+3JzAzKxFYUEdACxAYXNJ0Dhx0B/dwCuQvT8wMXTQ0X TJ3XTX0Uli1v
mJ3Zlg0AoDAEVPPXydzPpF3apg3HT9RonL3arN3aTo03W9AAVi3a+nzatm3a L1DYcOzavN3b
T70BKcAFWnrPtL3Mt33cyK3avr3crL0B0roHDgAAs+3GgU3dyX3dt83c2r3a GwAAJL0HQrAD
ZWDV2F3e173d6I3XGzAGOwDeWvAAPJAEq6vG9F3f9n3f+J3frWsMAMADD+De bHAAP02sBF7g
Bn7gCH7gEQCd7h0EADs=
--------------040809060700040501080405--

--------------060807070505080008090604--
Re: [CDO Hibernate Store] Unable to instantiate default tuplizer [message #549496 is a reply to message #549457] Mon, 26 July 2010 20:54 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5339
Registered: July 2009
Senior Member
It was only a 2 weeks holiday :-).

Bastien, can you debug a bit more down the stacktrace, in the CDORevisionTuplizer. Can you check what the value of the
eClassName variable is?
Also is the EPackage (containing the eclass) present in the hbStore.getPackageHandler().getEPackages()?

gr. Martin

On 07/26/2010 06:35 PM, Eike Stepper wrote:
> Hi Bastien,
>
> IIRC Martin is on vacation so he may not be monitoring the newsgroup for
> some time...
>
> Cheers
> /Eike
>
> Contact: http://www.esc-net.de Blogger
> <http://thegordian.blogspot.com>Twitter
> <http://twitter.com/eikestepper>Linkedin
> <http://de.linkedin.com/in/eikestepper>Xing
> <http://www.xing.com/profile/Eike_Stepper>
> Article: What exactly is inside that p2 repository?
> < http://thegordian.blogspot.com/2010/05/what-exactly-is-insid e-that-p2.html>
>
> I'm going to Eclipse Summit Europe 2010 <http://www.eclipsesummit.org/>
>
>
>
> Am 26.07.2010 17:36, schrieb Bastien:
>> Hi,
>> I am having a problem using CDO with hibernate store.
>> The fact is that I use a custom hibernate configuration file; and when
>> my server starts I have this error :
>>
>> Quote:
>>> [ERROR] Unable to instantiate default tuplizer
>>> [org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOR
>>> evisionTuplizer]
>>> org.hibernate.HibernateException: Unable to instantiate default
>>> tuplizer
>>> [org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOR
>>> evisionTuplizer]
>>> at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTu
>>> plizer(EntityTuplizerFactory.java:110)
>>> at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTu
>>> plizer(EntityTuplizerFactory.java:82)
>>> at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping
>>> . <init>(EntityEntityModeToTuplizerMapping.java:72)
>>> at
>>> org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:323)
>>> at org.hibernate.persister.entity.AbstractEntityPersister.<init
>>> >(AbstractEntityPersister.java:456)
>>> at org.hibernate.persister.entity.JoinedSubclassEntityPersister
>>> . <init>(JoinedSubclassEntityPersister.java:113)
>>> at org.hibernate.persister.PersisterFactory.createClassPersiste
>>> r(PersisterFactory.java:87)
>>> at
>>> org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:267)
>>> at org.hibernate.cfg.Configuration.buildSessionFactory(Configur
>>> ation.java:1341)
>>> at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore
>>> .getHibernateSessionFactory(HibernateStore.java:259)
>>> at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore
>>> Accessor.beginHibernateSession(HibernateStoreAccessor.java:1 71)
>>> at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore
>>> Accessor.getNewHibernateSession(HibernateStoreAccessor.java: 268)
>>> at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore
>>> Accessor.write(HibernateStoreAccessor.java:532)
>>> at org.eclipse.emf.cdo.internal.server.TransactionCommitContext
>>> .write(TransactionCommitContext.java:309)
>>> at org.eclipse.emf.cdo.internal.server.Repository.initRootResou
>>> rce(Repository.java:1414)
>>> at org.eclipse.emf.cdo.internal.server.Repository.doActivate(Re
>>> pository.java:1313)
>>> at org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycl
>>> e.java:72)
>>> at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(Life
>>> cycleUtil.java:98)
>>> at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(Life
>>> cycleUtil.java:88)
>>> at org.eclipse.emf.cdo.server.CDOServerUtil.addRepository(CDOSe
>>> rverUtil.java:128)
>>> at org.eclipse.emf.cdo.internal.server.RepositoryConfigurator.c
>>> onfigure(RepositoryConfigurator.java:96)
>>> at org.eclipse.emf.cdo.internal.server.bundle.CDOServerApplicat
>>> ion.doStart(CDOServerApplication.java:58)
>>> at org.eclipse.net4j.util.om.OSGiApplication.start(OSGiApplicat
>>> ion.java:61)
>>> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips
>>> eAppHandle.java:194)
>>> at org.eclipse.equinox.internal.app.AnyThreadAppLauncher.run(An
>>> yThreadAppLauncher.java:26)
>>> at java.lang.Thread.run(Unknown Source)
>>> Caused by: java.lang.reflect.InvocationTargetException
>>> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ
>>> e Method)
>>> at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknow
>>> n Source)
>>> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Un
>>> known Source)
>>> at java.lang.reflect.Constructor.newInstance(Unknown Source)
>>> at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTu
>>> plizer(EntityTuplizerFactory.java:107)
>>> ... 25 more
>>> Caused by: java.lang.NullPointerException
>>> at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore
>>> .addEntityNameEClassMapping(HibernateStore.java:149)
>>> at org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORe
>>> visionTuplizer.initEClass(CDORevisionTuplizer.java:127)
>>> at org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORe
>>> visionTuplizer.buildPropertyGetter(CDORevisionTuplizer.java: 185)
>>> at
>>> org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:122)
>>> at org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORe
>>> visionTuplizer. <init>(CDORevisionTuplizer.java:57)
>>> ... 30 more
>>
>>
>> I actually use CDO 3.0 directly check-out from CVS (R_3_0_GA)
>> the error is here :
>> org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore
>> .addEntityNameEClassMapping(HibernateStore.java:149)
>>
>> the eClass parameter parameter seems to be null after some debugging.
>>
>> Regards,
>> Bastien.


--

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: [CDO Hibernate Store] Unable to instantiate default tuplizer [message #549576 is a reply to message #549496] Tue, 27 July 2010 09:14 Go to previous messageGo to next message
BastienFriend
Messages: 44
Registered: March 2010
Member
Hi Martin,
here's my problem, In the model I want to commit, I have an attribute which sometimes contains a string with more than 255 characters, here's the corresponding generated mapping:

<column not-null="true" unique="false" name="`value`" />

the thing is that in the generated database, the type of this column is VARCHAR(255).

So I followed these advices :

http://wiki.eclipse.org/CDO_Hibernate_Store_Configuration_an d_Setup

in order to add additionnal parameters to the generated mapping, for example in my case, I retreived the generated mapping (which contains the basic CDO mapping and the mapping corresponding to my metamodel) and added the "sql-type" parameter to my previous column:

<column not-null="true" unique="false" name="`value`" sql-type="TEXT"/>

But I think in order to do that I need to register my metamodel server side for him to know my ePackage and the corresponding eClasses (and that's may be the cause of the NPE). I added a plugin server side which contains my metamodel and the generated code for CDO but I don't think it's enough because it still not work.

Regards,
Bastien.
Re: [CDO Hibernate Store] Unable to instantiate default tuplizer [message #549588 is a reply to message #549576] Tue, 27 July 2010 09:55 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5339
Registered: July 2009
Senior Member
Hi Bastien,
In this case it is better to add an annotation to the model to tell Teneo that the column should have a longer length or
is a text type.
Then Teneo will use this info to generate a different mapping. Regarding annotations, basically the whole jpa 1.0 spec
is supported.

For example this annotation will set the column length:
@Column(length=2000)
and this one sets it to be a text:
@Lob

you can also combine the two annotations. The @Lob will result in the type="text" for a string.

See this page:
http://wiki.eclipse.org/CDO_Hibernate_Store_Model_Relational _Mapping

btw, based on your experience, probably this section has to be adapted:
http://wiki.eclipse.org/CDO_Hibernate_Store_Model_Relational _Mapping#Generating_the_mapping.2C_manually_changing_it_and_ then_use_the_manual_mapping

I will check with Eike on this.

gr. Martin

On 07/27/2010 11:14 AM, Bastien wrote:
> Hi Martin,
> here's my problem, In the model I want to commit, I have an attribute
> which sometimes contains a string with more than 255 characters, here's
> the corresponding generated mapping:
>
> <column not-null="true" unique="false" name="`value`" />
>
> the thing is that in the generated database, the type of this column is
> VARCHAR(255).
>
> So I followed these advices :
>
> http://wiki.eclipse.org/CDO_Hibernate_Store_Configuration_an d_Setup
>
> in order to add additionnal parameters to the generated mapping, for
> example in my case, I retreived the generated mapping (which contains
> the basic CDO mapping and the mapping corresponding to my metamodel) and
> added the "sql-type" parameter to my previous column:
>
> <column not-null="true" unique="false" name="`value`" sql-type="TEXT"/>
>
> But I think in order to do that I need to register my metamodel server
> side for him to know my ePackage and the corresponding eClasses (and
> that's may be the cause of the NPE). I added a plugin server side which
> contains my metamodel and the generated code for CDO but I don't think
> it's enough because it still not work.
>
> Regards,
> Bastien.


--

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: [CDO Hibernate Store] Unable to instantiate default tuplizer [message #549643 is a reply to message #549588] Tue, 27 July 2010 12:55 Go to previous messageGo to next message
BastienFriend
Messages: 44
Registered: March 2010
Member
Hi Martin,
Thanks for your advices, I'm wondering if these annotations on the metamodel can help me with an other problem.
Actually I commit several models, and all of them are conform to different metamodels. But the thing is that in my these metamodels I have eClasses which have the same name and when I try to commit my models I have this error :

Quote:
org.hibernate.DuplicateMappingException: Duplicate class/entity mapping Batch
at org.hibernate.cfg.Mappings.addClass(Mappings.java:141)
at org.hibernate.cfg.HbmBinder.handleJoinedSubclass(HbmBinder.j ava:2233)
at org.hibernate.cfg.HbmBinder.bindRoot(HbmBinder.java:175)
at org.hibernate.cfg.Configuration.add(Configuration.java:716)
at org.hibernate.cfg.Configuration.addXML(Configuration.java:48 7)
at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore .initConfiguration(HibernateStore.java:443)


So I added a configuration file like this:

Quote:
<?xml version="1.0" encoding="utf-8"?>
<persistence-mapping xmlns="http://www.eclipse.org/emft/teneo"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<epackage namespace-uri="http://MyMetamodel">
<eclass name="Batch">
<table name="myMM_batch"/>
</eclass>
</epackage>
</persistence-mapping>


But my feeling is that it's not intended to be used for the mapping generation but only for the creation of the tables in my database.

Regards,
Bastien.
Re: [CDO Hibernate Store] Unable to instantiate default tuplizer [message #549718 is a reply to message #549457] Tue, 27 July 2010 16:45 Go to previous messageGo to next message
BastienFriend
Messages: 44
Registered: March 2010
Member
Hi Eike,
Thanks for the infos, Martin seems to be back from holidays Smile
I'd like to know if there's a way to activate the tracer you made in your sourcecode ( the class is org.eclipse.net4j.util.om.trace.ContextTracer), is it possible to activate it directly in the server configuration?

Regards,
Bastien.
Re: [CDO Hibernate Store] Unable to instantiate default tuplizer [message #549751 is a reply to message #549643] Tue, 27 July 2010 19:51 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5339
Registered: July 2009
Senior Member
Hi Bastien,
Instead of <table name="myMM_batch"/> you should try this:
<entity name="myMM_batch"/>

This controls the entity name. Another approach is to set another entity name generation strategy:
http://wiki.eclipse.org/Teneo/Hibernate/Extensions#EntityNam eStrategy_ExtensionPoint_.28org.eclipse.emf.teneo.mapping.st rategy.EntityNameStrategy.29

(hyperlink can be truncated by email client) see the last entity name strategy to get unique entity naming using the
epackage nsprefix.

See here how to set extensions when Teneo is combined with CDO:
http://wiki.eclipse.org/CDO_Hibernate_Store_Model_Relational _Mapping#Teneo_Extensions

gr. Martin

On 07/27/2010 02:55 PM, Bastien wrote:
> Hi Martin,
> Thanks for your advices, I'm wondering if these annotations on the
> metamodel can help me with an other problem.
> Actually I commit several models, and all of them are conform to
> different metamodels. But the thing is that in my these metamodels I
> have eClasses which have the same name and when I try to commit my
> models I have this error :
>
> Quote:
>> org.hibernate.DuplicateMappingException: Duplicate class/entity
>> mapping Batch
>> at org.hibernate.cfg.Mappings.addClass(Mappings.java:141)
>> at org.hibernate.cfg.HbmBinder.handleJoinedSubclass(HbmBinder.j ava:2233)
>> at org.hibernate.cfg.HbmBinder.bindRoot(HbmBinder.java:175)
>> at org.hibernate.cfg.Configuration.add(Configuration.java:716)
>> at org.hibernate.cfg.Configuration.addXML(Configuration.java:48 7)
>> at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore
>> .initConfiguration(HibernateStore.java:443)
>
>
> So I added a configuration file like this:
>
> Quote:
>> <?xml version="1.0" encoding="utf-8"?>
>> <persistence-mapping xmlns="http://www.eclipse.org/emft/teneo"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>>
>> <epackage namespace-uri="http://MyMetamodel">
>> <eclass name="Batch">
>> <table name="myMM_batch"/>
>> </eclass>
>> </epackage>
>> </persistence-mapping>
>
>
> But my feeling is that it's not intended to be used for the mapping
> generation but only for the creation of the tables in my database.
>
> Regards,
> Bastien.


--

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: [CDO Hibernate Store] Unable to instantiate default tuplizer (TRACING) [message #549814 is a reply to message #549718] Wed, 28 July 2010 05:47 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 5574
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------010005020600020208090400
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Hi Bastien,

For tracing you need to switch on OMPlatform.INSTANCE.setDebugging(true) first. Selective tracers can be controlled either via the methods on OMPlatform.INSTANCE.bundle(bundleID, null).getDebugSupport() or via a global options file that you specify on the OSGi command line "-debug options_file".

While the above settings control what will emit trace records you'll also need to register an OMTraceHandler with the OMPlatform, like in:

| PrintTraceHandler.CONSOLE.setShortContext(*true*);
OMPlatform.INSTANCE.addTraceHandler(PrintTraceHandler.CONSOL E);
OMPlatform.INSTANCE.addLogHandler(PrintLogHandler.CONSOLE);
OMPlatform.INSTANCE.setDebugging(*true*);|



Cheers
/Eike

Contact: http://www.esc-net.de Blogger <http://thegordian.blogspot.com>Twitter <http://twitter.com/eikestepper>Linkedin <http://de.linkedin.com/in/eikestepper>Xing <http://www.xing.com/profile/Eike_Stepper>
Article: What exactly is inside that p2 repository? < http://thegordian.blogspot.com/2010/05/what-exactly-is-insid e-that-p2.html>

I'm going to Eclipse Summit Europe 2010 <http://www.eclipsesummit.org/>



Am 27.07.2010 18:45, schrieb Bastien:
> Hi Eike,
> Thanks for the infos, Martin seems to be back from holidays :)
> I'd like to know if there's a way to activate the tracer you made in your sourcecode ( the class is org.eclipse.net4j.util.om.trace.ContextTracer), is it possible to activate it directly in the server configuration?
>
> Regards,
> Bastien.

--------------010005020600020208090400
Content-Type: multipart/related;
boundary="------------050507050305050404000101"


--------------050507050305050404000101
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
Hi Bastien,<br>
<br>
For tracing you need to switch on
OMPlatform.INSTANCE.setDebugging(true) first. Selective tracers can
be controlled either via the methods on
OMPlatform.INSTANCE.bundle(bundleID, null).getDebugSupport() or via
a global options file that you specify on the OSGi command line
"-debug options_file".<br>
<br>
While the above settings control what will emit trace records you'll
also need to register an OMTraceHandler with the OMPlatform, like
in:<br>
<br>
<title></title>
<style type="text/css">
<!--code { font-family: Courier New, Courier; font-size: 10pt; margin: 0px; }-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- ======================================================== -->
<!-- = Java Sourcecode to HTML automatically converted code = -->
<!-- = Java2Html Converter 5.0 [2006-02-26] by Markus Gebhard markus@jave.de = -->
<!-- = Further information: http://www.java2html.de = -->
<div class="java" align="left">
<table bgcolor="#ffffff" border="0" cellpadding="3"
cellspacing="0">
<tbody>
<tr>
<!-- start source code --> <td nowrap="nowrap" align="left"
valign="top"> <code>
<font color="#ffffff">      </font><font color="#000000">PrintTraceHandler.CONSOLE.setShortContext</font ><font
color="#000000">(</font><font color="#7f0055"><b>true</b></font><font
color="#000000">)</font><font color="#000000">;</font><br>
<font color="#ffffff">      </font><font color="#000000">OMPlatform.INSTANCE.addTraceHandler</font ><font
color="#000000">(</font><font color="#000000">PrintTraceHandler.CONSOLE</font><font
color="#000000">)</font><font color="#000000">;</font><br>
<font color="#ffffff">      </font><font color="#000000">OMPlatform.INSTANCE.addLogHandler</font><font
color="#000000">(</font><font color="#000000">PrintLogHandler.CONSOLE</font><font
color="#000000">)</font><font color="#000000">;</font><br>
<font color="#ffffff">      </font><font color="#000000">OMPlatform.INSTANCE.setDebugging</font><font
color="#000000">(</font><font color="#7f0055"><b>true</b></font><font
color="#000000">)</font><font color="#000000">;</font></code>
</td>
<!-- end source code --> </tr>
</tbody>
</table>
</div>
<!-- = END of automatically generated HTML code = -->
<!-- ======================================================== -->
<br>
<br>
<!--WISESTAMP_SIG_84491_START--><span style="color: black;">
<div dir="ltr">
<div>Cheers<br>
/Eike<br>
<br>
</div>
<div style="padding: 5px 0pt; font-family: arial,sans-serif;
font-size: 13.3px;"><span style="color: gray;">Contact: <a
href="http://www.esc-net.de">http://www.esc-net.de</a></span>
<a href="http://thegordian.blogspot.com" style="padding: 0pt
2px; color: blue; font-size: 10pt;" _service=""><img
src="cid:part1.09070901.01050406@esc-net.de" alt="Blogger"
style="vertical-align: middle; padding-bottom: 5px;"
border="0" height="16" width="16"></a><a
href="http://twitter.com/eikestepper" style="padding: 0pt
2px; color: blue; font-size: 10pt;" _service=""><img
src="cid:part2.05080000.00020507@esc-net.de" alt="Twitter"
style="vertical-align: middle; padding-bottom: 5px;"
border="0" height="16" width="16"></a><a
href="http://de.linkedin.com/in/eikestepper" style="padding:
0pt 2px; color: blue; font-size: 10pt;" _service=""><img
src="cid:part3.01090903.06010607@esc-net.de"
alt="Linkedin" style="vertical-align: middle;
padding-bottom: 5px;" border="0" height="16" width="16"></a><a
href="http://www.xing.com/profile/Eike_Stepper"
style="padding: 0pt 2px; color: blue; font-size: 10pt;"
_service=""><img
src="cid:part4.01040907.09080808@esc-net.de" alt="Xing"
style="vertical-align: middle; padding-bottom: 5px;"
border="0" height="16" width="16"></a></div>
<div style="color: gray; font-size: 13.3px; padding-bottom:
5px;">Article: <span style="color: blue; text-decoration:
underline;"><a
href=" http://thegordian.blogspot.com/2010/05/what-exactly-is-insid e-that-p2.html"
undefined="">What exactly is inside that p2 repository?</a></span></div>
<div><br>
<a href="http://www.eclipsesummit.org/"><img
src="cid:part5.02060201.00090401@esc-net.de" alt="I'm
going to Eclipse Summit Europe 2010" border="0"
height="100" width="130"></a>
<br>
<br>
</div>
</div>
</span><!--WISESTAMP_SIG_84491_END--><br>
<br>
Am 27.07.2010 18:45, schrieb Bastien:
<blockquote cite="mid:i2n2fc$b6k$1@build.eclipse.org" type="cite">Hi
Eike,
<br>
Thanks for the infos, Martin seems to be back from holidays :)
<br>
I'd like to know if there's a way to activate the tracer you made
in your sourcecode ( the class is
org.eclipse.net4j.util.om.trace.ContextTracer), is it possible to
activate it directly in the server configuration?
<br>
<br>
Regards,
<br>
Bastien.
<br>
</blockquote>
</body>
</html>

--------------050507050305050404000101
Content-Type: image/png;
name="blogger.png"
Content-Transfer-Encoding: base64
Content-ID: <part1.09070901.01050406@esc-net.de>
Content-Disposition: inline;
filename="blogger.png"

iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAAK/I NwWK6QAAABl0
RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAADkUExURf9xEv9m AP////9lAP+Q
SP9kAP9jAP9fAP9nAf9vD//x5/9hAP/iz/9iAP9eAP/s4P9vEP9yEv9qAP9q B/+LRP+we/90
I/+RSP/z6/+jZv/y6P+8kP/59f5yE//awf/Ttv9hAf9nAv/17v+4if9sC/9o BP+bWP/r3v/k
0v+wfP+QRv/o2f9gAP+OQ/93HP/l0/+0gv/Rsv/9/P/j0P+pcP+0hf/dx//D m//+/v+td/9o
AP+NQv/Yvf+zgv/x6P/q2/9xG//p2f9pAP/s3//8+fxxE//ex/+AK/9oCP/j 0f/Uuv///4Xw
StcAAABMdFJOU/////////////////////////////////////////////// ////////////
/////////////////////////////////////////wCejeTMAAAAsklEQVR4 2kSP1w6DMBAE
7cMGQg0hvffee++d//+f2IaIeTlppNXtIo88UAjxEIlhjCUG5lwJQuwoulqh FuUGcWGSiTF7
bt40EEoXBKtyIPQS5PffFqyHlhCS2obTK5kDmJ8lXxgA0zsPXer0L3zSUVmI D9ip3SC+hKwQ
2CxCtXYYL25gu1S8bf4jib5fTM+MNE079jom/+KwJUojwnAVifcQ46jM4M23 BHmkEK53iPcT
YACE/Q4KzoVQVwAAAABJRU5ErkJggg==
--------------050507050305050404000101
Content-Type: image/png;
name="twitter.png"
Content-Transfer-Encoding: base64
Content-ID: <part2.05080000.00020507@esc-net.de>
Content-Disposition: inline;
filename="twitter.png"

iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/ AP+gvaeTAAAA
CXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAAQAAAAEABcxq3DAAABxUlE QVQ4y4WTMW4U
QRBFX3X3zoy8FgZphTCYAEg4gAPEYbgBJEgEXIALkHMfAjIwItnAAfLK2JYB r3dmuj7BzI5m
2WBLqqzq//q/fxt9NTmrzo7MCIhgRpWSsaMSgEta5czcjYtWTKPxfALZXTEE 2wmAxLXD11VL
BZy2MAuJB/iuA3oAoJb4lUUCVkAGTM5t06gjATMjBiPFaFsADvx1MTFoBd/q zHkMeLcLgCEe
JqjbrCJ1IAkghGDz20Z/XEzMMMTnZTsSYANMAl7fq7YlZOBaUCCk4WowwyRA mBmL7CxcmwDu
rh+rzKU71YhQ/dnr8VbiaRF4MgmbAAZkxJU7lRk3Wby5W3FcJlbSICAjZjFS jJ42rSXWgoWL
fYPfLvaCMTVxJ0XoJTmQ/stF6GPABDhzcepi7uJ74yQDuXcDErjjGhkwNvHx xCjMOMkCg3eX
S85zyVEMtGt24GWVxvsM5yi3+nBV8/7iBmJv0gaZQMZhNL4cHXBYdDkY7HQL vD0oebVfQuud
a8FGHSAaP1vnpMmbHgDEECwafLq/x8fZlGfJKCVKiapvXLyoEsdl3JYwBMpd uW1YEjlz4aMh
AY+iURiU/Vf/B6EE4kjfs5YLAAAAAElFTkSuQmCC
--------------050507050305050404000101
Content-Type: image/png;
name="linkedin.png"
Content-Transfer-Encoding: base64
Content-ID: <part3.01090903.06010607@esc-net.de>
Content-Disposition: inline;
filename="linkedin.png"

iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/ AP+gvaeTAAAA
CXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAAQAAAAEABcxq3DAAACGklE QVQ4y6WTO2sU
URTHf3dmdp0kTnZJzErSrPjKYqNY2GljodhoLRLB1sLCD2DrZxAsfCAE/AaC grY+SBQSFTSC
xizGzZ3MTiYz92UxY5KNYuOBP+eew/3/73lwxfWHT9yjuR8YL0CwyxygAAPo Cqr0ntFcvjBB
cH++x8WzJzm8v/EnWVdks0PEgNWO95/XePD4HZ4ADk6MAhD6Hs26/08yBjwr ODrZBK0JADyv
LP7GsX2Evse9xR5Lsvgr+XfsO7ctoKwj9AWh7wEQIFCF+3sFGjCmgiJwQFwY Yge3X3cZrwXM
r2SDg9tJ1rokaw1alRXI3NAO61w60AAHTkE7qtNu1PjSUywsb3L60AgjNcHz hZgXb39WApoA
C3FqsIGjMxYC8OZbxlQU0GmFTLdCznWireV0pobYSDKevuzilMZDg0wN/cxu XdrMLVqX53TT
cu3OJ87cmmdlrQBgemoYKTMwqhSI+4Z0QMBhjANgcTnj1UdJHGd8Xc0AmBit Ecu0moGGODH0
h7cF8tyidSmgjSWWG6AUWpkypw1xLwXA4z8tQINcN/T3moEWtLZbr0mZQV5s 55RFJuU8RHR1
1iWtIzQ8nxOtIVCw9D2lWbM06w4ZZ8wtrEJRcLw9TDMUyKRg7kOPSHQR0ZVZ lyRjMDkOOVAU
FfLS57viHRaJLsHM+THuPtuDUgLTW2U0X672t47rrw82vOu/z9w8xS+MkDzV Boy6+QAAAABJ
RU5ErkJggg==
--------------050507050305050404000101
Content-Type: image/png;
name="xing.png"
Content-Transfer-Encoding: base64
Content-ID: <part4.01040907.09080808@esc-net.de>
Content-Disposition: inline;
filename="xing.png"

iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAACXBIWXMAAAsT AAALEwEAmpwY
AAABsklEQVR42mP8//8/AymAEb+G1x9333hU9fffZy52ZTONrQQ0/P7z7sLd hJfvN7Mw80mL
ROkqTodqAIKvv379+fuXhZmZh50dpv7f49dLLt1LYWD4ryRZCETsrJIIDYdu 3y5fu16AizPE
0CTFzgoo8fPXoxPX/T9/v8DHbWCito6LXRHFDw/evnXpm3D39Ws1Eck9xVmy wqLP3/SevlXC
ysKtLtuoJFmMxdObL17ymzqN8S9LnZddua/VrUcWD149FRNwNFFby8oiiEXD itNnImfN5WTi
nBhu7Gvw5OLdiv+MQnqKU6WEI7AE6+vPnx17+68+fmGrJL0wRe/rl/jbL94r isfqKs1kZuJE
1/Dt16/27TtatmzjYeZcnuZpqnDi3J16FmZxYDhKCAViibiVp8+Ur1v39N0H X12DFRkJ33/u
O3LVk+E/i5xYqq7iNCwaXn769PLTZ0ZGBnFePjE+3j9/3155kPvk9XIudgV9 5XnCfI6Ek8a7
T4dO3vD4+++HlHC4kepywhr+/P0ITEIPXk5jZxXTVpgE1EY48X36euHs7fBv P+8CVespzYGH
FSOpyRsAAuDh4a3m5z0AAAAASUVORK5CYII=
--------------050507050305050404000101
Content-Type: image/gif;
name="130x100_going.gif"
Content-Transfer-Encoding: base64
Content-ID: <part5.02060201.00090401@esc-net.de>
Content-Disposition: inline;
filename="130x100_going.gif"

R0lGODlhggBkANU/AAI6m5unzAFEnevmBBdYp26MwSdhrezv9ShbpkdJl8zT 5iosTk5RczdZ
pUxws4+Vujlhq296sauxNTZpsY6cUjtLl0pBjWmLbMzM3yVUngxDnzQ/j1B0 fjRTnm1skRRN
oxsaNCVKlb3I30JPnEY+iQVRojY+ZzhskyVDhEdbok5DlIh+smNfLmNYlS5l r1dSmztQhUZa
iV1eg93b6MTJIx5eq0xMfdvh7UJAaGtipL24E7W50Ct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3arN3aTo03W9AAVi3a+nzatm3a L1DYcOzavN3b
T70BKcAFWnrPtL3Mt33cyK3avr3crL0B0roHDgAAs+3GgU3dyX3dt83c2r3a GwAAJL0HQrAD
ZWDV2F3e173d6I3XGzAGOwDeWvAAPJAEq6vG9F3f9n3f+J3frWsMAMADD+De bHAAP02sBF7g
Bn7gCH7gEQCd7h0EADs=
--------------050507050305050404000101--

--------------010005020600020208090400--
Re: [CDO Hibernate Store] Unable to instantiate default tuplizer [message #895492 is a reply to message #549496] Fri, 13 July 2012 09:19 Go to previous messageGo to next message
John edualc is currently offline John edualcFriend
Messages: 4
Registered: December 2011
Junior Member
Hello Martin,

First thanks to Eike and you and all commiters working on this great project i'm discovering !

I'm currently facing an issue trying to configure my own hibernate mapping file. I have set the mapping file location in the mappingProvider in the cdo-server.xml and i have exactly this problem : my EPackages are not present in the hbStore.getPackageHandler().getEPackages() and i can't figure out how to add them...

i'm using hibernate 4.1.1, eclipse 4.2, teneo 2.0.0 (v201205230527) and cdo hibernate server (4.1.0 v20120612-1733).

I'm still trying to debug but in case you have the solution... Wink

Regards,
Jonathan

>It was only a 2 weeks holiday Smile.
>
>Bastien, can you debug a bit more down the stacktrace, in the CDORevisionTuplizer. >Can you check what the value of the
>eClassName variable is?
>Also is the EPackage (containing the eclass) present in the >hbStore.getPackageHandler().getEPackages()?
>
>gr. Martin
Re: [CDO Hibernate Store] Unable to instantiate default tuplizer [message #895511 is a reply to message #895492] Fri, 13 July 2012 10:47 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5339
Registered: July 2009
Senior Member
Hi John,
The epackages are registered when you commit a transaction. Does it work correctly when not using your own mapping file?

gr. Martin

On 07/13/2012 11:19 AM, John edualc wrote:
> Hello Martin,
>
> First thanks to Eike and you and all commiters working on this great project i'm discovering !
>
> I'm currently facing an issue trying to configure my own hibernate mapping file. I have set the mapping file location in
> the mappingProvider in the cdo-server.xml and i have exactly this problem : my EPackages are not present in the
> hbStore.getPackageHandler().getEPackages() and i can't figure out how to add them...
>
> i'm using hibernate 4.1.1, eclipse 4.2, teneo 2.0.0 (v201205230527) and cdo hibernate server (4.1.0 v20120612-1733).
>
> I'm still trying to debug but in case you have the solution... ;)
>
> Regards,
> Jonathan
>
>> It was only a 2 weeks holiday :).
>>
>> Bastien, can you debug a bit more down the stacktrace, in the CDORevisionTuplizer. >Can you check what the value of the
>> eClassName variable is?
>> Also is the EPackage (containing the eclass) present in the >hbStore.getPackageHandler().getEPackages()?
>>
>> gr. Martin


--

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 Store] Unable to instantiate default tuplizer [message #895533 is a reply to message #895511] Fri, 13 July 2012 12:50 Go to previous messageGo to next message
John edualc is currently offline John edualcFriend
Messages: 4
Registered: December 2011
Junior Member
Hello Martin

When not using mapping file it works.

The problem arrives when trying to use a hibernate mapping file (even the example mapping file : generated_hbm.xml)

So i workaround this by implementing my mappings with the teneo annotations mapping file (following the other example : company_model_teneo_annotations.xml and it's working.

below you can see the stack trace i have when using the generated_hbm.xml mapping file. When i was debugging it seems to me that it was trying to find an eclass from company model but the company model was not contained in the hbStore.getPackageHandler().getEPackages().

[ERROR] Could not get constructor for org.hibernate.persister.entity.JoinedSubclassEntityPersister
org.hibernate.MappingException: Could not get constructor for org.hibernate.persister.entity.JoinedSubclassEntityPersister
	at org.hibernate.persister.internal.PersisterFactoryImpl.create(PersisterFactoryImpl.java:185)
	at org.hibernate.persister.internal.PersisterFactoryImpl.createEntityPersister(PersisterFactoryImpl.java:135)
	at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:384)
	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1740)
	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1778)
	at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore.getHibernateSessionFactory(HibernateStore.java:260)
	at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStoreAccessor.beginHibernateSession(HibernateStoreAccessor.java:194)
	at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStoreAccessor.getNewHibernateSession(HibernateStoreAccessor.java:291)
	at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStoreAccessor.doWrite(HibernateStoreAccessor.java:661)
	at org.eclipse.emf.cdo.spi.server.StoreAccessorBase.write(StoreAccessorBase.java:149)
	at org.eclipse.emf.cdo.internal.server.TransactionCommitContext.write(TransactionCommitContext.java:487)
	at org.eclipse.emf.cdo.internal.server.Repository.initRootResource(Repository.java:1736)
	at org.eclipse.emf.cdo.internal.server.Repository.doActivate(Repository.java:1864)
	at org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycle.java:76)
	at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:114)
	at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:104)
	at org.eclipse.emf.cdo.server.CDOServerUtil.addRepository(CDOServerUtil.java:208)
	at org.eclipse.emf.cdo.spi.server.RepositoryConfigurator.configure(RepositoryConfigurator.java:111)
	at org.eclipse.emf.cdo.internal.server.bundle.CDOServerApplication.doStart(CDOServerApplication.java:61)
	at org.eclipse.net4j.util.om.OSGiApplication.start(OSGiApplication.java:63)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.equinox.internal.app.AnyThreadAppLauncher.run(AnyThreadAppLauncher.java:26)
	at java.lang.Thread.run(Thread.java:662)
Caused by: org.hibernate.HibernateException: Unable to instantiate default tuplizer [org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer]
	at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer(EntityTuplizerFactory.java:138)
	at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer(EntityTuplizerFactory.java:84)
	at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:344)
	at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:503)
	at org.hibernate.persister.entity.JoinedSubclassEntityPersister.<init>(JoinedSubclassEntityPersister.java:129)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at org.hibernate.persister.internal.PersisterFactoryImpl.create(PersisterFactoryImpl.java:163)
	... 22 more
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer(EntityTuplizerFactory.java:135)
	... 31 more
Caused by: java.lang.NullPointerException
	at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore.addEntityNameEClassMapping(HibernateStore.java:160)
	at org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer.initEClass(CDORevisionTuplizer.java:131)
	at org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer.buildPropertyGetter(CDORevisionTuplizer.java:189)
	at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:181)
	at org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer.<init>(CDORevisionTuplizer.java:61)
	... 36 more
[ERROR] Could not get constructor for org.hibernate.persister.entity.JoinedSubclassEntityPersister
org.hibernate.MappingException: Could not get constructor for org.hibernate.persister.entity.JoinedSubclassEntityPersister
	at org.hibernate.persister.internal.PersisterFactoryImpl.create(PersisterFactoryImpl.java:185)
	at org.hibernate.persister.internal.PersisterFactoryImpl.createEntityPersister(PersisterFactoryImpl.java:135)
	at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:384)
	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1740)
	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1778)
	at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore.getHibernateSessionFactory(HibernateStore.java:260)
	at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStoreAccessor.beginHibernateSession(HibernateStoreAccessor.java:194)
	at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStoreAccessor.getNewHibernateSession(HibernateStoreAccessor.java:291)
	at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStoreAccessor.doWrite(HibernateStoreAccessor.java:661)
	at org.eclipse.emf.cdo.spi.server.StoreAccessorBase.write(StoreAccessorBase.java:149)
	at org.eclipse.emf.cdo.internal.server.TransactionCommitContext.write(TransactionCommitContext.java:487)
	at org.eclipse.emf.cdo.internal.server.Repository.initRootResource(Repository.java:1736)
	at org.eclipse.emf.cdo.internal.server.Repository.doActivate(Repository.java:1864)
	at org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycle.java:76)
	at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:114)
	at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:104)
	at org.eclipse.emf.cdo.server.CDOServerUtil.addRepository(CDOServerUtil.java:208)
	at org.eclipse.emf.cdo.spi.server.RepositoryConfigurator.configure(RepositoryConfigurator.java:111)
	at org.eclipse.emf.cdo.internal.server.bundle.CDOServerApplication.doStart(CDOServerApplication.java:61)
	at org.eclipse.net4j.util.om.OSGiApplication.start(OSGiApplication.java:63)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.equinox.internal.app.AnyThreadAppLauncher.run(AnyThreadAppLauncher.java:26)
	at java.lang.Thread.run(Thread.java:662)
Caused by: org.hibernate.HibernateException: Unable to instantiate default tuplizer [org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer]
	at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer(EntityTuplizerFactory.java:138)
	at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer(EntityTuplizerFactory.java:84)
	at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:344)
	at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:503)
	at org.hibernate.persister.entity.JoinedSubclassEntityPersister.<init>(JoinedSubclassEntityPersister.java:129)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at org.hibernate.persister.internal.PersisterFactoryImpl.create(PersisterFactoryImpl.java:163)
	... 22 more
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer(EntityTuplizerFactory.java:135)
	... 31 more
Caused by: java.lang.NullPointerException
	at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore.addEntityNameEClassMapping(HibernateStore.java:160)
	at org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer.initEClass(CDORevisionTuplizer.java:131)
	at org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer.buildPropertyGetter(CDORevisionTuplizer.java:189)
	at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:181)
	at org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer.<init>(CDORevisionTuplizer.java:61)
	... 36 more
Re: [CDO Hibernate Store] Unable to instantiate default tuplizer [message #987537 is a reply to message #895533] Tue, 27 November 2012 01:57 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5339
Registered: July 2009
Senior Member
Hi,
I finally did some more research on this topic and I noticed with a mapping file that the epackages mapped in the hbm
file should be specified as initialPackage in the cdo-server.xml. The plugins containing the epackages should be set as
dependency of the server plugin.

I updated the docs here:
http://wiki.eclipse.org/CDO/Hibernate_Store/Model_Relational_Mapping#Generating_the_mapping.2C_manually_changing_it_and_then_use_the_manual_mapping

gr. Martin

On 07/13/2012 02:50 PM, John edualc wrote:
> Hello Martin
>
> When not using mapping file it works.
>
> The problem arrives when trying to use a hibernate mapping file (even the example mapping file : generated_hbm.xml)
>
> So i workaround this by implementing my mappings with the teneo annotations mapping file (following the other example :
> company_model_teneo_annotations.xml and it's working.
>
> below you can see the stack trace i have when using the generated_hbm.xml mapping file. When i was debugging it seems to
> me that it was trying to find an eclass from company model but the company model was not contained in the
> hbStore.getPackageHandler().getEPackages().
>
> [ERROR] Could not get constructor for org.hibernate.persister.entity.JoinedSubclassEntityPersister
> org.hibernate.MappingException: Could not get constructor for org.hibernate.persister.entity.JoinedSubclassEntityPersister
> at org.hibernate.persister.internal.PersisterFactoryImpl.create(PersisterFactoryImpl.java:185)
> at org.hibernate.persister.internal.PersisterFactoryImpl.createEntityPersister(PersisterFactoryImpl.java:135)
> at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:384)
> at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1740)
> at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1778)
> at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore.getHibernateSessionFactory(HibernateStore.java:260)
> at
> org.eclipse.emf.cdo.server.internal.hibernate.HibernateStoreAccessor.beginHibernateSession(HibernateStoreAccessor.java:194)
> at
> org.eclipse.emf.cdo.server.internal.hibernate.HibernateStoreAccessor.getNewHibernateSession(HibernateStoreAccessor.java:291)
>
> at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStoreAccessor.doWrite(HibernateStoreAccessor.java:661)
> at org.eclipse.emf.cdo.spi.server.StoreAccessorBase.write(StoreAccessorBase.java:149)
> at org.eclipse.emf.cdo.internal.server.TransactionCommitContext.write(TransactionCommitContext.java:487)
> at org.eclipse.emf.cdo.internal.server.Repository.initRootResource(Repository.java:1736)
> at org.eclipse.emf.cdo.internal.server.Repository.doActivate(Repository.java:1864)
> at org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycle.java:76)
> at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:114)
> at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:104)
> at org.eclipse.emf.cdo.server.CDOServerUtil.addRepository(CDOServerUtil.java:208)
> at org.eclipse.emf.cdo.spi.server.RepositoryConfigurator.configure(RepositoryConfigurator.java:111)
> at org.eclipse.emf.cdo.internal.server.bundle.CDOServerApplication.doStart(CDOServerApplication.java:61)
> at org.eclipse.net4j.util.om.OSGiApplication.start(OSGiApplication.java:63)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.equinox.internal.app.AnyThreadAppLauncher.run(AnyThreadAppLauncher.java:26)
> at java.lang.Thread.run(Thread.java:662)
> Caused by: org.hibernate.HibernateException: Unable to instantiate default tuplizer
> [org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer]
> at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer(EntityTuplizerFactory.java:138)
> at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer(EntityTuplizerFactory.java:84)
> at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:344)
> at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:503)
> at org.hibernate.persister.entity.JoinedSubclassEntityPersister.<init>(JoinedSubclassEntityPersister.java:129)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> at org.hibernate.persister.internal.PersisterFactoryImpl.create(PersisterFactoryImpl.java:163)
> ... 22 more
> Caused by: java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer(EntityTuplizerFactory.java:135)
> ... 31 more
> Caused by: java.lang.NullPointerException
> at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore.addEntityNameEClassMapping(HibernateStore.java:160)
> at org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer.initEClass(CDORevisionTuplizer.java:131)
> at
> org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer.buildPropertyGetter(CDORevisionTuplizer.java:189)
>
> at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:181)
> at org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer.<init>(CDORevisionTuplizer.java:61)
> ... 36 more
> [ERROR] Could not get constructor for org.hibernate.persister.entity.JoinedSubclassEntityPersister
> org.hibernate.MappingException: Could not get constructor for org.hibernate.persister.entity.JoinedSubclassEntityPersister
> at org.hibernate.persister.internal.PersisterFactoryImpl.create(PersisterFactoryImpl.java:185)
> at org.hibernate.persister.internal.PersisterFactoryImpl.createEntityPersister(PersisterFactoryImpl.java:135)
> at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:384)
> at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1740)
> at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1778)
> at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore.getHibernateSessionFactory(HibernateStore.java:260)
> at
> org.eclipse.emf.cdo.server.internal.hibernate.HibernateStoreAccessor.beginHibernateSession(HibernateStoreAccessor.java:194)
> at
> org.eclipse.emf.cdo.server.internal.hibernate.HibernateStoreAccessor.getNewHibernateSession(HibernateStoreAccessor.java:291)
>
> at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStoreAccessor.doWrite(HibernateStoreAccessor.java:661)
> at org.eclipse.emf.cdo.spi.server.StoreAccessorBase.write(StoreAccessorBase.java:149)
> at org.eclipse.emf.cdo.internal.server.TransactionCommitContext.write(TransactionCommitContext.java:487)
> at org.eclipse.emf.cdo.internal.server.Repository.initRootResource(Repository.java:1736)
> at org.eclipse.emf.cdo.internal.server.Repository.doActivate(Repository.java:1864)
> at org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycle.java:76)
> at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:114)
> at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:104)
> at org.eclipse.emf.cdo.server.CDOServerUtil.addRepository(CDOServerUtil.java:208)
> at org.eclipse.emf.cdo.spi.server.RepositoryConfigurator.configure(RepositoryConfigurator.java:111)
> at org.eclipse.emf.cdo.internal.server.bundle.CDOServerApplication.doStart(CDOServerApplication.java:61)
> at org.eclipse.net4j.util.om.OSGiApplication.start(OSGiApplication.java:63)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.equinox.internal.app.AnyThreadAppLauncher.run(AnyThreadAppLauncher.java:26)
> at java.lang.Thread.run(Thread.java:662)
> Caused by: org.hibernate.HibernateException: Unable to instantiate default tuplizer
> [org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer]
> at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer(EntityTuplizerFactory.java:138)
> at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer(EntityTuplizerFactory.java:84)
> at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:344)
> at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:503)
> at org.hibernate.persister.entity.JoinedSubclassEntityPersister.<init>(JoinedSubclassEntityPersister.java:129)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> at org.hibernate.persister.internal.PersisterFactoryImpl.create(PersisterFactoryImpl.java:163)
> ... 22 more
> Caused by: java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer(EntityTuplizerFactory.java:135)
> ... 31 more
> Caused by: java.lang.NullPointerException
> at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore.addEntityNameEClassMapping(HibernateStore.java:160)
> at org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer.initEClass(CDORevisionTuplizer.java:131)
> at
> org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer.buildPropertyGetter(CDORevisionTuplizer.java:189)
>
> at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:181)
> at org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer.<init>(CDORevisionTuplizer.java:61)
> ... 36 more


--

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
Previous Topic:[Xcore] Using non EMF classes in operations
Next Topic:[CDO] Decomposing model into several repo & use same DB
Goto Forum:
  


Current Time: Sun Nov 23 02:13:27 GMT 2014

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

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