Thanks a lot!!!

Now I have tutorial 5 up and running,

Magnus

Thomas Dudziak wrote:

Magnus Strand wrote:

I get an exception when trying to run tutorial5 (JDO),
see below.

I am using the ojb-blank project with mysql on Win XP Pro.

Does anyone know why
the class
org.apache.ojb.tutorial5.Product
does not implement javax.jdo.spi.PersistenceCapable?

Could it be some configuration problem with Product.jdo or OJB.properties?


Seems to be that the persistent classes are not JDO-enhanced yet. The build file of the ojb-blank project contains a target for this purpose, which enhances the Product class of the jdo tutorial. So you simply run

ant build enhance-jdori

and your problem should be solved.

Tom


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



--
Med v�nliga h�lsningar

Magnus Strand
System Developer, MSc

[EMAIL PROTECTED]
Direct: +46 40 601 57 16
Office: +46 40 601 57 00
Mobile: +46 704 20 57 16

Teknik i Media AB
S�dra F�rstadsgatan 2
SE-211 43 Malm�
Sweden


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to