Last active
August 29, 2015 13:57
-
-
Save phstudy/9579143 to your computer and use it in GitHub Desktop.
Database Reverse Engineering
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// MySQL sample database | |
// https://dev.mysql.com/doc/employee/en/employees-installation.html | |
// https://launchpad.net/test-db/ | |
project --topLevelPackage org.phstudy --projectName DBRE --java 6 --packaging JAR | |
persistence setup --database MYSQL --provider HIBERNATE --userName root --databaseName employees | |
database reverse engineer --package ~.model --schema PUBLIC | |
addon install id --searchResultId 01 | |
database reverse engineer --package ~.model --schema PUBLIC | |
json all --deepSerialize | |
web mvc json setup | |
web mvc json all --package ~.rest | |
web mvc setup | |
web mvc all --package ~.web |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment