Re: Struts 2 + Spring 2 + JPA + Oracle + Connection Caching/Pooling

2007-12-18 Thread kenk
Filipe, 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

Re: Struts 2 + Spring 2 + JPA + Oracle + Connection Caching/Pooling

2007-12-18 Thread Filipe David Manana
Thanks! :) By the way, I have bad news... The OracleConnectionCachingImpl class is actually deprecated. Use OracleConnectionCacheManager with OracleDataSource instead. Take a look at: oracle JDBC reference: http://download-west.oracle.com/docs/cd/B12037_01/java.101/b10979/toc.htm oracle JDBC

Re: Struts 2 + Spring 2 + JPA + Oracle + Connection Caching/Pooling

2007-12-11 Thread Musachy Barroso
I have no idea how to do that, but it isn't specific to Struts or JPA. Spring documentation would be the best place to look that up I guess. musachy On Dec 11, 2007 4:56 PM, Filipe David Manana [EMAIL PROTECTED] wrote: Hi all, I want to create a web app with Struts 2 that is Oracle database

Re: Struts 2 + Spring 2 + JPA + Oracle + Connection Caching/Pooling

2007-12-11 Thread Alberto A. Flores
Database Connection Pooling is typically handled (already) by the container. You can get your datasource from this connection pooling using JNDI. Spring has a way of doing this nicely using the JndiObjectFactoryBean. Each container has a different way to configure this JNDI configuration, so