|
From: Tom K <tk...@co...> - 2004-04-28 14:05:32
|
Thanks Juergen, I was getting a bit frustrated with Petclinc although it forced me to do some book learning :-) It's probability be a good idea to update the sample directory with the newer Connector/J 3.x for Petclinic. Tom K. -----Original Message----- From: spr...@li... [mailto:spr...@li...] On Behalf Of j=FCrgen h=F6ller [werk3AT] Sent: Wednesday, April 28, 2004 12:31 AM To: spr...@li... Subject: Re: [Springframework-developer] Petclinic Demo with mysql 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)Lja va/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 ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.=20 http://ads.osdn.com/?ad_id149&alloc_id=8166&op=3Dick _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer --- Incoming 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 =20 --- 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 =20 |