Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: !!Bind variables ?
by looking at parse count o/p for value > 1
-----Original Message-----
From: Nidhi Jain [mailto:nidhi_at_kinecta.com]
Sent: Thursday, May 11, 2000 2:10 PM
To: Andrey Bronfin; oracledba_at_quickdoc.co.uk; ORACLE-L_at_fatcity.com
Subject: RE: !!Bind variables ?
How did u find in the TKPROF that the statement was parsed again?
Nidhi
-----Original Message-----
From: Andrey Bronfin [mailto:bronfin_at_VisualTop.com]
Sent: Wednesday, March 15, 2000 5:44 AM
To: oracledba_at_quickdoc.co.uk; ORACLE-L_at_fatcity.com
Subject: Re: !!Bind variables ?
> Hi , ALL !
> I'm staled with the same problem here ... We need the programmers to use
> bind variables in Java programs , since i have the same query repeated
many
> times with different parameters .
>
> select ename from emp where emp_id=??? ;
> The "???" is always different .
>
> As U suggested , I looked at technet , and found nothing but the use of
> PreparedStatement .
> We tried it and seen in the TKPROF output that the satements are still
> parsed every execution ....
>
> Does anyone have any experience with this , please ....
> Any parameters that need to be adjusted except for the Java code itself ?
>
> Thanks a lot in advance ...
>
> ----- Original Message -----
> From: "Jared Still" <jkstill_at_bcbso.com>
> To: "Multiple recipients of list ORACLE-L" <ORACLE-L_at_fatcity.com>
> Sent: Friday, May 05, 2000 7:36 PM
> Subject: Re: !!Bind variables ?
>
>
> >
> > Goto to technet.oracle.com and look at the sample code.
> >
> > There's likely samples of what you are looking for.
> >
> > This is assuming that of course, you have already
> > looked at the documentation.
> >
> > Jared
> >
> > On Wed, 3 May 2000, Just Started wrote:
> >
> > > Hi , DBAs !
> > > Please help :
> > >
> > > How can bind variables be used & implemented with with Java ?
> > > Does anyone have an example / paper /link ?
> > >
> > > TIA .
> > >
![]() |
![]() |