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

Support Derby Client for persistence and dbre

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.1.5.RELEASE
    • Fix Version/s: 1.2.0.M1
    • Component/s: PERSISTENCE
    • Labels:

      Description

      persistence setup only offers the Derby embedded option, and the Roo add-on repository only provides a wrapped Derby embedded jar. Derby should have seperate embedded and client options (like Hypersonic does).

      Jar file: derbyclient.jar
      jdbc url: jdbc:derby://hostname[:port]/databaseName[;attributeKey=value]..
      driver class: org.apache.derby.jdbc.ClientDriver

      suggested default jdbc url: jdbc:derby://localhost:1527/sample;create=true
      By default, a Derby network server will only allow connections from localhost on port 1527. create=true will cause the network server to create a new db with the specified name if it doesn't already exist.

      persistence setup command substitution:
      --hostName should replace the hostName
      --databaseName should replace the databaseName
      --userName should append 'user=' and userName to jdbc url
      --password should append 'password=' and password to jdbc url

        Attachments

          Activity

            People

            • Assignee:
              stewarta Alan Stewart
              Reporter:
              g051051 Dan Price
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: