|
From: <jue...@we...> - 2004-04-28 05:36:42
|
I assume you're running the Hibernate version: As of release 2.1.2, = Hibernate requires a JDBC 3.0 driver when running on J2SE 1.4, because = it auto-detects the capability for auto-generated keys - in the JDBC = interfaces, not in the driver implementation. So you need to use MySQL = Connector/J 3.x on J2SE 1.4, else you'll end up with an error that the = driver doesn't implement that particular method (like you did). On J2SE = 1.3, MySQL Connector/J 2.x is fine. =20 Juergen =20 ________________________________ Von: spr...@li... im Auftrag = von Tom K Gesendet: Mi 28.04.2004 06:26 An: spr...@li... Betreff: [Springframework-developer] Petclinic Demo with mysql I'm "trying" to get the petclinic demo to work with mySQL. I can do = selects and updates but when I try to do an insert I get the error: =20 java.lang.AbstractMethodError: = com.mysql.jdbc.jdbc2.Connection.prepareStatement(Ljava/lang/String;I)Ljav= a/sql/PreparedStatement; =20 After hours of studying the documentation, I don't have a clue where my = problem is. =20 Any ideas what might be wrong? =20 TIA =20 Tom K. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.557 / Virus Database: 349 - Release Date: 12/30/2003 |