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

Improve database messages in persistence setup command

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.1.0.RELEASE
    • Fix Version/s: 1.1.1.RELEASE
    • Component/s: PERSISTENCE
    • Labels:
      None

      Description

      Currently, if a users chooses a database other than hsqldb or H2, a message appears directing the user to enter their database details in either the database.properties or persistence.xml (when DataNucleus is selected). However this message is displayed before the persistence setup command is fully executed and other Roo update messages can follow which looks strange as well being confusing. This change will move the messages from the JpaOperationsImpl class to the JpaCommands class and only appear after the call to JpaOperations.configureJpa() is completed. Also, it will decrease clutter in the JpaOperationsImpl class and centralise the logic in one spot.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: