Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> jdbc connection refresh function?

jdbc connection refresh function?

From: Krishna Prasad <krishna_at_nehanet.com>
Date: Mon, 20 Nov 2000 18:53:23 -0800
Message-Id: <10686.122574@fatcity.com>


This is a multi-part message in MIME format.

------=_NextPart_000_003C_01C05323.288799B0 Content-Type: text/plain;

        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

is there a way to "refresh" a connection without closing and reopening a = newone so
that any statements/result-sets etc. associated with it is = refreshed/released?

I'm using a connection-pool and don't know the state of a connection - = if possible, i would
like to do these cleanups before giving it to another user.

thanks,
-krishna.

------=_NextPart_000_003C_01C05323.288799B0 Content-Type: text/html;

        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>is there a way to "refresh" a =
connection without=20
closing and reopening a newone so</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>that any statements/result-sets etc. =
associated=20
with it is refreshed/released?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I'm using a connection-pool and don't =
know the=20
state of a connection - if possible, i would</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>like to do these cleanups before giving =
it to=20
another user.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>-krishna.</FONT></DIV></BODY></HTML>

------=_NextPart_000_003C_01C05323.288799B0-- Received on Mon Nov 20 2000 - 20:53:23 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US