Commit 566d22eb authored by o2sword's avatar o2sword

升级到6.1和java11

parent 05d11181
......@@ -2,6 +2,6 @@
O2OA 自定义应用开发模板,编程语言JAVA,JDK版本V1.8,部署环境o2serverV5.2及以上。
O2OA 自定义应用开发模板,编程语言JAVA,JDK版本V11,部署环境o2serverV6.1及以上。
帮助文档:[O2Server搭建自定义工程及开发](https://www.yuque.com/o2oa/course/tuef8c)
\ No newline at end of file
帮助文档:[O2Server搭建自定义工程及开发](https://www.yuque.com/o2oa/course/tuef8c)
This diff is collapsed.
......@@ -7,7 +7,7 @@
<parent>
<groupId>o2oa</groupId>
<artifactId>o2oa_custom</artifactId>
<version>5.4</version>
<version>6.1</version>
</parent>
<artifactId>x_sampleproject_assemble_control</artifactId>
<packaging>war</packaging>
......@@ -27,7 +27,7 @@
<dependency>
<groupId>o2oa</groupId>
<artifactId>x_sampleproject_core_entity</artifactId>
<version>5.4</version>
<version>6.1</version>
</dependency>
</dependencies>
<build>
......@@ -46,14 +46,14 @@
<addOutputToClasspath>true</addOutputToClasspath>
<includePluginDependencies>true</includePluginDependencies>
<includeProjectDependencies>true</includeProjectDependencies>
<mainClass>com.x.base.core.project.annotation.DescribeBuilder
</mainClass>
<mainClass>com.x.base.core.project.annotation.DescribeBuilder</mainClass>
<arguments>
<argument>${basedir}</argument>
<argument>${project.build.sourceDirectory}</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>apiBuilder</id>
<phase>prepare-package</phase>
......@@ -81,8 +81,7 @@
<addOutputToClasspath>true</addOutputToClasspath>
<includePluginDependencies>true</includePluginDependencies>
<includeProjectDependencies>true</includeProjectDependencies>
<mainClass>com.x.base.core.project.build.CheckAssemble
</mainClass>
<mainClass>com.x.base.core.project.build.CheckAssemble</mainClass>
</configuration>
</execution>
<execution>
......@@ -127,6 +126,12 @@
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</project>
......@@ -38,8 +38,8 @@ public class ActionSave extends BaseAction {
SampleEntityClassName sampleEntityClassName = Wi.copier.copy( wi );
//启动事务
emc.beginTransaction( SampleEntityClassName.class );
//校验对象
emc.check( sampleEntityClassName, CheckPersistType.all );
//校验并持久化对象
emc.persist( sampleEntityClassName, CheckPersistType.all );
//提交事务
emc.commit();
......
......@@ -7,7 +7,7 @@
<parent>
<groupId>o2oa</groupId>
<artifactId>o2oa_custom</artifactId>
<version>5.4</version>
<version>6.1</version>
</parent>
<artifactId>x_sampleproject_core_entity</artifactId>
<packaging>jar</packaging>
......@@ -23,6 +23,23 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<id>TableBuilder</id>
<phase>prepare-package</phase>
<goals>
<goal>java</goal>
</goals>
<configuration>
<addOutputToClasspath>true</addOutputToClasspath>
<includePluginDependencies>true</includePluginDependencies>
<includeProjectDependencies>true</includeProjectDependencies>
<mainClass>com.x.base.core.project.annotation.TableBuilder</mainClass>
<arguments>
<argument>${basedir}</argument>
<argument>${project.build.sourceDirectory}</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>metaModelBuilder</id>
<phase>generate-sources</phase>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment