JAVA/Framework
[spring] LocalSessionFactoryBean 설정에서...
tornado
2005. 2. 24. 21:18
<property name="mappingDirectoryLocations">
<value>/WEB-INF/hbm</value>
</property>
스프링 + 하이버네이트 사용시에 하이버네이트 설정을 스프링에서 하게 되는데
API 를 보니...
public void setMappingDirectoryLocations(Resource[] mappingDirectoryLocations)
- Set locations of directories that contain Hibernate mapping resources, like "WEB-INF/mappings".
Can be used to add to mappings from a Hibernate XML config file, or to specify all mappings locally.
- See Also:
Configuration.addDirectory(java.io.File)
요런 넘이 있었넹...
몰랐다는 -.-;;