dcsimg
PreparedStatement
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Sunday, May 25, 2003 11:32 AM

Since JDK 1.4, Statement interface includes a method
executeUpdate(String SQL, int autogeneratedKeys). Is there
an equivalent of this function for PreparedStatement? Common sense tells
me that PreparedStatment should have a method executeUpdate(int autogeneratedKeys) but it doesn't. Is there a way to simulate this ?

Re: PreparedStatement

Posted By:   jason_jack  
Posted On:   Saturday, May 31, 2003 03:53 PM

I believe that:


public interface PreparedStatement extends Statement

You also have to execute an update by providing a sql string

About | Sitemap | Contact