|
From: news.gmane.org <ck...@id...> - 2003-12-03 03:40:14
|
Hi, I am wondering if it is possible to update LocalSessionFactoryBean to work with the new changes in Hibernate 2.1rc1's Configuration class. The following change would be great for LocalSessionFactoryBean if possible: config.addJar(String resource) is now deprecated in favor of config.addJar(File jar). No need to remove the current support for the config.addJar(String) as I am sure there are still others using older hibernate versions, but perhaps add in additional code to work with the new addJar(File). Maybe jarFileResource or something. And the file resource will look in a directory relative to some root (ie. WEB-INF/) that can be specified. Is that perhaps workable? Thanks, Chris |