-
1. Re: Hibernate not Working
kolobok Nov 2, 2006 3:35 PM (in response to ahachmann)I have the same.. Did you find a resolution?
-
2. Re: Hibernate not Working
davidmate Dec 5, 2006 9:36 AM (in response to ahachmann)Same problem here. I'm using the "all" configuration over jbossas-4.0.4GA, with EJB 3.0 RC9.
I'd appreciate any help. -
3. Re: Hibernate not Working
davidmate Dec 5, 2006 10:46 AM (in response to ahachmann)Got solution!!!
The relevant class (org.hibernate.MappingNotFoundException) was added to Hibernate in version 3.2.0.cr3 or 3.2.0.cr4. The version that comes with the EJB3 RC9 is cr4. The version I had in the JBossAS is cr2, which lacked that file.
The EJB3 ant installer should have copied the new version to the JBossAS, but unfortunately the time stamp of the JBossAS jars was newer than the EJB3, so ant has ignored the copy request.
My solution was simple - I've used "touch" to update the timestamp of the EJB3 jars, and then they were copied correctly. Another option is to add the attribute overwrite="true" to the copy commands.
David