Hi,
When we call Criteria.list to retrieve a bunch of persistent objects, we encounter a class loading problem. Basically hibernate is using the class loader that loads itself to load the persistent class, however, the class loader that load hibernate doesn't know about the persistent class, so we got a "class not found". Is there a way to direct hibernate which class loader to use?
Thanks,
--Jiunjiun
[b]Hibernate version:[/b]
2.1.7
[b]Mapping documents:[/b]
N/A
[b]Code between sessionFactory.openSession() and session.close():[/b]
[b]Full stack trace of any exception that occurs:[/b]
[b]Name and version of the database you are using:[/b]
[b]The generated SQL (show_sql=true):[/b]
[b]Debug level Hibernate log excerpt:[/b]
|