Subject | Re: JayBird: Problems with Prepared Statements |
---|---|
Author | pifproject |
Post date | 2005-09-06T16:37:43Z |
Roman writes:
responding to my posts so promptly!
@Frederico
If I got you right (?), I think you suggest "to override the default
Object.toString() method" (as David Johnson wrote in his reply). Then
Steven Jardine asked whether "overriding the toString method for
PreparedStatement is a viable solution"..
Roman writes:
benefits the user community!
> there is no agreement among JDBC driver vendors on this issueFederico writes:
> If you use vendor specific extension, you know what you are doing,
> there are no conflicts caused by different semantics, etc.
> If later this issue is covered in the JDBC specification, we can
> easily adapt to the change, which will not be the case if suddenly
> the specification decides to define some other meaning for
> toString() method.
> Since that is not part of the JDBC spec, I think it belongs to aFirst of all, thanks a lot for the reasonable explanations and for
> Firebird extension or even better to a wrapper object that passes
> all calls to the real statement and intercepts the setXXX() methods
> in PreparedStatement and builds the string for that purpose. That
> wrapper does not have to be part of the jaybird driver, just a tool
> you could use with any JDBC driver.
responding to my posts so promptly!
@Frederico
If I got you right (?), I think you suggest "to override the default
Object.toString() method" (as David Johnson wrote in his reply). Then
Steven Jardine asked whether "overriding the toString method for
PreparedStatement is a viable solution"..
Roman writes:
> finally the group, all JayBird users, decideThank you very much for this open source initiative that surely
> what should be in the driver
benefits the user community!