Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-40

Connector cannot handle java.util.Date in PreparedStatement.setObject

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.1.1
    • 1.1.3
    • None
    • None

    Description

      The member public void setObject(final int parameterIndex, final Object x, final int targetSqlType) throws SQLException in class
      org.mariadb.jdbc.MySQLPreparedStatement.

      fails when called with setObject(1, new Date(), Types.TIMESTAMP)

      In the case statements of the function TIMESTAMP is not considered.

      Attachments

        Activity

          People

            wlad Vladislav Vaintroub
            framas Frank S
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.