Hi

when ResultSet.close() and Statement.close() invoked
Oracle jdbc driver not close open cursor in DB. For
immediate close cursor need ResultSet and Statement
set to null. This says to GC remove object from
garbage and cursor in DB is closed.

ResultSet rs = null;
Statement st = null;
try{
.....
}
finally
{
   rs.close();
   rs = null;    
   st.close();
   st = null; 
}

I'm sorry, but I post patch to bugzilla as you
described below only in next time :)

PS
why I can't use diff -c ?

Serg


--- Bruce Snyder <[EMAIL PROTECTED]> wrote:
> Sergej, 
> 
> Your patches are truly appreciated, however an
> explanation of the exact
> situation/problem that they address would be
> helpful.
> 
> Typically, we ask that contributions be entered into
> Bugzilla
> (http://bugzilla.exolab.org/) as an enhancement.
> First create a report
> and explain the situation/problem in detail. Then
> attach an archive
> of all patches in a contextual diff format (diff
> -u). Please read the
> guidelines for contributing to the project:
> 
>    
>
http://www.castor.org/cvs.html#Guidelines-For-Code-Contribution
> 
> Bruce
> --
> perl -e 'print
>
unpack("u30","<0G)U8V4\@4VYY9&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'
> 
>
-----------------------------------------------------------
> 
> If you wish to unsubscribe from this mailing, send
> mail to
> [EMAIL PROTECTED] with a subject of:
>       unsubscribe castor-dev
> 


__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to