Comments (2)
Hi @dwenking,
Thanks for reaching out and raising this issue.
We'll take a look at this and keep you updated as we investigate.
Thank you for your patience!
from aws-mysql-jdbc.
Hi @dwenking,
After some consideration, we've decided we will not be implementing a fix for this issue.
Looking at the code, the default holdability value is HOLD_CURSORS_OVER_COMMIT
and CLOSE_CURSORS_AT_COMMIT
does not seem to be supported. Some getHoldability or getResultSetHoldability methods return constant values, and others throw an exception. To make these methods consistent, the potential solutions would be:
- to have all get holdability methods return
HOLD_CURSORS_OVER_COMMIT
, as that is the default value. - to have all get holdability methods throw an exception, as is done in the
ResultSetImpl
andUpdatableResultSet
classes.
The AWS JDBC Driver for MySQL is based on the MySQL Connector/J driver and we would like to remain as consistent with it as possible. Therefore, it is difficult for us to determine which approach to take as we would be changing which methods automatically throw exceptions. In this case, we will defer to the existing code and leave it as-is.
This issue will be closed, but please feel free to reach out again if you have other questions. Thank you!
from aws-mysql-jdbc.
Related Issues (20)
- Random IndexOutOfBoundsException occurences HOT 5
- Redundant "Reset stmt" when setting useServerPrepStmts&cachePrepStmts to true HOT 2
- Failover with a autocommit=false setup lead to broken connections HOT 8
- Setting allowMultiQueries leads to different results HOT 4
- BatchUpdateException.getUpdateCounts returns unexpected value -1 HOT 6
- Be more verbose about connecting to the read-only endpoint of an aurora RDS instance. HOT 2
- Default clusterId doesn't include user HOT 2
- During batchUpdate() Single line comments are causing error "Statement.executeUpdate() or Statement.executeLargeUpdate() cannot issue statements that produce result sets." HOT 4
- Potentially corrupt connection in pool HOT 4
- Statement.getGeneratedKeys() returns unexpected value HOT 3
- Error Initializing DB Connection to Aurora DB in `AWS-CN` without `enableClusterAwareFailover=false` HOT 9
- Setting a large timeout leads to errors when executing SQL HOT 1
- Execution of executeUpdate Closes Previously Acquired ResultSet HOT 2
- Statement.getResultSetType () seems failed to change the result set type HOT 1
- Statement.cancel() does not work HOT 3
- what is the different between aws-mysql-jdbc and aws-advanced-jdbc-wrapper HOT 4
- docs: clarify differences between MySQL JDBC and JDBC Wrapper
- Is it possible to exclude Readers with different instance types if they are included? HOT 2
- NodeMonitoringConnectionPlugin causes Exceptions HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-mysql-jdbc.