Subject | prepared statement |
---|---|
Author | csergiu77 |
Post date | 2005-07-15T05:52:18Z |
Hi
My name is Cristian Chiovari
I am a software developer from Romania.
I would like to ask you if the java driver jaybird driver
has a toString method on prepared statement which will give as
result the sql
For example:
java.sql.PreparedStatement ps = connection.prepareStatement("insert
into proba values (?,?)");
ps.setInt(1,12);
ps.setInt(2,1);
System.out.println(ps.toString())==>
insert into proba values (12,1);
The mysql JConnector has one so i wonered if is difficult to do this
on jaybird also.
Can i do this for my personal use.
How?
Thx a lot...
Cristian
My name is Cristian Chiovari
I am a software developer from Romania.
I would like to ask you if the java driver jaybird driver
has a toString method on prepared statement which will give as
result the sql
For example:
java.sql.PreparedStatement ps = connection.prepareStatement("insert
into proba values (?,?)");
ps.setInt(1,12);
ps.setInt(2,1);
System.out.println(ps.toString())==>
insert into proba values (12,1);
The mysql JConnector has one so i wonered if is difficult to do this
on jaybird also.
Can i do this for my personal use.
How?
Thx a lot...
Cristian