struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kenk <>
Subject Re: Struts 2 + Spring 2 + JPA + Oracle + Connection Caching/Pooling
Date Tue, 18 Dec 2007 15:06:32 GMT


Funny, I was looking for the same information.  Here's the Spring
configuration I'm moving forward with to use the Oracle connection pooling:

<!-- Database connection using the Oracle connection pool -->
<bean id="dataSource" class="oracle.jdbc.pool.OracleConnectionCacheImpl" >
	<property name="connectionPoolDataSource" >
		<bean class="oracle.jdbc.pool.OracleConnectionPoolDataSource" >
			<property name="URL" 			value="jdbc:oracle:thin:@devlxdb02:1522:xxxxxx"
			<property name="user"		value="xxxxxx" />
			<property name="password"   value="xxxxxx" />
	<property name="maxLimit"	value="10" />
	<property name="minLimit"	value="2" />

Seems to work for now.  There is probably a less verbose way to do this. 
And yes I agree this isn't a Struts question, but I hope it helps.

Ken K
View this message in context:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message