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

CLONE -Oracle persistence: wrong URL in database.properties

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.1.RELEASE, 1.0.2.RELEASE, 1.1.0.M1
    • Fix Version/s: 1.1.0.M3
    • Component/s: PERSISTENCE
    • Labels:
      None
    • Environment:
      Win XP

      Description

      After having create a topLevelPackage for a new roo project and after executing the persistence setup with

      persistence setup --provider ECLIPSELINK --database ORACLE --databaseName orcl --userName oe --password oe

      (OE is a default test-schema delivered from Oracle for testing and training purposes)

      the created database.properties contains a wrong URL:

      jdbc\:oracle\:thin\:@localhost\:1521/orcl

      The correct one should not contain any slashes/backslashes and is of the following form (maintaining the replacements):

      jdbc:oracle:thin:@localhost:1521:orcl

      Having replaced that, the database connection works.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sschmidt Stefan Schmidt
              Reporter:
              servlet2@msn.com servlet 2
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: