Re: get SQL statement from PreparedStatement
- From: IchBin <weconsul@xxxxxxx>
- Date: Thu, 23 Feb 2006 15:26:50 -0500
JY wrote:
How can I get the SQL statement which will be submitted by the PreparedStatement to the database to execute?Can find a lot of examples at the "The Java Developers Almanac 1.4"
Thanks
http://www.google.com/custom?domains=javaalmanac.com&q=PreparedStatement+&sa=Google+Search&sitesearch=javaalmanac.com&client=pub-6001183370374757&forid=1&ie=ISO-8859-1&oe=ISO-8859-1&cof=GALT%3A%23008000%3BGL%3A1%3BDIV%3A%23336699%3BVLC%3A663399%3BAH%3Acenter%3BBGC%3AFFFFFF%3BLBGC%3A336699%3BALC%3A0000FF%3BLC%3A0000FF%3BT%3A000000%3BGFNT%3A0000FF%3BGIMP%3A0000FF%3BFORID%3A1%3B&hl=en
Example: "e259. Inserting a Row into a Database Table Using a Prepared Statement"
http://javaalmanac.com/egs/java.sql/InsertPs.html
Documented in "The Big Index" here:http://java.sun.com/docs/books/tutorial/reallybigindex.html
under: "Trail: JDBC(TM) Database Access"
--
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.servebeer.com/JHackerAppManager
__________________________________________________________________________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
.
- References:
- Prev by Date: Re: Creating And Plotting Graphs
- Next by Date: Re: Where are Netbeans 5.0 Log Files?
- Previous by thread: Re: get SQL statement from PreparedStatement
- Next by thread: Re: get SQL statement from PreparedStatement
- Index(es):
Relevant Pages
|