Hello,

This question is more related to spring than opennms but I hope you  
can help me with that.

I want to know how can I add additional entities to hibernate  
sessionFactory bean without modifying applicationContext-dao.xml and  
rebuild opennms-dao-x.x.x.jar

I found some people that suggest a classpath automatic loading and  
avoid put explicit classes list on annotatedClasses property on  
AnnotationSessionFactoryBean; but no one point me to a working example.

Spring people point to use JPA and persistence.xml, because it uses  
automatic class adding with @Entity annotations but, neither found how  
can use this with  AnnotationSessionFactoryBean.

Any suggestions ?

Alejandro.


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this 
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

Reply via email to