Go ahead.

--
xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx

Alexey Loubyansky wrote:

I went another way and wrote a datasource delegator service. It is very simple. The service implements DataSource interface and has a method that sets the target DataSource. The service is bound into the JNDI. All you need to do is just to specify this service instead of a real DataSource for your entity beans and change the target at runtime.

I could commit it in org.jboss.varia.* if there is an interest in it.



------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to