MyBatis Generator
Install & Run
node
First,run from your terminal:
sudo npm install -g git+https://git@github.com/Youmoo/mybatis-generator.git
Second,create a file, config.json
,with the following content:
{
"host": "localhost",
"database": "dbtest1",
"user": "test",
"password": "test",
"connectionLimit": 10,
"httpPort": 8888
}
Third,run from your terminal:
mybatis config.json
Last, click me.
java
First , create a file in your home path, config.json
,with the following content:
{
"host": "localhost",
"database": "dbtest1",
"user": "test",
"password": "test",
"connectionLimit": 10,
"dbPort": 3306,
"jdbcDriver": "com.mysql.jdbc.jdbc2.optional.MysqlDataSource"
}
Then run from your terminal:
git clone https://github.com/Youmoo/mybatis-generator
cd mybatis-generator
cp ~/config.json ./
cd java
mvn spring-boot:run -Dserver.port=8888
Lastly , open me
Generate text such as :
- resultMap
- baseColumns
- insert
- insertSelective
- update
- updateSelective
- entity
- dao
- many more...
Libs that are used:
- react+flux
- nodejs+restify
- mysql
- browserify
- semantic-ui