-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Usage Guide
Owen edited this page Jun 21, 2016
·
3 revisions
- Step 1: Click Connections icon, input the JDBC connection information, click OK to save the connection
- Step 2: Double click just saved DB conenction, select the schema your tables inside, then select the table you need to generate code.
- Step 3: Select jdbc connector jar file from your local file system, and select your project folder.
- Step 4: Input your Model Package that java POJO model and example file will generate, for example:
com.exmaple.model
, Target Folder means where your model package should save related to your project folder, if you use a maven default folder structure, you should besrc/main/java
- Step 5: Input your DAO Package that is the mapper file, such as
com.example.dao
, Target Folder is the folder where your mapper DAO save, for example it issrc/main/java
if it is a default maven project. - Step 6: Input the mapping XML Package, usually it is your project base package name, such as
com.example
, and Target Folder is the folder where your XML generate, for example issrc/main/resoures
if it is a default maven project.