Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-3270

Invalid jdbc driver configurated in project for postgresql

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 1.2.3.RELEASE
    • Component/s: PERSISTENCE
    • Labels:
    • Environment:
      Ubuntu 12.04, JDK 1.6.0_33, Maven 3.0.4

      Description

      Invalid jdbc driver version 9.1-901.jdbc3 configurated for postgresql

      project --topLevelPackage org.gvnix.test --projectName test --java 6
      persistence setup --provider HIBERNATE --database POSTGRES
      ...
      Updated ROOT/pom.xml [added dependencies postgresql:postgresql:9.1-901.jdbc3, ...]
      ...

      From http://jdbc.postgresql.org/download.html talking about Version 9.1-902:

      "This is the current version of the driver. Unless you have unusual requirements (running old applications or JVMs), this is the driver you should be using. It supports Postgresql 7.2 or newer and requires a 1.5 or newer JVM. It contains support for SSL and the javax.sql package. It comes in two flavours, JDBC3 and JDBC4. If you are using the 1.6 or 1.7 JVM, then you should use the JDBC4 version."

      Conclusion:

      • Upgrade version to 9.1-902
      • With java 1.5 configure JDBC3 version (9.1-902.jdbc3)
      • With java 1.6 and 1.7 configure JDBC4 version (9.1-902.jdbc4)

        Attachments

          Activity

            People

            • Assignee:
              stewarta Alan Stewart
              Reporter:
              mmartinez Mario Martínez Sánchez - gvNIX - DISID
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified