--- Begin Message ---
Hi,
I am using OJB in our project. We are using oracle 10g as a database.
I am using the following steps to retrieve/insert records the data from the tables
PersistenceBroker broker = PersistenceBrokerFactory.defaultPersistenceBroker();
broker.beginTransaction();
broker.insert(Object obj);
broker.commitTransaction();
broker.close();
We have a utility which runs on every 10 sec. and after few minutes we are getting an error that “Unable to get object from connection pool”
I suspect that by using this way the connection is not released and it is not returning to pool.
Can u suggest me how to close the connection and return the connection to pool.
Any help will be highly appreciated. Thanks for helping.
Thanks and regards,
Sudhir Kumar
--- End Message ---
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
