Announcement Announcement Module
Collapse
No announcement yet.
persistence setup: configuring the database properties Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • persistence setup: configuring the database properties

    I tried to configure the database properties with the following persistence command:

    Code:
    roo> persistence setup  --provider HIBERNATE --database MYSQL --databaseName test --userName test --password test
    Created SRC_MAIN_RESOURCES\META-INF\persistence.xml
    Created SRC_MAIN_RESOURCES\META-INF\spring\database.properties
    please enter your database details in src/main/resources/database.properties
    Managed SRC_MAIN_RESOURCES\META-INF\spring\applicationContext.xml
    Managed ROOT\pom.xml
    Result:

    Code:
    #Updated at Thu Dec 03 14:38:30 CET 2009
    #Thu Dec 03 14:38:30 CET 2009
    database.password=
    database.url=jdbc\:mysql\://localhost\:3306
    database.username=
    database.driverClassName=com.mysql.jdbc.Driver
    Why are there options for the databaseName, userName and password if they aren't placed in the database.properties file? Or do I get anything wrong?

    Cheers, Fireball

  • #2
    Fireball,

    This has been reported in our Jira: http://jira.springframework.org/browse/ROO-387 and the fix will be available with the next release.

    Cheers,
    Stefan

    Comment


    • #3
      Very well. :-)

      Where do I have to ask for JIRA access to report issues?

      Fireball

      Comment


      • #4
        You can just sign up for an account: http://jira.springframework.org/logi...2Fbrowse%2FROO

        Remember to always search for existing issues related to your problem/feature request in order to avoid duplicates.

        -Stefan

        Comment

        Working...
        X