Results 1 to 4 of 4

Thread: Does Spring update the database configuration?

  1. #1
    Join Date
    May 2005
    Posts
    28

    Default 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. #2
    Join Date
    Dec 2005
    Posts
    929

    Default

    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
    Alan Stewart
    Spring Roo Committer
    twitter @alankstewart

  3. #3
    Join Date
    May 2005
    Posts
    28

    Default

    Thanks Alan.

    What is provider here?

    Thanks,
    Jan.

  4. #4
    Join Date
    Dec 2005
    Posts
    929

    Default

    Push TAB after --provider - will give you a choice of HIBERNATE, ECLIPSELINK, OPENJPA, and DATANUCLEUS
    Alan Stewart
    Spring Roo Committer
    twitter @alankstewart

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •