JasonFramewok is a Spring Framework based JavaEE application reference architecture.
JasonFramewok是一个基于Spring框架JavaEE的应用框架。
请移步到Jason技术流水账
git clone https://github.com/jasonsoso/jason-framework.git
cd jason-framework
mvn clean compile install -Dmaven.test.skip=true
mvn deploy
//Publish to nexus ,not the Required-election
- 修改配置文件/src/test/resources/META-INF/config/application.properties中的数据库连接;
- 修改配置文件/src/test/resources/META-INF/config/framework.properties中的generate.*
- 修改模板/src/test/java/com/jason/framework/generate/template;主要是两个页面(因为每个项目的页面都不一样)
- 执行
mvn test -Dtest=GenerateTest
,生成代码在/src/out目录下
注意:现在只是支持单表,而且主键只可以数字类型的"id"
<dependency>
<groupId>com.jason</groupId>
<artifactId>framework</artifactId>
<version>1.0.2</version>
</dependency>