Oops, you are right. This is a problem.
I moved the product class to make the build process of the JDO sample easier. I've tested it several times successfully. But some classpath settings seems to have changed.
I'll fix it.
For the time being you can copy the Product.java file from src/test/org/apache/ojb/tutorial5 to src/jdori/org/apache/ojb/tutorial5.
sorry for the confusion, Thomas
Gabriele Carcassi wrote:
Hi all,
I was following instructions on page: http://db.apache.org/ojb/tutorial4.html and run into problems.
First, trivial, it doesn't say I would need j2ee.jar. Second, it doesn't finish building, and javac complain it can't find the Product class in the tutotial: [javac] C:\db-ojb-1.0.rc3\target\src\org\apache\ojb\tutorial5\UCListAllProdu cts.java:41: cannot resolve symbol [javac] symbol : class Product [javac] location: class org.apache.ojb.tutorial5.UCListAllProducts [javac] Query query = manager.newQuery(Product.class); [javac] ^ [javac] 11 errors
I saw that the Product class was actually removed after RC2: http://cvs.apache.org/viewcvs/db-ojb/src/jdori/org/apache/ojb/tutorial5/Attic/Product.java
Am I missing something?
Thanks, Gabriele
--------------------------------------------------------------------- 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]
