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

Bug when using sequence

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • None
    • N/A
    • configuration
    • None
    • MariaDb 11.1.0

    Description

      When using spring boot project using mariadb 10.6.11 there is no issue when create table with some custom sequence id using Hibernate. I noticed hibernate will use this query to capture new id and it is fine without error:
      select nextval(seq_merchant_nextval) ;

      When using 11.1.0 the query was different and casue error:
      select next_val as id_val from seq_merchant_nextval for update;

      Error summary: (conn=2246) Unknown column 'next_val' in 'field list'

      Attachments

        Issue Links

          Activity

            People

              diego dupin Diego Dupin
              kwy1992 KOH WEN YEN
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.