Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » JDOUserException while initializing datastore
JDOUserException while initializing datastore [message #76225] Thu, 22 March 2007 10:31 Go to next message
Markus Bischof is currently offline Markus BischofFriend
Messages: 72
Registered: July 2009
Member
Hello,

I'm new to Teneo and this newsgroup...so I hope this is the right place to
ask my question.

I used Teneo to create a package.jdo-File from my ecore-Model. This worked
fine...After this I created a JpoxDatastore and tried to initialize the
database. Now I'm running in a JDOUserException in a specific class.

Here's the exception-message:

javax.jdo.JDOUserException: Specified field
"StructuredActivityNodeImpl.in" has no container (collection/map/array)
MetaData!

Here's the mapping for this class:

<class name="StructuredActivityNodeImpl" requires-extent="true"
persistence-modifier="persistence-capable" detachable="true"
identity-type="datastore">
<implements name="StructuredActivityNode"/>
<inheritance strategy="superclass-table">
<discriminator value="StructuredActivityNode"/>
</inheritance>
<version strategy="version-number" column="e_version"/>
</class>

(There is no class-tag for my StructuredActivityNode-class)

I don't know what is wrong here...
So, my question is, if this could be a bug in the generation-mechanism of
Teneo, or is there something I have to do?

Regards.
Re: JDOUserException while initializing datastore [message #76257 is a reply to message #76225] Thu, 22 March 2007 11:35 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi,
Can you post/attach the complete ecore (and the package.jdo)? You can also send the ecore directly
to me if you don't want it posted on a public newsgroup.
Which version of emf/teneo are you using?

gr. Martin

exquisitus wrote:
> Hello,
>
> I'm new to Teneo and this newsgroup...so I hope this is the right place
> to ask my question.
>
> I used Teneo to create a package.jdo-File from my ecore-Model. This
> worked fine...After this I created a JpoxDatastore and tried to
> initialize the database. Now I'm running in a JDOUserException in a
> specific class.
> Here's the exception-message:
>
> javax.jdo.JDOUserException: Specified field
> "StructuredActivityNodeImpl.in" has no container (collection/map/array)
> MetaData!
>
> Here's the mapping for this class:
>
> <class name="StructuredActivityNodeImpl" requires-extent="true"
> persistence-modifier="persistence-capable" detachable="true"
> identity-type="datastore">
> <implements name="StructuredActivityNode"/>
> <inheritance strategy="superclass-table">
> <discriminator value="StructuredActivityNode"/>
> </inheritance>
> <version strategy="version-number" column="e_version"/>
> </class>
>
> (There is no class-tag for my StructuredActivityNode-class)
>
> I don't know what is wrong here...
> So, my question is, if this could be a bug in the generation-mechanism
> of Teneo, or is there something I have to do?
>
> Regards.
>


--

With Regards, Martin Taal

Springsite/Elver.org
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: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: JDOUserException while initializing datastore [message #76272 is a reply to message #76257] Thu, 22 March 2007 13:13 Go to previous messageGo to next message
Markus Bischof is currently offline Markus BischofFriend
Messages: 72
Registered: July 2009
Member
Hi!

Thanks for your reply. I would prefer to send the package.jdo and the
ecore file per email, since I did not write the ecore-file myself. I found
your email-address on the elver-site. Is that the correct one?

Regards
Re: JDOUserException while initializing datastore [message #76288 is a reply to message #76272] Thu, 22 March 2007 13:20 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi,
Yes that's the correct one. It will probably be later today before I can look at it further.

A question I forgot to ask, did you put the package.jdo file in the generated java source tree and
was copied by eclipse to the classes/bin/output directory?

gr. Martin

exquisitus wrote:
> Hi!
>
> Thanks for your reply. I would prefer to send the package.jdo and the
> ecore file per email, since I did not write the ecore-file myself. I
> found your email-address on the elver-site. Is that the correct one?
>
> Regards
>
>


--

With Regards, Martin Taal

Springsite/Elver.org
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: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: JDOUserException while initializing datastore [message #76369 is a reply to message #76272] Fri, 23 March 2007 12:56 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi,
Your model has multiple inheritance. The support of jpox for multiple inheritance is less advanced
than with teneo/hibernate. Based on your model I have started to solve this for jpox also (and
solving some remaining issues with Hibernate multiple inheritance). Probably after the weekend I
will have solved this and do a new release.
Can you enter a bugzilla for this? Then I can report the progress in that bugzilla. Thanks.

gr. Martin

exquisitus wrote:
> Hi!
>
> Thanks for your reply. I would prefer to send the package.jdo and the
> ecore file per email, since I did not write the ecore-file myself. I
> found your email-address on the elver-site. Is that the correct one?
>
> Regards
>
>


--

With Regards, Martin Taal

Springsite/Elver.org
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: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: JDOUserException while initializing datastore [message #76593 is a reply to message #76369] Fri, 23 March 2007 17:50 Go to previous message
Markus Bischof is currently offline Markus BischofFriend
Messages: 72
Registered: July 2009
Member
Hi!

That's great!

Thank's a lot for the support!

I'm looking forward for the new release!

I've just created a new bugzilla under number 179084, hopefully I did it
correct.

Best regards
Markus Bischof
Re: JDOUserException while initializing datastore [message #603796 is a reply to message #76225] Thu, 22 March 2007 11:35 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi,
Can you post/attach the complete ecore (and the package.jdo)? You can also send the ecore directly
to me if you don't want it posted on a public newsgroup.
Which version of emf/teneo are you using?

gr. Martin

exquisitus wrote:
> Hello,
>
> I'm new to Teneo and this newsgroup...so I hope this is the right place
> to ask my question.
>
> I used Teneo to create a package.jdo-File from my ecore-Model. This
> worked fine...After this I created a JpoxDatastore and tried to
> initialize the database. Now I'm running in a JDOUserException in a
> specific class.
> Here's the exception-message:
>
> javax.jdo.JDOUserException: Specified field
> "StructuredActivityNodeImpl.in" has no container (collection/map/array)
> MetaData!
>
> Here's the mapping for this class:
>
> <class name="StructuredActivityNodeImpl" requires-extent="true"
> persistence-modifier="persistence-capable" detachable="true"
> identity-type="datastore">
> <implements name="StructuredActivityNode"/>
> <inheritance strategy="superclass-table">
> <discriminator value="StructuredActivityNode"/>
> </inheritance>
> <version strategy="version-number" column="e_version"/>
> </class>
>
> (There is no class-tag for my StructuredActivityNode-class)
>
> I don't know what is wrong here...
> So, my question is, if this could be a bug in the generation-mechanism
> of Teneo, or is there something I have to do?
>
> Regards.
>


--

With Regards, Martin Taal

Springsite/Elver.org
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: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: JDOUserException while initializing datastore [message #603799 is a reply to message #76257] Thu, 22 March 2007 13:13 Go to previous message
Markus Bischof is currently offline Markus BischofFriend
Messages: 72
Registered: July 2009
Member
Hi!

Thanks for your reply. I would prefer to send the package.jdo and the
ecore file per email, since I did not write the ecore-file myself. I found
your email-address on the elver-site. Is that the correct one?

Regards
Re: JDOUserException while initializing datastore [message #603800 is a reply to message #76272] Thu, 22 March 2007 13:20 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi,
Yes that's the correct one. It will probably be later today before I can look at it further.

A question I forgot to ask, did you put the package.jdo file in the generated java source tree and
was copied by eclipse to the classes/bin/output directory?

gr. Martin

exquisitus wrote:
> Hi!
>
> Thanks for your reply. I would prefer to send the package.jdo and the
> ecore file per email, since I did not write the ecore-file myself. I
> found your email-address on the elver-site. Is that the correct one?
>
> Regards
>
>


--

With Regards, Martin Taal

Springsite/Elver.org
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: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: JDOUserException while initializing datastore [message #603816 is a reply to message #76272] Fri, 23 March 2007 12:56 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi,
Your model has multiple inheritance. The support of jpox for multiple inheritance is less advanced
than with teneo/hibernate. Based on your model I have started to solve this for jpox also (and
solving some remaining issues with Hibernate multiple inheritance). Probably after the weekend I
will have solved this and do a new release.
Can you enter a bugzilla for this? Then I can report the progress in that bugzilla. Thanks.

gr. Martin

exquisitus wrote:
> Hi!
>
> Thanks for your reply. I would prefer to send the package.jdo and the
> ecore file per email, since I did not write the ecore-file myself. I
> found your email-address on the elver-site. Is that the correct one?
>
> Regards
>
>


--

With Regards, Martin Taal

Springsite/Elver.org
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: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: JDOUserException while initializing datastore [message #603848 is a reply to message #76369] Fri, 23 March 2007 17:50 Go to previous message
Markus Bischof is currently offline Markus BischofFriend
Messages: 72
Registered: July 2009
Member
Hi!

That's great!

Thank's a lot for the support!

I'm looking forward for the new release!

I've just created a new bugzilla under number 179084, hopefully I did it
correct.

Best regards
Markus Bischof
Previous Topic:TENEO: StoreResource.LOAD_STRATEGY_PARAM
Next Topic:JET2 - declaring custom tags
Goto Forum:
  


Current Time: Fri Apr 19 13:37:54 GMT 2024

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

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

Back to the top