Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-16556

PostgresTableMetaDataProvider.isGetGeneratedKeysSimulated() does not detect Postgres 10

    XMLWordPrintable

    Details

      Description

      After postgresql server upgraded to version 10+, string comparison fails to return correct value.

      In PostgresTableMetaDataProvider.java:

      if (version != null && version.compareTo("8.2.0") >= 0)

      { return true; }

      "10".compareTo("8.2.0") < 0

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              juergen.hoeller Juergen Hoeller
              Reporter:
              theangus LI Geng
              Last updater:
              Spring Issues Spring Issues
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 30 weeks, 2 days ago