Bookmark Topic Watch Topic
  • New Topic

CacheRowset ????

 
sandhya menon
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Report post to moderator
CacheRowSet crs= new CacheRowSet();
Result rs=stmt.executeQuery(Qry);
crs.populate(rs);

rs.close();
stmt.close();
con.close();
Is rs close here ok. no since crs should act as a disconnected ResultSet so if do this in my bean i can release all DB related objects and work freely with CacheRowset ??
I am worlking with WebSphere 3.5.5 Conn.Pool etc
Regards
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
You have also asked the same question in this thread
I'm going to close this one so that we don't get duplicate answers.
DOM
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!