In  tomee.xml I have set resource as below.But still no luck. Is any other
property I am missing here? Which will stop holding cursor by the container.

<Resource id="RageDataSource" type="DataSource">
        JdbcDriver oracle.jdbc.driver.OracleDriver
    JdbcUrl jdbc:oracle:thin:@<ID>:5584:PLTDEV
    UserName test  
    Password test
   JtaManaged true
  DataSourceCreator = dbcp 
  PoolPreparedStatements true
     maxOpenPreparedStatements 200 
</Resource>

<Resource id="RageNoTxDataSource" type="DataSource">
   JdbcDriver oracle.jdbc.driver.OracleDriver
    JdbcUrl jdbc:oracle:thin:@<ID>:5584:PLTDEV
    UserName test  
    Password test
    JtaManaged false
   DataSourceCreator = dbcp 
  PoolPreparedStatements true
     maxOpenPreparedStatements 200 
</Resource> 



--
View this message in context: 
http://openejb.979440.n4.nabble.com/maximum-open-cursors-exceeded-in-entity-bean-tp4661896p4661902.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to