I tried to configure the database properties with the following persistence command:
Result: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
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?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
Cheers, Fireball


Reply With Quote