4 messages in com.mysql.lists.javaRe: releaseSavePoint not implemented ...
FromSent OnAttachments
Johan Hook29 Sep 2004 01:21 
Mark Matthews29 Sep 2004 23:57 
Johan Hook30 Sep 2004 00:45 
Mark Matthews01 Oct 2004 00:22 
Subject:Re: releaseSavePoint not implemented in 3.1.4?
From:Mark Matthews (ma@mysql.com)
Date:09/29/2004 11:57:20 PM
List:com.mysql.lists.java

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

Johan Hook wrote:

Hi, I'm getting an exception when calling Connection.releaseSavePoint. As far as I can see from the documentation it should be implemented in 3.1.1. I don't get any exceptions on Connection.setSavePoint, commit or rollback.

I'm running Connector/J 3.1.4 with MySQL 4.1.3.

Any ideas welcome! /Johan

Johan,

Connection.releaseSavepoint() would be a no-op on the server, because savepoints are automatically released, and take very few resources. I felt it was better to let callers no that it doesn't actually do anything.

We could change this with a configuration parameter, that would allow one to call releaseSavepoint() and not throw an exception if the current behavior is enough of a hassle to our users.

-Mark

- -- Mr. Mark Matthews MySQL AB, Software Development Manager, J2EE and Windows Platforms Office: +1 708 332 0507 www.mysql.com

MySQL Guide to Lower TCO http://www.mysql.com/it-resources/white-papers/tco.php -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBW65mtvXNTca6JD8RAg8/AJ4h/3fcs/v0aX/ASd1O4IkA2lKwBgCeORPn gr7ZI8fGSc5rAHiBbofqBps= =aLOE -----END PGP SIGNATURE-----