Max - Thanks. I certainly thought that I had done this correctly, but I put the path of the source. Then I put the path of the bin. But the key issue is that I was pointing too deeply into the bin.
In my case, the classnames are qualified (edu.utah.cdmcc.classX), and I was adding the path .../bin/edu/utah/cdmcc/ thinking that it would then find classX. The correct solution is obviously to only add .../bin and stop there, since the qualified names won't be visible in the "distal" folders. This is a constant problem for beginners, in Eclipse, because they easily forget the bin folder (which is hidden by default) and think they are adding things to the classpath by adding them to the project roots, folders, etc. I must have solved this problem 6 months ago but have had a few months without time to work on Hibernate.
Given the number of questions that come up over this issue, and given the popularity of Eclipse, it might be a terrific addition to the documentation materials, etc. to describe how to set up an Eclipse Hibernate project that writes out the usual feline class, etc.
Thanks very much for the work you do on this superb product.
- Mike
_________________ J. Michael Dean, MD
|