Error comes when we use ".prepareStatement(sql)"No method matching prepareStatement() found in interface java.sql.Connection.
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   salman_zada
Posted On:   Friday, June 1, 2001 02:43 AM

Error comes when we use ".prepareStatement(sql) instead of creatStatement "No method matching prepareStatement() found in interface java.sql.Connection." "WebsphereStudio Advance version 3.5 " what should we do to resolve this issue ?thanks in advance

Re: Error comes when we use ".prepareStatement(sql)"No method matching prepareStatement() found in interface java.sql.Connection.

Posted By:   Mansoor_Muhammad  
Posted On:   Wednesday, June 6, 2001 08:03 PM

Please check the version that you are using for compilation,

Re: Error comes when we use ".prepareStatement(sql)"No method matching prepareStatement() found in interface java.sql.Connection.

Posted By:   Mekaiel_Hussain  
Posted On:   Tuesday, June 5, 2001 07:31 AM

try this


PreparedStatement psmtInsert = connection.prepareStatement(sqlNewUserInsert);

where


sqlNewUserInsert is the sql statement to execute

and connection

is the object representing a connection to the database

About | Sitemap | Contact