[ http://jira.andromda.org/browse/HIB-75?page=history ] Carlos Cuenca closed HIB-75: ----------------------------
Resolution: Fixed Fix Version: 3.1-RC1 At the end, patch on HIB-131 was applied > ServiceLocator does not support passing an env setting to InitialContext > ------------------------------------------------------------------------ > > Key: HIB-75 > URL: http://jira.andromda.org/browse/HIB-75 > Project: Hibernate Cartridge > Type: Improvement > Versions: 3.0RC1 > Reporter: Sverker Abrahamsson > Assignee: Carlos Cuenca > Fix For: 3.1-RC1 > Attachments: andromda-hibernate-ServiceLocator.patch > > The current implementation of ServiceLocator does not support to pass an > Hashtable with the environment setting to the Service creation methods. The > only supported way then to set the InitialContext environment and connect to > a remote jvm is to set jndi.properties on startup. > However, that would give other problems (and probably make the app server not > start). > The attached patch add a method for each service that take a Hashtable with > environment settings as parameter. ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf