-
Jan 12th, 2007, 05:01 AM
#1
AnnotationSessionFactoryBean and annotatedPackages prop
Hi, using Spring2.0 and Hibernate3.2.1.GA, whenever I set the annotatedPackages prop on a AnnotationSessionFactoryBean, it does'nt see my annotated @Entity classes.
However, this works :
<property name="annotatedClasses">
<list>
<value>me.model.Customer</value>
</list>
</property>
But this one really doesn't :
<property name="annotatedPackages">
<list>
<value>me.model</value>
</list>
</property>
Is it a known problem ? My model classes are NOT in a separate .jar, btw.
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules