[CONJ-59] Only holding cursors over commit is supported Created: 2013-07-30  Updated: 2013-09-05  Resolved: 2013-09-05

Status: Closed
Project: MariaDB Connector/J
Component/s: None
Affects Version/s: 1.1.3
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: rehmke Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: SQLFeatureNotSupportedException, jdbc
Environment:

MariaDB 5.5.33 (32-bit), INNODB database engine, mariadb-java-client-1.1.3.jar JDBC driver, Windows 7 (64-bit)


Attachments: Text File error.txt    

 Description   

While attempting to use MariaDB and the associated JDBC driver with a Java application, an exception was encountered:

[20130730-15:24:01][tStartDS] Only holding cursors over commit is supported
java.sql.SQLFeatureNotSupportedException: Only holding cursors over commit is supported
at org.mariadb.jdbc.internal.SQLExceptionMapper.getFeatureNotSupportedException(SQLExceptionMapper.java:165)

How to remedy? Please advise, and thank you.



 Comments   
Comment by Vladislav Vaintroub [ 2013-07-31 ]

it is your application, so you would know how the remedy best. What exactly do you expect from setHoldability() ? Why is ResultSet.CLOSE_CURSORS_AT_COMMIT important for your application? What happens if you ignore the java.sql.SQLFeatureNotSupportedException (this is what I would advice , but I have no clue about your app, and you do not tell much either)?

Generated at Thu Feb 08 03:12:52 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.