- Deploy mysql-connector.jar
- Goto JBoss Admin Interface
- Add Datasource
- Name: diningDevelopersDS
- JNDI-Name java:/diningDevelopersDS
- URL: jdbc:mysql://localhost/ddd
- Enable Datasource
- mvn clean install
- mvn initialize flyway:clean (database reset…)
- mvn initialize flyway:init (initialize schema version table)
- mvn initialize flyway:migrate (migrate schema to latest version)
- mvn initialize sql:execute (insert test data)