Discussions

EJB programming & troubleshooting: How to use Rowsets when using Connection Pooling?

  1. I want to use Rowsets instead of Resultsets in my application. I use connection pooling to obtain a connection but i could not found any method in the rowset interface which accepts a connection object. please help!
  2. You need not create Connection object and send it to the Rowset. Rowset implementation will do that job. But for that, you have to set either the URL+UserName+Password or DataSourceName.

    Hope this helps.