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
 
    Bookmark Topic Watch Topic
  • New Topic