On 26 Feb 2004 15:22, tmaus wrote:
>Im using the same example as above ..
>but as long as i keep my hbm.xml files in a structure like
>com/foo/bar/aa.hbm.xml
>the file is not find by the HibernateServiceMBean.
>once i put it into the root directory it is found and bound
>any ideas about that ???
it looks like this only occurs if the .hbm.xml files are in a packed jar ..
the moment i deploy the application exploded ... things work ...
here is my structure
foo.sar
| -- META-INF
| | -- jboss-service.xml
|
| - hibernate-2.1
| - myHibernateClassesAndMappingFiles
|
| - other things |