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]



Reply via email to