Giter VIP home page Giter VIP logo

Comments (2)

brunos-bq avatar brunos-bq commented on June 16, 2024

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.

crystall-bitquill avatar crystall-bitquill commented on June 16, 2024

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:

  1. to have all get holdability methods return HOLD_CURSORS_OVER_COMMIT, as that is the default value.
  2. to have all get holdability methods throw an exception, as is done in the ResultSetImpl and UpdatableResultSet 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.