Results 1 to 4 of 4

Thread: persistence setup: configuring the database properties

  1. #1
    Join Date
    Oct 2009
    Location
    Munich, Germany
    Posts
    103

    Default 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. #2
    Join Date
    Mar 2008
    Location
    Sydney, AU
    Posts
    974

    Default

    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

  3. #3
    Join Date
    Oct 2009
    Location
    Munich, Germany
    Posts
    103

    Default

    Very well. :-)

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

    Fireball

  4. #4
    Join Date
    Mar 2008
    Location
    Sydney, AU
    Posts
    974

    Default

    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

Posting Permissions

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