Re: Problems with OJB JDO

2003-03-23 Thread Thomas Mahler
You must enhance the byte-code of the tutorial app.
I assume you just forget the ant target enhance-jdori.
(See first section of tutorial4.html).
cheers,
Thomas
Gary Eberhart wrote:
Hello All,

I'm getting the following exception when running the OBJ JDO example
UCListAllProducts.
Any ideas?

javax.jdo.JDOUserException: Class given to getExtent does not implement
javax.jdo.spi.PersistenceCapable
at com.sun.jdori.common.PersistenceManagerImpl.getExtent(Unknown Source)
at com.sun.jdori.common.query.QueryImpl.checkCandidates(Unknown Source)
at com.sun.jdori.common.query.QueryImpl.execute(Unknown Source)
at
org.apache.ojb.tutorial5.UCListAllProducts.apply(UCListAllProducts.java:45)
at org.apache.ojb.tutorial5.Application.run(Application.java:102)
at org.apache.ojb.tutorial5.Application.main(Application.java:70)


Thanks in advance,
Gary


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



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


Problems with OJB JDO

2003-03-21 Thread Gary Eberhart
Hello All,

I'm getting the following exception when running the OBJ JDO example
UCListAllProducts.

Any ideas?

javax.jdo.JDOUserException: Class given to getExtent does not implement
javax.jdo.spi.PersistenceCapable
at com.sun.jdori.common.PersistenceManagerImpl.getExtent(Unknown Source)
at com.sun.jdori.common.query.QueryImpl.checkCandidates(Unknown Source)
at com.sun.jdori.common.query.QueryImpl.execute(Unknown Source)
at
org.apache.ojb.tutorial5.UCListAllProducts.apply(UCListAllProducts.java:45)
at org.apache.ojb.tutorial5.Application.run(Application.java:102)
at org.apache.ojb.tutorial5.Application.main(Application.java:70)




Thanks in advance,
Gary




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