List:MySQL and Java« Previous MessageNext Message »
From:Jeff Mathis Date:May 22 2003 5:06pm
Subject:Re: preparedstatement and metadata
View as plain text  
and because your anal, "spelt" is actually spelled "spelled"   :)

Adam Hardy wrote:
> 
> 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
> 
> --
> MySQL Java Mailing List
> For list archives: http://lists.mysql.com/java
> To unsubscribe:    http://lists.mysql.com/java?unsub=1

-- 
Jeff Mathis, Ph.D.			505-955-1434
The Prediction Company			jmathis@stripped
525 Camino de los Marquez, Ste 6	http://www.predict.com
Santa Fe, NM 87505
Thread
preparedstatement and metadataAdam Hardy21 May
  • Re: preparedstatement and metadataMark Matthews21 May
    • Re: preparedstatement and metadataAdam Hardy22 May
  • Re: preparedstatement and metadataJeff Mathis22 May
  • Re: preparedstatement and metadataJeff Mathis22 May
    • Re: preparedstatement and metadataAdam Hardy22 May
  • Re: preparedstatement and metadataShankar Unni22 May