提交 f17586dd 编写于 作者: O o2null

Merge branch 'fix/dumpSize' into 'release'

Fix/dump size

See merge request o2oa/o2oa!1653
......@@ -116,7 +116,6 @@ public class Draft extends SliceJpaObject {
public static final String applicationAlias_FIELDNAME = "applicationAlias";
@FieldDescribe("应用别名.")
@Column(length = length_255B, name = ColumnNamePrefix + applicationAlias_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + applicationAlias_FIELDNAME)
@CheckPersist(allowEmpty = true)
private String applicationAlias;
......@@ -137,7 +136,6 @@ public class Draft extends SliceJpaObject {
public static final String processAlias_FIELDNAME = "processAlias";
@FieldDescribe("流程别名.")
@Column(length = length_255B, name = ColumnNamePrefix + processAlias_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + processAlias_FIELDNAME)
@CheckPersist(allowEmpty = true)
private String processAlias;
......
......@@ -245,7 +245,6 @@ public class Read extends SliceJpaObject implements ProjectionInterface {
public static final String applicationAlias_FIELDNAME = "applicationAlias";
@FieldDescribe("应用别名.")
@Column(length = length_255B, name = ColumnNamePrefix + applicationAlias_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + applicationAlias_FIELDNAME)
@CheckPersist(allowEmpty = true)
private String applicationAlias;
......@@ -266,7 +265,6 @@ public class Read extends SliceJpaObject implements ProjectionInterface {
public static final String processAlias_FIELDNAME = "processAlias";
@FieldDescribe("流程别名.")
@Column(length = length_255B, name = ColumnNamePrefix + processAlias_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + processAlias_FIELDNAME)
@CheckPersist(allowEmpty = true)
private String processAlias;
......
......@@ -233,7 +233,6 @@ public class ReadCompleted extends SliceJpaObject implements ProjectionInterface
public static final String applicationAlias_FIELDNAME = "applicationAlias";
@FieldDescribe("应用别名.")
@Column(length = length_255B, name = ColumnNamePrefix + applicationAlias_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + applicationAlias_FIELDNAME)
@CheckPersist(allowEmpty = true)
private String applicationAlias;
......@@ -254,7 +253,6 @@ public class ReadCompleted extends SliceJpaObject implements ProjectionInterface
public static final String processAlias_FIELDNAME = "processAlias";
@FieldDescribe("流程别名.")
@Column(length = length_255B, name = ColumnNamePrefix + processAlias_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + processAlias_FIELDNAME)
@CheckPersist(allowEmpty = true)
private String processAlias;
......
......@@ -249,7 +249,6 @@ public class Review extends SliceJpaObject implements ProjectionInterface {
@FieldDescribe("应用别名.")
@Column(length = AbstractPersistenceProperties.processPlatform_name_length, name = ColumnNamePrefix
+ applicationAlias_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + applicationAlias_FIELDNAME)
@CheckPersist(allowEmpty = true)
private String applicationAlias;
......@@ -272,7 +271,6 @@ public class Review extends SliceJpaObject implements ProjectionInterface {
@FieldDescribe("流程别名.")
@Column(length = AbstractPersistenceProperties.processPlatform_name_length, name = ColumnNamePrefix
+ processAlias_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + processAlias_FIELDNAME)
@CheckPersist(allowEmpty = true)
private String processAlias;
......
......@@ -162,7 +162,6 @@ public class Snap extends SliceJpaObject {
public static final String applicationAlias_FIELDNAME = "applicationAlias";
@FieldDescribe("应用别名.")
@Column(length = length_255B, name = ColumnNamePrefix + applicationAlias_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + applicationAlias_FIELDNAME)
@CheckPersist(allowEmpty = true)
private String applicationAlias;
......@@ -183,7 +182,6 @@ public class Snap extends SliceJpaObject {
public static final String processAlias_FIELDNAME = "processAlias";
@FieldDescribe("流程别名.")
@Column(length = length_255B, name = ColumnNamePrefix + processAlias_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + processAlias_FIELDNAME)
@CheckPersist(allowEmpty = true)
private String processAlias;
......
......@@ -236,7 +236,6 @@ public class Task extends SliceJpaObject implements ProjectionInterface {
public static final String applicationAlias_FIELDNAME = "applicationAlias";
@FieldDescribe("应用别名.")
@Column(length = length_255B, name = ColumnNamePrefix + applicationAlias_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + applicationAlias_FIELDNAME)
@CheckPersist(allowEmpty = true)
private String applicationAlias;
......@@ -257,7 +256,6 @@ public class Task extends SliceJpaObject implements ProjectionInterface {
public static final String processAlias_FIELDNAME = "processAlias";
@FieldDescribe("流程别名.")
@Column(length = length_255B, name = ColumnNamePrefix + processAlias_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + processAlias_FIELDNAME)
@CheckPersist(allowEmpty = true)
private String processAlias;
......
......@@ -433,7 +433,6 @@ public class TaskCompleted extends SliceJpaObject implements ProjectionInterface
public static final String applicationAlias_FIELDNAME = "applicationAlias";
@FieldDescribe("应用别名.")
@Column(length = length_255B, name = ColumnNamePrefix + applicationAlias_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + applicationAlias_FIELDNAME)
@CheckPersist(allowEmpty = true)
private String applicationAlias;
......@@ -447,7 +446,6 @@ public class TaskCompleted extends SliceJpaObject implements ProjectionInterface
public static final String processAlias_FIELDNAME = "processAlias";
@FieldDescribe("流程别名.")
@Column(length = length_255B, name = ColumnNamePrefix + processAlias_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + processAlias_FIELDNAME)
@CheckPersist(allowEmpty = true)
private String processAlias;
......@@ -524,7 +522,6 @@ public class TaskCompleted extends SliceJpaObject implements ProjectionInterface
public static final String activityDescription_FIELDNAME = "activityDescription";
@FieldDescribe("活动说明.")
@Column(length = length_255B, name = ColumnNamePrefix + activityDescription_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + activityDescription_FIELDNAME)
@CheckPersist(allowEmpty = true)
private String activityDescription;
......@@ -615,7 +612,6 @@ public class TaskCompleted extends SliceJpaObject implements ProjectionInterface
public static final String processingType_FIELDNAME = "processingType";
@FieldDescribe("流程流转类型")
@Column(length = JpaObject.length_16B, name = ColumnNamePrefix + processingType_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + processingType_FIELDNAME)
@CheckPersist(allowEmpty = false)
private String processingType;
......@@ -661,14 +657,12 @@ public class TaskCompleted extends SliceJpaObject implements ProjectionInterface
public static final String currentActivityName_FIELDNAME = "currentActivityName";
@FieldDescribe("当前活动名称.")
@Column(length = length_255B, name = ColumnNamePrefix + currentActivityName_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + currentActivityName_FIELDNAME)
@CheckPersist(allowEmpty = true)
private String currentActivityName;
public static final String joinInquire_FIELDNAME = "joinInquire";
@FieldDescribe("已办是否参与路由.")
@Column(name = ColumnNamePrefix + joinInquire_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + joinInquire_FIELDNAME)
@CheckPersist(allowEmpty = true)
private Boolean joinInquire;
......
......@@ -240,7 +240,6 @@ public class Work extends SliceJpaObject implements ProjectionInterface {
public static final String applicationAlias_FIELDNAME = "applicationAlias";
@FieldDescribe("应用别名.")
@Column(length = length_255B, name = ColumnNamePrefix + applicationAlias_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + applicationAlias_FIELDNAME)
@CheckPersist(allowEmpty = true)
private String applicationAlias;
......@@ -261,7 +260,6 @@ public class Work extends SliceJpaObject implements ProjectionInterface {
public static final String processAlias_FIELDNAME = "processAlias";
@FieldDescribe("流程别名.")
@Column(length = length_255B, name = ColumnNamePrefix + processAlias_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + processAlias_FIELDNAME)
@CheckPersist(allowEmpty = true)
private String processAlias;
......
......@@ -249,7 +249,6 @@ public class WorkCompleted extends SliceJpaObject implements ProjectionInterface
public static final String applicationAlias_FIELDNAME = "applicationAlias";
@FieldDescribe("应用别名.")
@Column(length = length_255B, name = ColumnNamePrefix + applicationAlias_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + applicationAlias_FIELDNAME)
@CheckPersist(allowEmpty = true)
private String applicationAlias;
......@@ -270,7 +269,6 @@ public class WorkCompleted extends SliceJpaObject implements ProjectionInterface
public static final String processAlias_FIELDNAME = "processAlias";
@FieldDescribe("流程别名.")
@Column(length = length_255B, name = ColumnNamePrefix + processAlias_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + processAlias_FIELDNAME)
@CheckPersist(allowEmpty = true)
private String processAlias;
......
......@@ -267,7 +267,6 @@ public class WorkLog extends SliceJpaObject {
@FieldDescribe("应用别名.")
@Column(length = AbstractPersistenceProperties.processPlatform_name_length, name = ColumnNamePrefix
+ applicationAlias_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + applicationAlias_FIELDNAME)
@CheckPersist(allowEmpty = true)
private String applicationAlias;
......@@ -290,7 +289,6 @@ public class WorkLog extends SliceJpaObject {
@FieldDescribe("流程别名.")
@Column(length = AbstractPersistenceProperties.processPlatform_name_length, name = ColumnNamePrefix
+ processAlias_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + processAlias_FIELDNAME)
@CheckPersist(allowEmpty = true)
private String processAlias;
......
......@@ -32,7 +32,7 @@ import com.x.base.core.entity.dataitem.ItemType;
import com.x.base.core.project.annotation.FieldDescribe;
@Entity
@ContainerEntity(dumpSize = 1000, type = ContainerEntity.Type.content, reference = ContainerEntity.Reference.strong)
@ContainerEntity(dumpSize = 500, type = ContainerEntity.Type.content, reference = ContainerEntity.Reference.strong)
@Table(name = PersistenceProperties.Item.table, uniqueConstraints = {
@UniqueConstraint(name = PersistenceProperties.Item.table + JpaObject.IndexNameMiddle
+ JpaObject.DefaultUniqueConstraintSuffix, columnNames = { JpaObject.IDCOLUMN,
......
......@@ -33,7 +33,7 @@ import com.x.base.core.entity.annotation.Flag;
import com.x.base.core.project.annotation.FieldDescribe;
@Entity
@ContainerEntity(dumpSize = 1000, type = ContainerEntity.Type.content, reference = ContainerEntity.Reference.strong)
@ContainerEntity(dumpSize = 10, type = ContainerEntity.Type.content, reference = ContainerEntity.Reference.strong)
@Table(name = PersistenceProperties.Query.table, uniqueConstraints = {
@UniqueConstraint(name = PersistenceProperties.Query.table + JpaObject.IndexNameMiddle
+ JpaObject.DefaultUniqueConstraintSuffix, columnNames = { JpaObject.IDCOLUMN,
......
......@@ -30,7 +30,7 @@ import com.x.base.core.entity.annotation.Flag;
import com.x.base.core.project.annotation.FieldDescribe;
@Entity
@ContainerEntity(dumpSize = 1000, type = ContainerEntity.Type.content, reference = ContainerEntity.Reference.strong)
@ContainerEntity(dumpSize = 10, type = ContainerEntity.Type.content, reference = ContainerEntity.Reference.strong)
@Table(name = PersistenceProperties.Reveal.table, uniqueConstraints = {
@UniqueConstraint(name = PersistenceProperties.Reveal.table + JpaObject.IndexNameMiddle
+ JpaObject.DefaultUniqueConstraintSuffix, columnNames = { JpaObject.IDCOLUMN,
......
......@@ -32,7 +32,7 @@ import com.x.base.core.entity.annotation.Flag;
import com.x.base.core.project.annotation.FieldDescribe;
@Entity
@ContainerEntity(dumpSize = 1000, type = ContainerEntity.Type.content, reference = ContainerEntity.Reference.strong)
@ContainerEntity(dumpSize = 10, type = ContainerEntity.Type.content, reference = ContainerEntity.Reference.strong)
@Table(name = PersistenceProperties.Stat.table, uniqueConstraints = {
@UniqueConstraint(name = PersistenceProperties.Stat.table + JpaObject.IndexNameMiddle
+ JpaObject.DefaultUniqueConstraintSuffix, columnNames = { JpaObject.IDCOLUMN,
......
......@@ -34,7 +34,7 @@ import com.x.base.core.entity.annotation.Flag;
import com.x.base.core.project.annotation.FieldDescribe;
@Entity
@ContainerEntity(dumpSize = 1000, type = ContainerEntity.Type.content, reference = ContainerEntity.Reference.strong)
@ContainerEntity(dumpSize = 10, type = ContainerEntity.Type.content, reference = ContainerEntity.Reference.strong)
@Table(name = PersistenceProperties.View.table, uniqueConstraints = {
@UniqueConstraint(name = PersistenceProperties.View.table + JpaObject.IndexNameMiddle
+ JpaObject.DefaultUniqueConstraintSuffix, columnNames = { JpaObject.IDCOLUMN,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册