Am 09.02.2011 15:02, schrieb Caldarale, Charles R:
From: Stephan Beutel [mailto:beu...@axivion.com]
Subject: Re: Context.xml for multiple datasources
But I thought it could be defined by a map in
context.xml like in Spring.
Even if you did, that wouldn't solve your problem. You would
ly
loads this string, splits it, and then loads these via jndi into your map?
Chris
That's the thing I work on at the moment.
But I thought it could be defined by a map in context.xml like in Spring.
Stephan
--
*Stephan Beutel (B.Eng.)*
Senior Software Developer
Axivion GmbH
Nobelstr. 15
705
rebuild my
war file after change the datasource.
With a context configuration my war file can handle as many databases as
the admin configures.
The switch is done by the key of the map.
Stephan
--
*Stephan Beutel (B.Eng.)*
Senior Software Developer
Axivion GmbH
Nobelstr. 15
70569 Stuttga
Am 09.02.2011 10:30, schrieb chris derham:
I need some help creating my context.xml file in a correct way.
My application is based on Spring and Hibernate. I need to configure more
than one datasource
to access multiple databases at the same time.
We use JNDI to set up our datasource. So in
Hello Tomcat users,
I need some help creating my context.xml file in a correct way.
My application is based on Spring and Hibernate. I need to configure
more than one datasource
to access multiple databases at the same time.
This is my working Spring datasource.xml:
class="org.springframewo