Subject Re: [Firebird-Java] Re: JayBird: Problems with Prepared Statements
Author Roman Rokytskyy
> Can I post a direct link to my post here at YahooGroups - would that
> suffice as a feature request description?

Just type few words - Yahoo might decide to remove their message database.

> I have a single 'statementExecutor()' method in my Java program that
> takes an 'SQLstatement' String as input parameter. I thought, I can
> spare another method for executing the prepared statement on its own
> (as I have to also execute non-prepared CREATEs: in addition to the
> mentioned INSERTs).

Then why do you need SQLstatement parameter later? For now I can imagine
only one usage for it - take an object (instance of java.sql.Statement
interface) and display it to the user.

But then, if you have a single method that takes string as parameter, why do
you need to call toString() method to return the SQL string that you just

If you expect the toString() method to convert parameter marks ('?') into
the specified string values - that's another story. It was already discussed
here and the resolution was:

"We need to create good SQL parser and so far nobody in the project has
enough time to write one. If and when you write and test it, we will be glad
to commit it to the project".