users@glassfish.java.net

Re: multiple datasources

From: <glassfish_at_javadesktop.org>
Date: Sat, 22 Sep 2007 22:33:54 PDT

well say depending on country I know the country and using the country I know which datasource ....
I am using hibernate.I am thinking of having some kind of service locator to find the datasource given region(so need a map or something for this) and then get the entitymanager for that datasource and use that don't know how exactly any ideas.....
Cheers
Priya
[Message sent by forum member 'priyasubu' (priyasubu)]

http://forums.java.net/jive/thread.jspa?messageID=236637