Hello
I'm migrating an application from resin v3.2.1 to v4.0.13.
In the old conf there were 2 <database> tags pointing to 2 different db
servers, each with a different <jndi-name>
Now in v4, @Named is replaced with @Inject, but there is no attribute to
set the jndi-name :
before :
@Named("realty/jdbc") public DataSource m_datasource;// high priority
@Named("realty/jdbclow") public DataSource m_datasourcelow;// low
priority
after :
@Inject public DataSource m_datasource;// high priority
@Inject public DataSource m_datasourcelow;// low priority
I've googled and searched the doc, and did not find any way to tell
resin to use the good jndi-name.
Is there any way to do so ?
Thanks a lot.
--
Riccardo Cohen
Architecte du Logiciel
http://www.architectedulogiciel.fr
BP 77536
37075 Tours Cedex 2
+33 (0)6.09.83.64.49
Membre du réseau http://www.reflexe-conseil-centre.org
_______________________________________________
resin-interest mailing list
[email protected]
http://maillist.caucho.com/mailman/listinfo/resin-interest