[ http://jira.andromda.org/browse/SPRING-196?page=all ] Wouter Zoons closed SPRING-196: -------------------------------
Fix Version: 3.3 Resolution: Fixed done, next build should have it btw, in my previous comment <-- should obviously be replaced with <!-- > Add merge-point for manually adding Hibernate mappings > ------------------------------------------------------ > > Key: SPRING-196 > URL: http://jira.andromda.org/browse/SPRING-196 > Project: Spring Cartridge > Type: Improvement > Versions: 3.2 > Reporter: Ruben Stranders > Assignee: Wouter Zoons > Priority: Minor > Fix For: 3.3 > > in applicationContext.xml.vsl, make the following changes: > - change "mappingLocations" to "mappingResources" in order to give more > flexibility to users for loading mappingfiles (either by loading it from the > classpath or from a file) > - add the mergepoint: <!-- hibernatemappings merge-point --> > - alter the loading of generated mapping files to reflect the new resource > loading method (prefixing mappingfile locations with "classpath:" > In code: > <property name="mappingLocations"> > <list> > <!-- hibernatemappings merge-point --> > #foreach($entity in $entities) > #if ($entity.requiresHibernateMapping) > > <value>classpath:${entity.packagePath}/${entity.entityName}.hbm.xml</value> > #end > #end > </list> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.andromda.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV