Welcome Guest  |  Register  |  Login
Login Name Password
  Search  
  Index  | Recent Threads  | Unanswered Threads  | Who's Online  | Help


Quick Go »

No member browsing this thread
Thread Status: Active
Total posts in this thread: 4
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 2205 times and has 3 replies Next Thread
Male Stephane
Newbie



France
Joined: Feb 19, 2009
Post Count: 3
Status: Offline
Reply to this Post  Reply with Quote 
Problem with datanucleus-samples-jdo-tutorial-1.0.0

Hello to all,
I'm a newbie according to MROs (including datanucleus).
We are studying using datanucleus for java objects persistance.

I tried datanucleus-samples-jdo-tutorial-1.0.0

But when I launch "ant createschema" I have a nice :
"ClassNotFoundException : javax.jdo.metadata.ComponentMetadata".

I searched through all jars I have downloaded (datanucleus-accessplatform-full-nodeps-1.1.0.m4/lib/*.jar, jdo2-api-2.0.jar) and I must agree with ant : no ComponentMetadata Class.

I did not change datanucleus.properties files because I assumed that I will use jdbc and for the moment it is sufficient.
(I will use other Relational databases later).

I suppose my problem can easely be solved, but at the moment I'm stuck.

Thank for your help
regards
----------------------------------------
God is Real, unless declared Integer
[Feb 19, 2009 11:39:04 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male andy
Expert
Member's Avatar

UK
Joined: Mar 13, 2004
Post Count: 5686
Status: Offline
Reply to this Post  Reply with Quote 
Re: Problem with datanucleus-samples-jdo-tutorial-1.0.0

Why are you trying to use AccessPlatform 1.1 with JDO 2.0? The dependencies page states very clearly that it requires JDO2.3+ (which is included with the zip download)
----------------------------------------
-Andy smile

[Feb 19, 2009 12:00:45 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male Stephane
Newbie



France
Joined: Feb 19, 2009
Post Count: 3
Status: Offline
Reply to this Post  Reply with Quote 
Re: Problem with datanucleus-samples-jdo-tutorial-1.0.0

Sorry, I did not read this document as carefully that I thought.
the JDO2.3 is not included in the tutorial zip ?
is it ?

by the way the site JDO web site only propose the jdo 2.2 releases.


regards
----------------------------------------
God is Real, unless declared Integer
----------------------------------------
[Edit 1 times, last edit by Stephane at Feb 19, 2009 12:16:19 PM]
[Feb 19, 2009 12:13:41 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male Stephane
Newbie



France
Joined: Feb 19, 2009
Post Count: 3
Status: Offline
Reply to this Post  Reply with Quote 
Re: Problem with datanucleus-samples-jdo-tutorial-1.0.0

Thank you,
I found the JDO 2.3 in the zip file.



thank for your help

and sorry to have wasted your time


regards
----------------------------------------
God is Real, unless declared Integer
[Feb 19, 2009 1:50:48 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread