Announcement Announcement Module
Collapse
No announcement yet.
Does Spring update the database configuration? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Does Spring update the database configuration?

    Hi,

    I used Roo to create the project. I have used Roo to create the database configuration as well. It was Oracle. But now, I want to change the databse to MySQL. Does Roo do it automatically? am I asking for too much?

    Thanks,
    Jan.

  • #2
    Just issue the "persistence setup --provider --database MYSQL --username --password --databaseName" command. You will need to supply the provider, username, password and databaseName. Roo will update the database.properties file and install the MySQL dependencies into your pom.xml
    Alan

    Comment


    • #3
      Thanks Alan.

      What is provider here?

      Thanks,
      Jan.

      Comment


      • #4
        Push TAB after --provider - will give you a choice of HIBERNATE, ECLIPSELINK, OPENJPA, and DATANUCLEUS

        Comment

        Working...
        X