Spring Roo
  1. Spring Roo
  2. ROO-1909

Improve database messages in persistence setup command

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor 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.

        Activity

        Hide
        Alan Stewart added a comment -

        Fixed in Git ID eea2d1b4d57741e367755a6f2824467a1cd2ebd0

        Show
        Alan Stewart added a comment - Fixed in Git ID eea2d1b4d57741e367755a6f2824467a1cd2ebd0

          People

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

            Dates

            • Created:
              Updated:
              Resolved: