Subject | Re: [Firebird-Java] Re: JayBird: Problems with Prepared Statements |
---|---|
Author | Roman Rokytskyy |
Post date | 2005-09-06T18:10:07Z |
> Thank you for the explanation! So it seems that the database engine isYou can state it that way, but in fact the database is 'responsible' for
> 'responsible' for the unavailability of that feature, not the driver.
supporting prepared statements which are used to increase the spead of the
applications.
> It's not unwillingness. I simply thought that I can spare an extraThat is wrong approach. If you want to use prepared statements, handle them
> method for the prepared statements, as it would be largely of the same
> kind as the existent one, but it seems that I definitely need such.
separately as they were designed to. If you want to execute just strings,
nobody prevents you from doing it - use java.sql.Statement. It is
conceptually wrong to use prepared statement only to convert question marks
into string representation of the parameters - it is much more easier to
construct the right string in the application already.
Roman