Ah, sorry. I have no idea why I dowloaded v2.0.14. I must have been half
asleep.
OK, so now with 4.1.0 and 3.0.7-stable I get the FeatureNotImplemented
exception. Guess I'll have to wait, huh?
For your info, I tried connector-j 3.1.0 alpha and I couldn't even
connect. Tried 3 times and died.
java.sql.SQLException: Server connection failure during transaction.
Attemtped reconnect 3 times. Giving up.
at com.mysql.jdbc.Connection.createNewIO(Connection.java:1702)
at com.mysql.jdbc.Connection.<init>(Connection.java:524)
at com.mysql.jdbc.Driver.connect(Driver.java:359)
Because I'm anal, I would like to point out that 'Attemtped' is actually
spelt Attempted. Dyslexia rules, KO?
This is on linux 2.4.20 with redhat.
Later,
Adam
Mark Matthews wrote:
> Connector/J 2.0.14 is _very_ old, it predates JDK-1.4 by quite a bit, so
> that explains the fact the method isn't there at all :)
>
> MySQL versions prior to 4.1 don't have prepared statements at all, they
> are emulated in the JDBC driver. Therefore the driver can't implement
> this method for MySQL < 4.1.
>
> MySQL 4.1 has 'true' prepared statements, but doesn't currently return
> parameter metadata for PreparedStatements, but this is planned sometime
> during the 4.1 timeframe.
>
>
> -Mark