Subject | Re: [Firebird-Java] Re: JayBird: Problems with Prepared Statements |
---|---|
Author | Roman Rokytskyy |
Post date | 2005-09-06T15:09:55Z |
> Is overriding the toString method for PreparedStatement a viable solution?I'm not sure that this is the correct way (though MySQL took that path). I
would prefer an explicit method in FirebirdPreparedStatement interface, but
that is taste issue, I think.
Also IIRC, the SQL statement must be cached in the AbstractPreparedStatement
object (or better in the statement handle).
Roman