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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Can I do that in SQLJ?

Re: Can I do that in SQLJ?

From: Uwe Schneider <uwe_at_richard-schneider.de>
Date: Thu, 25 Oct 2001 21:52:42 +0200
Message-ID: <3BD86D8A.8E5D4B3A@richard-schneider.de>


ftp wrote:
>
> In JDBC, I can prepare a query by
> PreparedStatement pstmt = conn.prepareStatement(sqlString);
> The sqlString can be created by the program in runtime.
>
> Can I do the similar thing in SQLJ?
>

Although I am really no SQLJ expert I want to point you to the technet SQLJ documentation.

This mentions that the Oracle driver implements a statement cache (default size: 5 statements), which does an implicit prepare for you. You can increase or disable this cache by command line options for "sqlj".

Uwe

-- 
Uwe Schneider       | Telefon +49 7244 / 609504
Karlsdorfer Str. 31 | Mail    uwe_at_richard-schneider.de
DE-76356 Weingarten | http://www.richard-schneider.de/uwe
Linux - OS al dente!
Received on Thu Oct 25 2001 - 14:52:42 CDT

Original text of this message

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