diff --git a/src/main/java/ch/ethz/seb/sebserver/gbl/api/EntityType.java b/src/main/java/ch/ethz/seb/sebserver/gbl/api/EntityType.java
index b2c0d351a..405fd9e4b 100644
--- a/src/main/java/ch/ethz/seb/sebserver/gbl/api/EntityType.java
+++ b/src/main/java/ch/ethz/seb/sebserver/gbl/api/EntityType.java
@@ -2,7 +2,7 @@
import javax.annotation.Generated;
-@Generated(value="org.mybatis.generator.api.MyBatisGenerator",comments="ch.ethz.seb.sebserver.gen.DomainModelNameReferencePlugin",date="2023-11-14T09:46:30.136+01:00")
+@Generated(value="org.mybatis.generator.api.MyBatisGenerator",comments="ch.ethz.seb.sebserver.gen.DomainModelNameReferencePlugin",date="2023-12-04T15:30:33.448+01:00")
public enum EntityType {
CONFIGURATION_ATTRIBUTE,
CONFIGURATION_VALUE,
@@ -35,5 +35,7 @@ public enum EntityType {
CLIENT_INDICATOR,
CLIENT_NOTIFICATION,
CLIENT_GROUP,
- SEB_SECURITY_KEY_REGISTRY;
+ SEB_SECURITY_KEY_REGISTRY,
+ ENTITY_PRIVILEGE,
+ FEATURE_PRIVILEGE;
}
\ No newline at end of file
diff --git a/src/main/java/ch/ethz/seb/sebserver/gbl/api/authorization/PrivilegeType.java b/src/main/java/ch/ethz/seb/sebserver/gbl/api/authorization/PrivilegeType.java
index 2e8abfde3..ddeb7beec 100644
--- a/src/main/java/ch/ethz/seb/sebserver/gbl/api/authorization/PrivilegeType.java
+++ b/src/main/java/ch/ethz/seb/sebserver/gbl/api/authorization/PrivilegeType.java
@@ -22,7 +22,7 @@ public enum PrivilegeType {
WRITE;
/** Use this to check implicit privilege.
- *
+ *
* Implicit in this case means: if the privilegeType is of type PrivilegeType.WRITE,
* PrivilegeType.MODIFY and PrivilegeType.READ are implicitly included.
* If the privilegeType is of type PrivilegeType.MODIFY, the PrivilegeType.READ are implicitly included
diff --git a/src/main/java/ch/ethz/seb/sebserver/gbl/model/Domain.java b/src/main/java/ch/ethz/seb/sebserver/gbl/model/Domain.java
index ceab6a021..42840c341 100644
--- a/src/main/java/ch/ethz/seb/sebserver/gbl/model/Domain.java
+++ b/src/main/java/ch/ethz/seb/sebserver/gbl/model/Domain.java
@@ -5,7 +5,7 @@
/** Defines the global names of the domain model and domain model fields.
* This shall be used as a static overall domain model names reference within SEB Server Web-Service as well as within the integrated GUI
* This file is generated by the org.eth.demo.sebserver.gen.DomainModelNameReferencePlugin and must not be edited manually.**/
-@Generated(value="org.mybatis.generator.api.MyBatisGenerator",comments="ch.ethz.seb.sebserver.gen.DomainModelNameReferencePlugin",date="2023-11-14T09:46:30.104+01:00")
+@Generated(value="org.mybatis.generator.api.MyBatisGenerator",comments="ch.ethz.seb.sebserver.gen.DomainModelNameReferencePlugin",date="2023-12-04T15:30:33.413+01:00")
public interface Domain {
interface CONFIGURATION_ATTRIBUTE {
@@ -399,4 +399,22 @@ interface SEB_SECURITY_KEY_REGISTRY {
String ATTR_EXAM_ID = "examId";
String ATTR_EXAM_TEMPLATE_ID = "examTemplateId";
}
+
+ interface ENTITY_PRIVILEGE {
+ String TYPE_NAME = "EntityPrivilege";
+ String REFERENCE_NAME = "entityPrivileges";
+ String ATTR_ID = "id";
+ String ATTR_ENTITY_TYPE = "entityType";
+ String ATTR_ENTITY_ID = "entityId";
+ String ATTR_USER_UUID = "userUuid";
+ String ATTR_PRIVILEGE_TYPE = "privilegeType";
+ }
+
+ interface FEATURE_PRIVILEGE {
+ String TYPE_NAME = "FeaturePrivilege";
+ String REFERENCE_NAME = "featurePrivileges";
+ String ATTR_ID = "id";
+ String ATTR_FEATURE_ID = "featureId";
+ String ATTR_USER_UUID = "userUuid";
+ }
}
\ No newline at end of file
diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/AdditionalAttributeRecordDynamicSqlSupport.java b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/AdditionalAttributeRecordDynamicSqlSupport.java
index bd3ef1278..51a36117a 100644
--- a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/AdditionalAttributeRecordDynamicSqlSupport.java
+++ b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/AdditionalAttributeRecordDynamicSqlSupport.java
@@ -6,25 +6,25 @@
import org.mybatis.dynamic.sql.SqlTable;
public final class AdditionalAttributeRecordDynamicSqlSupport {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.162+01:00", comments="Source Table: additional_attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.476+01:00", comments="Source Table: additional_attributes")
public static final AdditionalAttributeRecord additionalAttributeRecord = new AdditionalAttributeRecord();
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.162+01:00", comments="Source field: additional_attributes.id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.476+01:00", comments="Source field: additional_attributes.id")
public static final SqlColumn id = additionalAttributeRecord.id;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.162+01:00", comments="Source field: additional_attributes.entity_type")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.476+01:00", comments="Source field: additional_attributes.entity_type")
public static final SqlColumn entityType = additionalAttributeRecord.entityType;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.162+01:00", comments="Source field: additional_attributes.entity_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.476+01:00", comments="Source field: additional_attributes.entity_id")
public static final SqlColumn entityId = additionalAttributeRecord.entityId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.162+01:00", comments="Source field: additional_attributes.name")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.476+01:00", comments="Source field: additional_attributes.name")
public static final SqlColumn name = additionalAttributeRecord.name;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.162+01:00", comments="Source field: additional_attributes.value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.476+01:00", comments="Source field: additional_attributes.value")
public static final SqlColumn value = additionalAttributeRecord.value;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.162+01:00", comments="Source Table: additional_attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.476+01:00", comments="Source Table: additional_attributes")
public static final class AdditionalAttributeRecord extends SqlTable {
public final SqlColumn id = column("id", JDBCType.BIGINT);
diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/AdditionalAttributeRecordMapper.java b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/AdditionalAttributeRecordMapper.java
index 6c695fe81..b7f83c2db 100644
--- a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/AdditionalAttributeRecordMapper.java
+++ b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/AdditionalAttributeRecordMapper.java
@@ -32,20 +32,20 @@
@Mapper
public interface AdditionalAttributeRecordMapper {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.162+01:00", comments="Source Table: additional_attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.476+01:00", comments="Source Table: additional_attributes")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
long count(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.162+01:00", comments="Source Table: additional_attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.476+01:00", comments="Source Table: additional_attributes")
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
int delete(DeleteStatementProvider deleteStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.162+01:00", comments="Source Table: additional_attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.476+01:00", comments="Source Table: additional_attributes")
@InsertProvider(type=SqlProviderAdapter.class, method="insert")
@SelectKey(statement="SELECT LAST_INSERT_ID()", keyProperty="record.id", before=false, resultType=Long.class)
int insert(InsertStatementProvider insertStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.162+01:00", comments="Source Table: additional_attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.476+01:00", comments="Source Table: additional_attributes")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
@ConstructorArgs({
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
@@ -56,7 +56,7 @@ public interface AdditionalAttributeRecordMapper {
})
AdditionalAttributeRecord selectOne(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.162+01:00", comments="Source Table: additional_attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.476+01:00", comments="Source Table: additional_attributes")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
@ConstructorArgs({
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
@@ -67,22 +67,22 @@ public interface AdditionalAttributeRecordMapper {
})
List selectMany(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.162+01:00", comments="Source Table: additional_attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.476+01:00", comments="Source Table: additional_attributes")
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
int update(UpdateStatementProvider updateStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.162+01:00", comments="Source Table: additional_attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.476+01:00", comments="Source Table: additional_attributes")
default QueryExpressionDSL> countByExample() {
return SelectDSL.selectWithMapper(this::count, SqlBuilder.count())
.from(additionalAttributeRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.162+01:00", comments="Source Table: additional_attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.476+01:00", comments="Source Table: additional_attributes")
default DeleteDSL> deleteByExample() {
return DeleteDSL.deleteFromWithMapper(this::delete, additionalAttributeRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.162+01:00", comments="Source Table: additional_attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.476+01:00", comments="Source Table: additional_attributes")
default int deleteByPrimaryKey(Long id_) {
return DeleteDSL.deleteFromWithMapper(this::delete, additionalAttributeRecord)
.where(id, isEqualTo(id_))
@@ -90,7 +90,7 @@ default int deleteByPrimaryKey(Long id_) {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.162+01:00", comments="Source Table: additional_attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.476+01:00", comments="Source Table: additional_attributes")
default int insert(AdditionalAttributeRecord record) {
return insert(SqlBuilder.insert(record)
.into(additionalAttributeRecord)
@@ -102,7 +102,7 @@ default int insert(AdditionalAttributeRecord record) {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.162+01:00", comments="Source Table: additional_attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.477+01:00", comments="Source Table: additional_attributes")
default int insertSelective(AdditionalAttributeRecord record) {
return insert(SqlBuilder.insert(record)
.into(additionalAttributeRecord)
@@ -114,19 +114,19 @@ default int insertSelective(AdditionalAttributeRecord record) {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.162+01:00", comments="Source Table: additional_attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.477+01:00", comments="Source Table: additional_attributes")
default QueryExpressionDSL>> selectByExample() {
return SelectDSL.selectWithMapper(this::selectMany, id, entityType, entityId, name, value)
.from(additionalAttributeRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.162+01:00", comments="Source Table: additional_attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.477+01:00", comments="Source Table: additional_attributes")
default QueryExpressionDSL>> selectDistinctByExample() {
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, entityType, entityId, name, value)
.from(additionalAttributeRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.162+01:00", comments="Source Table: additional_attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.477+01:00", comments="Source Table: additional_attributes")
default AdditionalAttributeRecord selectByPrimaryKey(Long id_) {
return SelectDSL.selectWithMapper(this::selectOne, id, entityType, entityId, name, value)
.from(additionalAttributeRecord)
@@ -135,7 +135,7 @@ default AdditionalAttributeRecord selectByPrimaryKey(Long id_) {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.162+01:00", comments="Source Table: additional_attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.477+01:00", comments="Source Table: additional_attributes")
default UpdateDSL> updateByExample(AdditionalAttributeRecord record) {
return UpdateDSL.updateWithMapper(this::update, additionalAttributeRecord)
.set(entityType).equalTo(record::getEntityType)
@@ -144,7 +144,7 @@ default UpdateDSL> updateByExample(Additiona
.set(value).equalTo(record::getValue);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.162+01:00", comments="Source Table: additional_attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.477+01:00", comments="Source Table: additional_attributes")
default UpdateDSL> updateByExampleSelective(AdditionalAttributeRecord record) {
return UpdateDSL.updateWithMapper(this::update, additionalAttributeRecord)
.set(entityType).equalToWhenPresent(record::getEntityType)
@@ -153,7 +153,7 @@ default UpdateDSL> updateByExampleSelective(
.set(value).equalToWhenPresent(record::getValue);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.162+01:00", comments="Source Table: additional_attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.477+01:00", comments="Source Table: additional_attributes")
default int updateByPrimaryKey(AdditionalAttributeRecord record) {
return UpdateDSL.updateWithMapper(this::update, additionalAttributeRecord)
.set(entityType).equalTo(record::getEntityType)
@@ -165,7 +165,7 @@ default int updateByPrimaryKey(AdditionalAttributeRecord record) {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.162+01:00", comments="Source Table: additional_attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.477+01:00", comments="Source Table: additional_attributes")
default int updateByPrimaryKeySelective(AdditionalAttributeRecord record) {
return UpdateDSL.updateWithMapper(this::update, additionalAttributeRecord)
.set(entityType).equalToWhenPresent(record::getEntityType)
diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/BatchActionRecordDynamicSqlSupport.java b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/BatchActionRecordDynamicSqlSupport.java
index 123f0b414..1e3a59968 100644
--- a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/BatchActionRecordDynamicSqlSupport.java
+++ b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/BatchActionRecordDynamicSqlSupport.java
@@ -6,37 +6,37 @@
import org.mybatis.dynamic.sql.SqlTable;
public final class BatchActionRecordDynamicSqlSupport {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source Table: batch_action")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source Table: batch_action")
public static final BatchActionRecord batchActionRecord = new BatchActionRecord();
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source field: batch_action.id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source field: batch_action.id")
public static final SqlColumn id = batchActionRecord.id;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source field: batch_action.institution_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source field: batch_action.institution_id")
public static final SqlColumn institutionId = batchActionRecord.institutionId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source field: batch_action.owner")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source field: batch_action.owner")
public static final SqlColumn owner = batchActionRecord.owner;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source field: batch_action.action_type")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source field: batch_action.action_type")
public static final SqlColumn actionType = batchActionRecord.actionType;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source field: batch_action.attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source field: batch_action.attributes")
public static final SqlColumn attributes = batchActionRecord.attributes;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source field: batch_action.source_ids")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source field: batch_action.source_ids")
public static final SqlColumn sourceIds = batchActionRecord.sourceIds;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source field: batch_action.successful")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source field: batch_action.successful")
public static final SqlColumn successful = batchActionRecord.successful;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source field: batch_action.last_update")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source field: batch_action.last_update")
public static final SqlColumn lastUpdate = batchActionRecord.lastUpdate;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source field: batch_action.processor_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source field: batch_action.processor_id")
public static final SqlColumn processorId = batchActionRecord.processorId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source Table: batch_action")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source Table: batch_action")
public static final class BatchActionRecord extends SqlTable {
public final SqlColumn id = column("id", JDBCType.BIGINT);
diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/BatchActionRecordMapper.java b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/BatchActionRecordMapper.java
index 5429559c8..22f58c7e8 100644
--- a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/BatchActionRecordMapper.java
+++ b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/BatchActionRecordMapper.java
@@ -32,20 +32,20 @@
@Mapper
public interface BatchActionRecordMapper {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source Table: batch_action")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source Table: batch_action")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
long count(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source Table: batch_action")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source Table: batch_action")
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
int delete(DeleteStatementProvider deleteStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source Table: batch_action")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source Table: batch_action")
@InsertProvider(type=SqlProviderAdapter.class, method="insert")
@SelectKey(statement="SELECT LAST_INSERT_ID()", keyProperty="record.id", before=false, resultType=Long.class)
int insert(InsertStatementProvider insertStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source Table: batch_action")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source Table: batch_action")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
@ConstructorArgs({
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
@@ -60,7 +60,7 @@ public interface BatchActionRecordMapper {
})
BatchActionRecord selectOne(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source Table: batch_action")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source Table: batch_action")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
@ConstructorArgs({
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
@@ -75,22 +75,22 @@ public interface BatchActionRecordMapper {
})
List selectMany(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source Table: batch_action")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source Table: batch_action")
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
int update(UpdateStatementProvider updateStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source Table: batch_action")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source Table: batch_action")
default QueryExpressionDSL> countByExample() {
return SelectDSL.selectWithMapper(this::count, SqlBuilder.count())
.from(batchActionRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source Table: batch_action")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source Table: batch_action")
default DeleteDSL> deleteByExample() {
return DeleteDSL.deleteFromWithMapper(this::delete, batchActionRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source Table: batch_action")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source Table: batch_action")
default int deleteByPrimaryKey(Long id_) {
return DeleteDSL.deleteFromWithMapper(this::delete, batchActionRecord)
.where(id, isEqualTo(id_))
@@ -98,7 +98,7 @@ default int deleteByPrimaryKey(Long id_) {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source Table: batch_action")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source Table: batch_action")
default int insert(BatchActionRecord record) {
return insert(SqlBuilder.insert(record)
.into(batchActionRecord)
@@ -114,7 +114,7 @@ default int insert(BatchActionRecord record) {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source Table: batch_action")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source Table: batch_action")
default int insertSelective(BatchActionRecord record) {
return insert(SqlBuilder.insert(record)
.into(batchActionRecord)
@@ -130,19 +130,19 @@ default int insertSelective(BatchActionRecord record) {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source Table: batch_action")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source Table: batch_action")
default QueryExpressionDSL>> selectByExample() {
return SelectDSL.selectWithMapper(this::selectMany, id, institutionId, owner, actionType, attributes, sourceIds, successful, lastUpdate, processorId)
.from(batchActionRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source Table: batch_action")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source Table: batch_action")
default QueryExpressionDSL>> selectDistinctByExample() {
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, institutionId, owner, actionType, attributes, sourceIds, successful, lastUpdate, processorId)
.from(batchActionRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source Table: batch_action")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source Table: batch_action")
default BatchActionRecord selectByPrimaryKey(Long id_) {
return SelectDSL.selectWithMapper(this::selectOne, id, institutionId, owner, actionType, attributes, sourceIds, successful, lastUpdate, processorId)
.from(batchActionRecord)
@@ -151,7 +151,7 @@ default BatchActionRecord selectByPrimaryKey(Long id_) {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source Table: batch_action")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source Table: batch_action")
default UpdateDSL> updateByExample(BatchActionRecord record) {
return UpdateDSL.updateWithMapper(this::update, batchActionRecord)
.set(institutionId).equalTo(record::getInstitutionId)
@@ -164,7 +164,7 @@ default UpdateDSL> updateByExample(BatchActi
.set(processorId).equalTo(record::getProcessorId);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source Table: batch_action")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source Table: batch_action")
default UpdateDSL> updateByExampleSelective(BatchActionRecord record) {
return UpdateDSL.updateWithMapper(this::update, batchActionRecord)
.set(institutionId).equalToWhenPresent(record::getInstitutionId)
@@ -177,7 +177,7 @@ default UpdateDSL> updateByExampleSelective(
.set(processorId).equalToWhenPresent(record::getProcessorId);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source Table: batch_action")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source Table: batch_action")
default int updateByPrimaryKey(BatchActionRecord record) {
return UpdateDSL.updateWithMapper(this::update, batchActionRecord)
.set(institutionId).equalTo(record::getInstitutionId)
@@ -193,7 +193,7 @@ default int updateByPrimaryKey(BatchActionRecord record) {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source Table: batch_action")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source Table: batch_action")
default int updateByPrimaryKeySelective(BatchActionRecord record) {
return UpdateDSL.updateWithMapper(this::update, batchActionRecord)
.set(institutionId).equalToWhenPresent(record::getInstitutionId)
diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/CertificateRecordDynamicSqlSupport.java b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/CertificateRecordDynamicSqlSupport.java
index cc22c2882..9910e1e6a 100644
--- a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/CertificateRecordDynamicSqlSupport.java
+++ b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/CertificateRecordDynamicSqlSupport.java
@@ -6,22 +6,22 @@
import org.mybatis.dynamic.sql.SqlTable;
public final class CertificateRecordDynamicSqlSupport {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.164+01:00", comments="Source Table: certificate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.477+01:00", comments="Source Table: certificate")
public static final CertificateRecord certificateRecord = new CertificateRecord();
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.164+01:00", comments="Source field: certificate.id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.477+01:00", comments="Source field: certificate.id")
public static final SqlColumn id = certificateRecord.id;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.164+01:00", comments="Source field: certificate.institution_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.477+01:00", comments="Source field: certificate.institution_id")
public static final SqlColumn institutionId = certificateRecord.institutionId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.164+01:00", comments="Source field: certificate.aliases")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.477+01:00", comments="Source field: certificate.aliases")
public static final SqlColumn aliases = certificateRecord.aliases;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.164+01:00", comments="Source field: certificate.cert_store")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.477+01:00", comments="Source field: certificate.cert_store")
public static final SqlColumn certStore = certificateRecord.certStore;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.164+01:00", comments="Source Table: certificate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.477+01:00", comments="Source Table: certificate")
public static final class CertificateRecord extends SqlTable {
public final SqlColumn id = column("id", JDBCType.BIGINT);
diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/CertificateRecordMapper.java b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/CertificateRecordMapper.java
index 2df089d17..80776f68f 100644
--- a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/CertificateRecordMapper.java
+++ b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/CertificateRecordMapper.java
@@ -32,20 +32,20 @@
@Mapper
public interface CertificateRecordMapper {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.164+01:00", comments="Source Table: certificate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.477+01:00", comments="Source Table: certificate")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
long count(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.164+01:00", comments="Source Table: certificate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.477+01:00", comments="Source Table: certificate")
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
int delete(DeleteStatementProvider deleteStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.164+01:00", comments="Source Table: certificate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.477+01:00", comments="Source Table: certificate")
@InsertProvider(type=SqlProviderAdapter.class, method="insert")
@SelectKey(statement="SELECT LAST_INSERT_ID()", keyProperty="record.id", before=false, resultType=Long.class)
int insert(InsertStatementProvider insertStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.164+01:00", comments="Source Table: certificate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.477+01:00", comments="Source Table: certificate")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
@ConstructorArgs({
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
@@ -55,7 +55,7 @@ public interface CertificateRecordMapper {
})
CertificateRecord selectOne(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.164+01:00", comments="Source Table: certificate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.477+01:00", comments="Source Table: certificate")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
@ConstructorArgs({
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
@@ -65,22 +65,22 @@ public interface CertificateRecordMapper {
})
List selectMany(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.164+01:00", comments="Source Table: certificate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.477+01:00", comments="Source Table: certificate")
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
int update(UpdateStatementProvider updateStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.164+01:00", comments="Source Table: certificate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.479+01:00", comments="Source Table: certificate")
default QueryExpressionDSL> countByExample() {
return SelectDSL.selectWithMapper(this::count, SqlBuilder.count())
.from(certificateRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.164+01:00", comments="Source Table: certificate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.479+01:00", comments="Source Table: certificate")
default DeleteDSL> deleteByExample() {
return DeleteDSL.deleteFromWithMapper(this::delete, certificateRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.164+01:00", comments="Source Table: certificate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.479+01:00", comments="Source Table: certificate")
default int deleteByPrimaryKey(Long id_) {
return DeleteDSL.deleteFromWithMapper(this::delete, certificateRecord)
.where(id, isEqualTo(id_))
@@ -88,7 +88,7 @@ default int deleteByPrimaryKey(Long id_) {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.164+01:00", comments="Source Table: certificate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.479+01:00", comments="Source Table: certificate")
default int insert(CertificateRecord record) {
return insert(SqlBuilder.insert(record)
.into(certificateRecord)
@@ -99,7 +99,7 @@ default int insert(CertificateRecord record) {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.164+01:00", comments="Source Table: certificate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.479+01:00", comments="Source Table: certificate")
default int insertSelective(CertificateRecord record) {
return insert(SqlBuilder.insert(record)
.into(certificateRecord)
@@ -110,19 +110,19 @@ default int insertSelective(CertificateRecord record) {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.164+01:00", comments="Source Table: certificate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.479+01:00", comments="Source Table: certificate")
default QueryExpressionDSL>> selectByExample() {
return SelectDSL.selectWithMapper(this::selectMany, id, institutionId, aliases, certStore)
.from(certificateRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.164+01:00", comments="Source Table: certificate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.479+01:00", comments="Source Table: certificate")
default QueryExpressionDSL>> selectDistinctByExample() {
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, institutionId, aliases, certStore)
.from(certificateRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.164+01:00", comments="Source Table: certificate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.479+01:00", comments="Source Table: certificate")
default CertificateRecord selectByPrimaryKey(Long id_) {
return SelectDSL.selectWithMapper(this::selectOne, id, institutionId, aliases, certStore)
.from(certificateRecord)
@@ -131,7 +131,7 @@ default CertificateRecord selectByPrimaryKey(Long id_) {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.164+01:00", comments="Source Table: certificate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.479+01:00", comments="Source Table: certificate")
default UpdateDSL> updateByExample(CertificateRecord record) {
return UpdateDSL.updateWithMapper(this::update, certificateRecord)
.set(institutionId).equalTo(record::getInstitutionId)
@@ -139,7 +139,7 @@ default UpdateDSL> updateByExample(Certifica
.set(certStore).equalTo(record::getCertStore);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.164+01:00", comments="Source Table: certificate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.479+01:00", comments="Source Table: certificate")
default UpdateDSL> updateByExampleSelective(CertificateRecord record) {
return UpdateDSL.updateWithMapper(this::update, certificateRecord)
.set(institutionId).equalToWhenPresent(record::getInstitutionId)
@@ -147,7 +147,7 @@ default UpdateDSL> updateByExampleSelective(
.set(certStore).equalToWhenPresent(record::getCertStore);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.164+01:00", comments="Source Table: certificate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.479+01:00", comments="Source Table: certificate")
default int updateByPrimaryKey(CertificateRecord record) {
return UpdateDSL.updateWithMapper(this::update, certificateRecord)
.set(institutionId).equalTo(record::getInstitutionId)
@@ -158,7 +158,7 @@ default int updateByPrimaryKey(CertificateRecord record) {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.164+01:00", comments="Source Table: certificate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.479+01:00", comments="Source Table: certificate")
default int updateByPrimaryKeySelective(CertificateRecord record) {
return UpdateDSL.updateWithMapper(this::update, certificateRecord)
.set(institutionId).equalToWhenPresent(record::getInstitutionId)
diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientConnectionRecordDynamicSqlSupport.java b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientConnectionRecordDynamicSqlSupport.java
index 32d79a23b..a3df8c374 100644
--- a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientConnectionRecordDynamicSqlSupport.java
+++ b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientConnectionRecordDynamicSqlSupport.java
@@ -6,76 +6,76 @@
import org.mybatis.dynamic.sql.SqlTable;
public final class ClientConnectionRecordDynamicSqlSupport {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source Table: client_connection")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.464+01:00", comments="Source Table: client_connection")
public static final ClientConnectionRecord clientConnectionRecord = new ClientConnectionRecord();
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source field: client_connection.id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.464+01:00", comments="Source field: client_connection.id")
public static final SqlColumn id = clientConnectionRecord.id;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source field: client_connection.institution_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.464+01:00", comments="Source field: client_connection.institution_id")
public static final SqlColumn institutionId = clientConnectionRecord.institutionId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source field: client_connection.exam_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.464+01:00", comments="Source field: client_connection.exam_id")
public static final SqlColumn examId = clientConnectionRecord.examId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source field: client_connection.status")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.464+01:00", comments="Source field: client_connection.status")
public static final SqlColumn status = clientConnectionRecord.status;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source field: client_connection.connection_token")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.464+01:00", comments="Source field: client_connection.connection_token")
public static final SqlColumn connectionToken = clientConnectionRecord.connectionToken;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source field: client_connection.exam_user_session_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.464+01:00", comments="Source field: client_connection.exam_user_session_id")
public static final SqlColumn examUserSessionId = clientConnectionRecord.examUserSessionId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source field: client_connection.client_address")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.464+01:00", comments="Source field: client_connection.client_address")
public static final SqlColumn clientAddress = clientConnectionRecord.clientAddress;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source field: client_connection.virtual_client_address")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.464+01:00", comments="Source field: client_connection.virtual_client_address")
public static final SqlColumn virtualClientAddress = clientConnectionRecord.virtualClientAddress;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source field: client_connection.vdi")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.464+01:00", comments="Source field: client_connection.vdi")
public static final SqlColumn vdi = clientConnectionRecord.vdi;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source field: client_connection.vdi_pair_token")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.464+01:00", comments="Source field: client_connection.vdi_pair_token")
public static final SqlColumn vdiPairToken = clientConnectionRecord.vdiPairToken;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source field: client_connection.creation_time")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.464+01:00", comments="Source field: client_connection.creation_time")
public static final SqlColumn creationTime = clientConnectionRecord.creationTime;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source field: client_connection.update_time")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.464+01:00", comments="Source field: client_connection.update_time")
public static final SqlColumn updateTime = clientConnectionRecord.updateTime;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source field: client_connection.screen_proctoring_group_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.466+01:00", comments="Source field: client_connection.screen_proctoring_group_id")
public static final SqlColumn screenProctoringGroupId = clientConnectionRecord.screenProctoringGroupId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source field: client_connection.screen_proctoring_group_update")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.466+01:00", comments="Source field: client_connection.screen_proctoring_group_update")
public static final SqlColumn screenProctoringGroupUpdate = clientConnectionRecord.screenProctoringGroupUpdate;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source field: client_connection.remote_proctoring_room_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.466+01:00", comments="Source field: client_connection.remote_proctoring_room_id")
public static final SqlColumn remoteProctoringRoomId = clientConnectionRecord.remoteProctoringRoomId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source field: client_connection.remote_proctoring_room_update")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.466+01:00", comments="Source field: client_connection.remote_proctoring_room_update")
public static final SqlColumn remoteProctoringRoomUpdate = clientConnectionRecord.remoteProctoringRoomUpdate;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source field: client_connection.client_machine_name")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.466+01:00", comments="Source field: client_connection.client_machine_name")
public static final SqlColumn clientMachineName = clientConnectionRecord.clientMachineName;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source field: client_connection.client_os_name")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.466+01:00", comments="Source field: client_connection.client_os_name")
public static final SqlColumn clientOsName = clientConnectionRecord.clientOsName;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source field: client_connection.client_version")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.466+01:00", comments="Source field: client_connection.client_version")
public static final SqlColumn clientVersion = clientConnectionRecord.clientVersion;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source field: client_connection.security_check_granted")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.466+01:00", comments="Source field: client_connection.security_check_granted")
public static final SqlColumn securityCheckGranted = clientConnectionRecord.securityCheckGranted;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source field: client_connection.ask")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.466+01:00", comments="Source field: client_connection.ask")
public static final SqlColumn ask = clientConnectionRecord.ask;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source field: client_connection.client_version_granted")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.466+01:00", comments="Source field: client_connection.client_version_granted")
public static final SqlColumn clientVersionGranted = clientConnectionRecord.clientVersionGranted;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source Table: client_connection")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.464+01:00", comments="Source Table: client_connection")
public static final class ClientConnectionRecord extends SqlTable {
public final SqlColumn id = column("id", JDBCType.BIGINT);
diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientConnectionRecordMapper.java b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientConnectionRecordMapper.java
index a5d51960b..c823959d3 100644
--- a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientConnectionRecordMapper.java
+++ b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientConnectionRecordMapper.java
@@ -32,20 +32,20 @@
@Mapper
public interface ClientConnectionRecordMapper {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source Table: client_connection")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.466+01:00", comments="Source Table: client_connection")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
long count(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source Table: client_connection")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.466+01:00", comments="Source Table: client_connection")
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
int delete(DeleteStatementProvider deleteStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source Table: client_connection")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.466+01:00", comments="Source Table: client_connection")
@InsertProvider(type=SqlProviderAdapter.class, method="insert")
@SelectKey(statement="SELECT LAST_INSERT_ID()", keyProperty="record.id", before=false, resultType=Long.class)
int insert(InsertStatementProvider insertStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source Table: client_connection")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.466+01:00", comments="Source Table: client_connection")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
@ConstructorArgs({
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
@@ -73,7 +73,7 @@ public interface ClientConnectionRecordMapper {
})
ClientConnectionRecord selectOne(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source Table: client_connection")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.466+01:00", comments="Source Table: client_connection")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
@ConstructorArgs({
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
@@ -101,22 +101,22 @@ public interface ClientConnectionRecordMapper {
})
List selectMany(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source Table: client_connection")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.466+01:00", comments="Source Table: client_connection")
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
int update(UpdateStatementProvider updateStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source Table: client_connection")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.466+01:00", comments="Source Table: client_connection")
default QueryExpressionDSL> countByExample() {
return SelectDSL.selectWithMapper(this::count, SqlBuilder.count())
.from(clientConnectionRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source Table: client_connection")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.466+01:00", comments="Source Table: client_connection")
default DeleteDSL> deleteByExample() {
return DeleteDSL.deleteFromWithMapper(this::delete, clientConnectionRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source Table: client_connection")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.466+01:00", comments="Source Table: client_connection")
default int deleteByPrimaryKey(Long id_) {
return DeleteDSL.deleteFromWithMapper(this::delete, clientConnectionRecord)
.where(id, isEqualTo(id_))
@@ -124,7 +124,7 @@ default int deleteByPrimaryKey(Long id_) {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source Table: client_connection")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.466+01:00", comments="Source Table: client_connection")
default int insert(ClientConnectionRecord record) {
return insert(SqlBuilder.insert(record)
.into(clientConnectionRecord)
@@ -153,7 +153,7 @@ default int insert(ClientConnectionRecord record) {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source Table: client_connection")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.466+01:00", comments="Source Table: client_connection")
default int insertSelective(ClientConnectionRecord record) {
return insert(SqlBuilder.insert(record)
.into(clientConnectionRecord)
@@ -182,19 +182,19 @@ default int insertSelective(ClientConnectionRecord record) {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source Table: client_connection")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.466+01:00", comments="Source Table: client_connection")
default QueryExpressionDSL>> selectByExample() {
return SelectDSL.selectWithMapper(this::selectMany, id, institutionId, examId, status, connectionToken, examUserSessionId, clientAddress, virtualClientAddress, vdi, vdiPairToken, creationTime, updateTime, screenProctoringGroupId, screenProctoringGroupUpdate, remoteProctoringRoomId, remoteProctoringRoomUpdate, clientMachineName, clientOsName, clientVersion, securityCheckGranted, ask, clientVersionGranted)
.from(clientConnectionRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source Table: client_connection")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.466+01:00", comments="Source Table: client_connection")
default QueryExpressionDSL>> selectDistinctByExample() {
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, institutionId, examId, status, connectionToken, examUserSessionId, clientAddress, virtualClientAddress, vdi, vdiPairToken, creationTime, updateTime, screenProctoringGroupId, screenProctoringGroupUpdate, remoteProctoringRoomId, remoteProctoringRoomUpdate, clientMachineName, clientOsName, clientVersion, securityCheckGranted, ask, clientVersionGranted)
.from(clientConnectionRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source Table: client_connection")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.466+01:00", comments="Source Table: client_connection")
default ClientConnectionRecord selectByPrimaryKey(Long id_) {
return SelectDSL.selectWithMapper(this::selectOne, id, institutionId, examId, status, connectionToken, examUserSessionId, clientAddress, virtualClientAddress, vdi, vdiPairToken, creationTime, updateTime, screenProctoringGroupId, screenProctoringGroupUpdate, remoteProctoringRoomId, remoteProctoringRoomUpdate, clientMachineName, clientOsName, clientVersion, securityCheckGranted, ask, clientVersionGranted)
.from(clientConnectionRecord)
@@ -203,7 +203,7 @@ default ClientConnectionRecord selectByPrimaryKey(Long id_) {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source Table: client_connection")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.466+01:00", comments="Source Table: client_connection")
default UpdateDSL> updateByExample(ClientConnectionRecord record) {
return UpdateDSL.updateWithMapper(this::update, clientConnectionRecord)
.set(institutionId).equalTo(record::getInstitutionId)
@@ -229,7 +229,7 @@ default UpdateDSL> updateByExample(ClientCon
.set(clientVersionGranted).equalTo(record::getClientVersionGranted);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source Table: client_connection")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.466+01:00", comments="Source Table: client_connection")
default UpdateDSL> updateByExampleSelective(ClientConnectionRecord record) {
return UpdateDSL.updateWithMapper(this::update, clientConnectionRecord)
.set(institutionId).equalToWhenPresent(record::getInstitutionId)
@@ -255,7 +255,7 @@ default UpdateDSL> updateByExampleSelective(
.set(clientVersionGranted).equalToWhenPresent(record::getClientVersionGranted);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source Table: client_connection")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.466+01:00", comments="Source Table: client_connection")
default int updateByPrimaryKey(ClientConnectionRecord record) {
return UpdateDSL.updateWithMapper(this::update, clientConnectionRecord)
.set(institutionId).equalTo(record::getInstitutionId)
@@ -284,7 +284,7 @@ default int updateByPrimaryKey(ClientConnectionRecord record) {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.151+01:00", comments="Source Table: client_connection")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.466+01:00", comments="Source Table: client_connection")
default int updateByPrimaryKeySelective(ClientConnectionRecord record) {
return UpdateDSL.updateWithMapper(this::update, clientConnectionRecord)
.set(institutionId).equalToWhenPresent(record::getInstitutionId)
diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientEventRecordDynamicSqlSupport.java b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientEventRecordDynamicSqlSupport.java
index 5fb6a3013..1d46ee34c 100644
--- a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientEventRecordDynamicSqlSupport.java
+++ b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientEventRecordDynamicSqlSupport.java
@@ -7,31 +7,31 @@
import org.mybatis.dynamic.sql.SqlTable;
public final class ClientEventRecordDynamicSqlSupport {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.155+01:00", comments="Source Table: client_event")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.468+01:00", comments="Source Table: client_event")
public static final ClientEventRecord clientEventRecord = new ClientEventRecord();
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.155+01:00", comments="Source field: client_event.id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.468+01:00", comments="Source field: client_event.id")
public static final SqlColumn id = clientEventRecord.id;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.155+01:00", comments="Source field: client_event.client_connection_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.468+01:00", comments="Source field: client_event.client_connection_id")
public static final SqlColumn clientConnectionId = clientEventRecord.clientConnectionId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.155+01:00", comments="Source field: client_event.type")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.468+01:00", comments="Source field: client_event.type")
public static final SqlColumn type = clientEventRecord.type;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.155+01:00", comments="Source field: client_event.client_time")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.468+01:00", comments="Source field: client_event.client_time")
public static final SqlColumn clientTime = clientEventRecord.clientTime;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.155+01:00", comments="Source field: client_event.server_time")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.468+01:00", comments="Source field: client_event.server_time")
public static final SqlColumn serverTime = clientEventRecord.serverTime;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.155+01:00", comments="Source field: client_event.numeric_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.468+01:00", comments="Source field: client_event.numeric_value")
public static final SqlColumn numericValue = clientEventRecord.numericValue;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.155+01:00", comments="Source field: client_event.text")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.468+01:00", comments="Source field: client_event.text")
public static final SqlColumn text = clientEventRecord.text;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.155+01:00", comments="Source Table: client_event")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.468+01:00", comments="Source Table: client_event")
public static final class ClientEventRecord extends SqlTable {
public final SqlColumn id = column("id", JDBCType.BIGINT);
diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientEventRecordMapper.java b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientEventRecordMapper.java
index 1749a736a..466bf3a58 100644
--- a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientEventRecordMapper.java
+++ b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientEventRecordMapper.java
@@ -32,19 +32,19 @@
@Mapper
public interface ClientEventRecordMapper {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.155+01:00", comments="Source Table: client_event")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.468+01:00", comments="Source Table: client_event")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
long count(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.155+01:00", comments="Source Table: client_event")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.468+01:00", comments="Source Table: client_event")
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
int delete(DeleteStatementProvider deleteStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.155+01:00", comments="Source Table: client_event")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.468+01:00", comments="Source Table: client_event")
@InsertProvider(type=SqlProviderAdapter.class, method="insert")
int insert(InsertStatementProvider insertStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.155+01:00", comments="Source Table: client_event")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.468+01:00", comments="Source Table: client_event")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
@ConstructorArgs({
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
@@ -57,7 +57,7 @@ public interface ClientEventRecordMapper {
})
ClientEventRecord selectOne(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.155+01:00", comments="Source Table: client_event")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.468+01:00", comments="Source Table: client_event")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
@ConstructorArgs({
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
@@ -70,22 +70,22 @@ public interface ClientEventRecordMapper {
})
List selectMany(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.155+01:00", comments="Source Table: client_event")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.468+01:00", comments="Source Table: client_event")
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
int update(UpdateStatementProvider updateStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.155+01:00", comments="Source Table: client_event")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.468+01:00", comments="Source Table: client_event")
default QueryExpressionDSL> countByExample() {
return SelectDSL.selectWithMapper(this::count, SqlBuilder.count())
.from(clientEventRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.155+01:00", comments="Source Table: client_event")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.468+01:00", comments="Source Table: client_event")
default DeleteDSL> deleteByExample() {
return DeleteDSL.deleteFromWithMapper(this::delete, clientEventRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.155+01:00", comments="Source Table: client_event")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.468+01:00", comments="Source Table: client_event")
default int deleteByPrimaryKey(Long id_) {
return DeleteDSL.deleteFromWithMapper(this::delete, clientEventRecord)
.where(id, isEqualTo(id_))
@@ -93,7 +93,7 @@ default int deleteByPrimaryKey(Long id_) {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.155+01:00", comments="Source Table: client_event")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.468+01:00", comments="Source Table: client_event")
default int insert(ClientEventRecord record) {
return insert(SqlBuilder.insert(record)
.into(clientEventRecord)
@@ -108,7 +108,7 @@ default int insert(ClientEventRecord record) {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.155+01:00", comments="Source Table: client_event")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.468+01:00", comments="Source Table: client_event")
default int insertSelective(ClientEventRecord record) {
return insert(SqlBuilder.insert(record)
.into(clientEventRecord)
@@ -123,19 +123,19 @@ default int insertSelective(ClientEventRecord record) {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.155+01:00", comments="Source Table: client_event")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.468+01:00", comments="Source Table: client_event")
default QueryExpressionDSL>> selectByExample() {
return SelectDSL.selectWithMapper(this::selectMany, id, clientConnectionId, type, clientTime, serverTime, numericValue, text)
.from(clientEventRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.155+01:00", comments="Source Table: client_event")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.468+01:00", comments="Source Table: client_event")
default QueryExpressionDSL>> selectDistinctByExample() {
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, clientConnectionId, type, clientTime, serverTime, numericValue, text)
.from(clientEventRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.155+01:00", comments="Source Table: client_event")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.468+01:00", comments="Source Table: client_event")
default ClientEventRecord selectByPrimaryKey(Long id_) {
return SelectDSL.selectWithMapper(this::selectOne, id, clientConnectionId, type, clientTime, serverTime, numericValue, text)
.from(clientEventRecord)
@@ -144,7 +144,7 @@ default ClientEventRecord selectByPrimaryKey(Long id_) {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.155+01:00", comments="Source Table: client_event")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.468+01:00", comments="Source Table: client_event")
default UpdateDSL> updateByExample(ClientEventRecord record) {
return UpdateDSL.updateWithMapper(this::update, clientEventRecord)
.set(id).equalTo(record::getId)
@@ -156,7 +156,7 @@ default UpdateDSL> updateByExample(ClientEve
.set(text).equalTo(record::getText);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.155+01:00", comments="Source Table: client_event")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.468+01:00", comments="Source Table: client_event")
default UpdateDSL> updateByExampleSelective(ClientEventRecord record) {
return UpdateDSL.updateWithMapper(this::update, clientEventRecord)
.set(id).equalToWhenPresent(record::getId)
@@ -168,7 +168,7 @@ default UpdateDSL> updateByExampleSelective(
.set(text).equalToWhenPresent(record::getText);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.155+01:00", comments="Source Table: client_event")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.468+01:00", comments="Source Table: client_event")
default int updateByPrimaryKey(ClientEventRecord record) {
return UpdateDSL.updateWithMapper(this::update, clientEventRecord)
.set(clientConnectionId).equalTo(record::getClientConnectionId)
@@ -182,7 +182,7 @@ default int updateByPrimaryKey(ClientEventRecord record) {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.155+01:00", comments="Source Table: client_event")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.468+01:00", comments="Source Table: client_event")
default int updateByPrimaryKeySelective(ClientEventRecord record) {
return UpdateDSL.updateWithMapper(this::update, clientEventRecord)
.set(clientConnectionId).equalToWhenPresent(record::getClientConnectionId)
diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientGroupRecordDynamicSqlSupport.java b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientGroupRecordDynamicSqlSupport.java
index cafcdd75b..7fade9f59 100644
--- a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientGroupRecordDynamicSqlSupport.java
+++ b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientGroupRecordDynamicSqlSupport.java
@@ -6,31 +6,31 @@
import org.mybatis.dynamic.sql.SqlTable;
public final class ClientGroupRecordDynamicSqlSupport {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source Table: client_group")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source Table: client_group")
public static final ClientGroupRecord clientGroupRecord = new ClientGroupRecord();
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source field: client_group.id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source field: client_group.id")
public static final SqlColumn id = clientGroupRecord.id;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source field: client_group.exam_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source field: client_group.exam_id")
public static final SqlColumn examId = clientGroupRecord.examId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source field: client_group.name")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source field: client_group.name")
public static final SqlColumn name = clientGroupRecord.name;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source field: client_group.type")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source field: client_group.type")
public static final SqlColumn type = clientGroupRecord.type;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source field: client_group.color")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source field: client_group.color")
public static final SqlColumn color = clientGroupRecord.color;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source field: client_group.icon")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source field: client_group.icon")
public static final SqlColumn icon = clientGroupRecord.icon;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source field: client_group.data")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source field: client_group.data")
public static final SqlColumn data = clientGroupRecord.data;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source Table: client_group")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source Table: client_group")
public static final class ClientGroupRecord extends SqlTable {
public final SqlColumn id = column("id", JDBCType.BIGINT);
diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientGroupRecordMapper.java b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientGroupRecordMapper.java
index 1b42da377..0a7052df2 100644
--- a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientGroupRecordMapper.java
+++ b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientGroupRecordMapper.java
@@ -32,20 +32,20 @@
@Mapper
public interface ClientGroupRecordMapper {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source Table: client_group")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source Table: client_group")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
long count(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.167+01:00", comments="Source Table: client_group")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source Table: client_group")
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
int delete(DeleteStatementProvider deleteStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.167+01:00", comments="Source Table: client_group")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source Table: client_group")
@InsertProvider(type=SqlProviderAdapter.class, method="insert")
@SelectKey(statement="SELECT LAST_INSERT_ID()", keyProperty="record.id", before=false, resultType=Long.class)
int insert(InsertStatementProvider insertStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.167+01:00", comments="Source Table: client_group")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source Table: client_group")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
@ConstructorArgs({
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
@@ -58,7 +58,7 @@ public interface ClientGroupRecordMapper {
})
ClientGroupRecord selectOne(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.167+01:00", comments="Source Table: client_group")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source Table: client_group")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
@ConstructorArgs({
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
@@ -71,22 +71,22 @@ public interface ClientGroupRecordMapper {
})
List selectMany(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.167+01:00", comments="Source Table: client_group")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source Table: client_group")
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
int update(UpdateStatementProvider updateStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.167+01:00", comments="Source Table: client_group")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.483+01:00", comments="Source Table: client_group")
default QueryExpressionDSL> countByExample() {
return SelectDSL.selectWithMapper(this::count, SqlBuilder.count())
.from(clientGroupRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.167+01:00", comments="Source Table: client_group")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.483+01:00", comments="Source Table: client_group")
default DeleteDSL> deleteByExample() {
return DeleteDSL.deleteFromWithMapper(this::delete, clientGroupRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.167+01:00", comments="Source Table: client_group")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.483+01:00", comments="Source Table: client_group")
default int deleteByPrimaryKey(Long id_) {
return DeleteDSL.deleteFromWithMapper(this::delete, clientGroupRecord)
.where(id, isEqualTo(id_))
@@ -94,7 +94,7 @@ default int deleteByPrimaryKey(Long id_) {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.167+01:00", comments="Source Table: client_group")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.483+01:00", comments="Source Table: client_group")
default int insert(ClientGroupRecord record) {
return insert(SqlBuilder.insert(record)
.into(clientGroupRecord)
@@ -108,7 +108,7 @@ default int insert(ClientGroupRecord record) {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.167+01:00", comments="Source Table: client_group")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.483+01:00", comments="Source Table: client_group")
default int insertSelective(ClientGroupRecord record) {
return insert(SqlBuilder.insert(record)
.into(clientGroupRecord)
@@ -122,19 +122,19 @@ default int insertSelective(ClientGroupRecord record) {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.167+01:00", comments="Source Table: client_group")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.483+01:00", comments="Source Table: client_group")
default QueryExpressionDSL>> selectByExample() {
return SelectDSL.selectWithMapper(this::selectMany, id, examId, name, type, color, icon, data)
.from(clientGroupRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.167+01:00", comments="Source Table: client_group")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.483+01:00", comments="Source Table: client_group")
default QueryExpressionDSL>> selectDistinctByExample() {
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, examId, name, type, color, icon, data)
.from(clientGroupRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.167+01:00", comments="Source Table: client_group")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.483+01:00", comments="Source Table: client_group")
default ClientGroupRecord selectByPrimaryKey(Long id_) {
return SelectDSL.selectWithMapper(this::selectOne, id, examId, name, type, color, icon, data)
.from(clientGroupRecord)
@@ -143,7 +143,7 @@ default ClientGroupRecord selectByPrimaryKey(Long id_) {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.167+01:00", comments="Source Table: client_group")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.483+01:00", comments="Source Table: client_group")
default UpdateDSL> updateByExample(ClientGroupRecord record) {
return UpdateDSL.updateWithMapper(this::update, clientGroupRecord)
.set(examId).equalTo(record::getExamId)
@@ -154,7 +154,7 @@ default UpdateDSL> updateByExample(ClientGro
.set(data).equalTo(record::getData);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.167+01:00", comments="Source Table: client_group")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.483+01:00", comments="Source Table: client_group")
default UpdateDSL> updateByExampleSelective(ClientGroupRecord record) {
return UpdateDSL.updateWithMapper(this::update, clientGroupRecord)
.set(examId).equalToWhenPresent(record::getExamId)
@@ -165,7 +165,7 @@ default UpdateDSL> updateByExampleSelective(
.set(data).equalToWhenPresent(record::getData);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.167+01:00", comments="Source Table: client_group")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.483+01:00", comments="Source Table: client_group")
default int updateByPrimaryKey(ClientGroupRecord record) {
return UpdateDSL.updateWithMapper(this::update, clientGroupRecord)
.set(examId).equalTo(record::getExamId)
@@ -179,7 +179,7 @@ default int updateByPrimaryKey(ClientGroupRecord record) {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.167+01:00", comments="Source Table: client_group")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.483+01:00", comments="Source Table: client_group")
default int updateByPrimaryKeySelective(ClientGroupRecord record) {
return UpdateDSL.updateWithMapper(this::update, clientGroupRecord)
.set(examId).equalToWhenPresent(record::getExamId)
diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientIndicatorRecordDynamicSqlSupport.java b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientIndicatorRecordDynamicSqlSupport.java
index 64bd5f650..2ce5c29a3 100644
--- a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientIndicatorRecordDynamicSqlSupport.java
+++ b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientIndicatorRecordDynamicSqlSupport.java
@@ -6,22 +6,22 @@
import org.mybatis.dynamic.sql.SqlTable;
public final class ClientIndicatorRecordDynamicSqlSupport {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source Table: client_indicator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source Table: client_indicator")
public static final ClientIndicatorRecord clientIndicatorRecord = new ClientIndicatorRecord();
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source field: client_indicator.id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source field: client_indicator.id")
public static final SqlColumn id = clientIndicatorRecord.id;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source field: client_indicator.client_connection_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source field: client_indicator.client_connection_id")
public static final SqlColumn clientConnectionId = clientIndicatorRecord.clientConnectionId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source field: client_indicator.type")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source field: client_indicator.type")
public static final SqlColumn type = clientIndicatorRecord.type;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source field: client_indicator.value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source field: client_indicator.value")
public static final SqlColumn value = clientIndicatorRecord.value;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source Table: client_indicator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source Table: client_indicator")
public static final class ClientIndicatorRecord extends SqlTable {
public final SqlColumn id = column("id", JDBCType.BIGINT);
diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientIndicatorRecordMapper.java b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientIndicatorRecordMapper.java
index ec491c31d..46d04e47d 100644
--- a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientIndicatorRecordMapper.java
+++ b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientIndicatorRecordMapper.java
@@ -32,20 +32,20 @@
@Mapper
public interface ClientIndicatorRecordMapper {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source Table: client_indicator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source Table: client_indicator")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
long count(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source Table: client_indicator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source Table: client_indicator")
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
int delete(DeleteStatementProvider deleteStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source Table: client_indicator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source Table: client_indicator")
@InsertProvider(type=SqlProviderAdapter.class, method="insert")
@SelectKey(statement="SELECT LAST_INSERT_ID()", keyProperty="record.id", before=false, resultType=Long.class)
int insert(InsertStatementProvider insertStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source Table: client_indicator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source Table: client_indicator")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
@ConstructorArgs({
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
@@ -55,7 +55,7 @@ public interface ClientIndicatorRecordMapper {
})
ClientIndicatorRecord selectOne(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source Table: client_indicator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source Table: client_indicator")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
@ConstructorArgs({
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
@@ -65,22 +65,22 @@ public interface ClientIndicatorRecordMapper {
})
List selectMany(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source Table: client_indicator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source Table: client_indicator")
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
int update(UpdateStatementProvider updateStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source Table: client_indicator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source Table: client_indicator")
default QueryExpressionDSL> countByExample() {
return SelectDSL.selectWithMapper(this::count, SqlBuilder.count())
.from(clientIndicatorRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source Table: client_indicator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source Table: client_indicator")
default DeleteDSL> deleteByExample() {
return DeleteDSL.deleteFromWithMapper(this::delete, clientIndicatorRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source Table: client_indicator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source Table: client_indicator")
default int deleteByPrimaryKey(Long id_) {
return DeleteDSL.deleteFromWithMapper(this::delete, clientIndicatorRecord)
.where(id, isEqualTo(id_))
@@ -88,7 +88,7 @@ default int deleteByPrimaryKey(Long id_) {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source Table: client_indicator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source Table: client_indicator")
default int insert(ClientIndicatorRecord record) {
return insert(SqlBuilder.insert(record)
.into(clientIndicatorRecord)
@@ -99,7 +99,7 @@ default int insert(ClientIndicatorRecord record) {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source Table: client_indicator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source Table: client_indicator")
default int insertSelective(ClientIndicatorRecord record) {
return insert(SqlBuilder.insert(record)
.into(clientIndicatorRecord)
@@ -110,19 +110,19 @@ default int insertSelective(ClientIndicatorRecord record) {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.165+01:00", comments="Source Table: client_indicator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source Table: client_indicator")
default QueryExpressionDSL>> selectByExample() {
return SelectDSL.selectWithMapper(this::selectMany, id, clientConnectionId, type, value)
.from(clientIndicatorRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source Table: client_indicator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.480+01:00", comments="Source Table: client_indicator")
default QueryExpressionDSL>> selectDistinctByExample() {
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, clientConnectionId, type, value)
.from(clientIndicatorRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source Table: client_indicator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source Table: client_indicator")
default ClientIndicatorRecord selectByPrimaryKey(Long id_) {
return SelectDSL.selectWithMapper(this::selectOne, id, clientConnectionId, type, value)
.from(clientIndicatorRecord)
@@ -131,7 +131,7 @@ default ClientIndicatorRecord selectByPrimaryKey(Long id_) {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source Table: client_indicator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source Table: client_indicator")
default UpdateDSL> updateByExample(ClientIndicatorRecord record) {
return UpdateDSL.updateWithMapper(this::update, clientIndicatorRecord)
.set(clientConnectionId).equalTo(record::getClientConnectionId)
@@ -139,7 +139,7 @@ default UpdateDSL> updateByExample(ClientInd
.set(value).equalTo(record::getValue);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source Table: client_indicator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source Table: client_indicator")
default UpdateDSL> updateByExampleSelective(ClientIndicatorRecord record) {
return UpdateDSL.updateWithMapper(this::update, clientIndicatorRecord)
.set(clientConnectionId).equalToWhenPresent(record::getClientConnectionId)
@@ -147,7 +147,7 @@ default UpdateDSL> updateByExampleSelective(
.set(value).equalToWhenPresent(record::getValue);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source Table: client_indicator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source Table: client_indicator")
default int updateByPrimaryKey(ClientIndicatorRecord record) {
return UpdateDSL.updateWithMapper(this::update, clientIndicatorRecord)
.set(clientConnectionId).equalTo(record::getClientConnectionId)
@@ -158,7 +158,7 @@ default int updateByPrimaryKey(ClientIndicatorRecord record) {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source Table: client_indicator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source Table: client_indicator")
default int updateByPrimaryKeySelective(ClientIndicatorRecord record) {
return UpdateDSL.updateWithMapper(this::update, clientIndicatorRecord)
.set(clientConnectionId).equalToWhenPresent(record::getClientConnectionId)
diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientInstructionRecordDynamicSqlSupport.java b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientInstructionRecordDynamicSqlSupport.java
index 4d594a380..c0a103ec2 100644
--- a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientInstructionRecordDynamicSqlSupport.java
+++ b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientInstructionRecordDynamicSqlSupport.java
@@ -6,31 +6,31 @@
import org.mybatis.dynamic.sql.SqlTable;
public final class ClientInstructionRecordDynamicSqlSupport {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.156+01:00", comments="Source Table: client_instruction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.470+01:00", comments="Source Table: client_instruction")
public static final ClientInstructionRecord clientInstructionRecord = new ClientInstructionRecord();
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.156+01:00", comments="Source field: client_instruction.id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.470+01:00", comments="Source field: client_instruction.id")
public static final SqlColumn id = clientInstructionRecord.id;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.156+01:00", comments="Source field: client_instruction.exam_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.470+01:00", comments="Source field: client_instruction.exam_id")
public static final SqlColumn examId = clientInstructionRecord.examId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.156+01:00", comments="Source field: client_instruction.connection_token")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.470+01:00", comments="Source field: client_instruction.connection_token")
public static final SqlColumn connectionToken = clientInstructionRecord.connectionToken;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.156+01:00", comments="Source field: client_instruction.type")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.470+01:00", comments="Source field: client_instruction.type")
public static final SqlColumn type = clientInstructionRecord.type;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.156+01:00", comments="Source field: client_instruction.attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.470+01:00", comments="Source field: client_instruction.attributes")
public static final SqlColumn attributes = clientInstructionRecord.attributes;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.156+01:00", comments="Source field: client_instruction.needs_confirmation")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.470+01:00", comments="Source field: client_instruction.needs_confirmation")
public static final SqlColumn needsConfirmation = clientInstructionRecord.needsConfirmation;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.156+01:00", comments="Source field: client_instruction.timestamp")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.470+01:00", comments="Source field: client_instruction.timestamp")
public static final SqlColumn timestamp = clientInstructionRecord.timestamp;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.156+01:00", comments="Source Table: client_instruction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.470+01:00", comments="Source Table: client_instruction")
public static final class ClientInstructionRecord extends SqlTable {
public final SqlColumn id = column("id", JDBCType.BIGINT);
diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientInstructionRecordMapper.java b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientInstructionRecordMapper.java
index 7cd1c440b..e9b02ac4b 100644
--- a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientInstructionRecordMapper.java
+++ b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientInstructionRecordMapper.java
@@ -32,20 +32,20 @@
@Mapper
public interface ClientInstructionRecordMapper {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.156+01:00", comments="Source Table: client_instruction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.470+01:00", comments="Source Table: client_instruction")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
long count(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.156+01:00", comments="Source Table: client_instruction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.470+01:00", comments="Source Table: client_instruction")
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
int delete(DeleteStatementProvider deleteStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.156+01:00", comments="Source Table: client_instruction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.470+01:00", comments="Source Table: client_instruction")
@InsertProvider(type=SqlProviderAdapter.class, method="insert")
@SelectKey(statement="SELECT LAST_INSERT_ID()", keyProperty="record.id", before=false, resultType=Long.class)
int insert(InsertStatementProvider insertStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.156+01:00", comments="Source Table: client_instruction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.470+01:00", comments="Source Table: client_instruction")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
@ConstructorArgs({
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
@@ -58,7 +58,7 @@ public interface ClientInstructionRecordMapper {
})
ClientInstructionRecord selectOne(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.156+01:00", comments="Source Table: client_instruction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.470+01:00", comments="Source Table: client_instruction")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
@ConstructorArgs({
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
@@ -71,22 +71,22 @@ public interface ClientInstructionRecordMapper {
})
List selectMany(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.156+01:00", comments="Source Table: client_instruction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.470+01:00", comments="Source Table: client_instruction")
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
int update(UpdateStatementProvider updateStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.156+01:00", comments="Source Table: client_instruction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.470+01:00", comments="Source Table: client_instruction")
default QueryExpressionDSL> countByExample() {
return SelectDSL.selectWithMapper(this::count, SqlBuilder.count())
.from(clientInstructionRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.156+01:00", comments="Source Table: client_instruction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.470+01:00", comments="Source Table: client_instruction")
default DeleteDSL> deleteByExample() {
return DeleteDSL.deleteFromWithMapper(this::delete, clientInstructionRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.156+01:00", comments="Source Table: client_instruction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.470+01:00", comments="Source Table: client_instruction")
default int deleteByPrimaryKey(Long id_) {
return DeleteDSL.deleteFromWithMapper(this::delete, clientInstructionRecord)
.where(id, isEqualTo(id_))
@@ -94,7 +94,7 @@ default int deleteByPrimaryKey(Long id_) {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.156+01:00", comments="Source Table: client_instruction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.470+01:00", comments="Source Table: client_instruction")
default int insert(ClientInstructionRecord record) {
return insert(SqlBuilder.insert(record)
.into(clientInstructionRecord)
@@ -108,7 +108,7 @@ default int insert(ClientInstructionRecord record) {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.156+01:00", comments="Source Table: client_instruction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.470+01:00", comments="Source Table: client_instruction")
default int insertSelective(ClientInstructionRecord record) {
return insert(SqlBuilder.insert(record)
.into(clientInstructionRecord)
@@ -122,19 +122,19 @@ default int insertSelective(ClientInstructionRecord record) {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.156+01:00", comments="Source Table: client_instruction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.470+01:00", comments="Source Table: client_instruction")
default QueryExpressionDSL>> selectByExample() {
return SelectDSL.selectWithMapper(this::selectMany, id, examId, connectionToken, type, attributes, needsConfirmation, timestamp)
.from(clientInstructionRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.156+01:00", comments="Source Table: client_instruction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.470+01:00", comments="Source Table: client_instruction")
default QueryExpressionDSL>> selectDistinctByExample() {
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, examId, connectionToken, type, attributes, needsConfirmation, timestamp)
.from(clientInstructionRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.156+01:00", comments="Source Table: client_instruction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.470+01:00", comments="Source Table: client_instruction")
default ClientInstructionRecord selectByPrimaryKey(Long id_) {
return SelectDSL.selectWithMapper(this::selectOne, id, examId, connectionToken, type, attributes, needsConfirmation, timestamp)
.from(clientInstructionRecord)
@@ -143,7 +143,7 @@ default ClientInstructionRecord selectByPrimaryKey(Long id_) {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.156+01:00", comments="Source Table: client_instruction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.470+01:00", comments="Source Table: client_instruction")
default UpdateDSL> updateByExample(ClientInstructionRecord record) {
return UpdateDSL.updateWithMapper(this::update, clientInstructionRecord)
.set(examId).equalTo(record::getExamId)
@@ -154,7 +154,7 @@ default UpdateDSL> updateByExample(ClientIns
.set(timestamp).equalTo(record::getTimestamp);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.156+01:00", comments="Source Table: client_instruction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.470+01:00", comments="Source Table: client_instruction")
default UpdateDSL> updateByExampleSelective(ClientInstructionRecord record) {
return UpdateDSL.updateWithMapper(this::update, clientInstructionRecord)
.set(examId).equalToWhenPresent(record::getExamId)
@@ -165,7 +165,7 @@ default UpdateDSL> updateByExampleSelective(
.set(timestamp).equalToWhenPresent(record::getTimestamp);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.156+01:00", comments="Source Table: client_instruction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.470+01:00", comments="Source Table: client_instruction")
default int updateByPrimaryKey(ClientInstructionRecord record) {
return UpdateDSL.updateWithMapper(this::update, clientInstructionRecord)
.set(examId).equalTo(record::getExamId)
@@ -179,7 +179,7 @@ default int updateByPrimaryKey(ClientInstructionRecord record) {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.156+01:00", comments="Source Table: client_instruction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.470+01:00", comments="Source Table: client_instruction")
default int updateByPrimaryKeySelective(ClientInstructionRecord record) {
return UpdateDSL.updateWithMapper(this::update, clientInstructionRecord)
.set(examId).equalToWhenPresent(record::getExamId)
diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientNotificationRecordDynamicSqlSupport.java b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientNotificationRecordDynamicSqlSupport.java
index 9d3e5f8c1..2c213feff 100644
--- a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientNotificationRecordDynamicSqlSupport.java
+++ b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientNotificationRecordDynamicSqlSupport.java
@@ -6,28 +6,28 @@
import org.mybatis.dynamic.sql.SqlTable;
public final class ClientNotificationRecordDynamicSqlSupport {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source Table: client_notification")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source Table: client_notification")
public static final ClientNotificationRecord clientNotificationRecord = new ClientNotificationRecord();
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source field: client_notification.id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source field: client_notification.id")
public static final SqlColumn id = clientNotificationRecord.id;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source field: client_notification.client_connection_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source field: client_notification.client_connection_id")
public static final SqlColumn clientConnectionId = clientNotificationRecord.clientConnectionId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source field: client_notification.event_type")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source field: client_notification.event_type")
public static final SqlColumn eventType = clientNotificationRecord.eventType;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source field: client_notification.notification_type")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source field: client_notification.notification_type")
public static final SqlColumn notificationType = clientNotificationRecord.notificationType;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source field: client_notification.value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source field: client_notification.value")
public static final SqlColumn value = clientNotificationRecord.value;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source field: client_notification.text")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source field: client_notification.text")
public static final SqlColumn text = clientNotificationRecord.text;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source Table: client_notification")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source Table: client_notification")
public static final class ClientNotificationRecord extends SqlTable {
public final SqlColumn id = column("id", JDBCType.BIGINT);
diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientNotificationRecordMapper.java b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientNotificationRecordMapper.java
index 3c28e9a8c..16dc37bd2 100644
--- a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientNotificationRecordMapper.java
+++ b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ClientNotificationRecordMapper.java
@@ -32,20 +32,20 @@
@Mapper
public interface ClientNotificationRecordMapper {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source Table: client_notification")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source Table: client_notification")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
long count(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source Table: client_notification")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source Table: client_notification")
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
int delete(DeleteStatementProvider deleteStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source Table: client_notification")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source Table: client_notification")
@InsertProvider(type=SqlProviderAdapter.class, method="insert")
@SelectKey(statement="SELECT LAST_INSERT_ID()", keyProperty="record.id", before=false, resultType=Long.class)
int insert(InsertStatementProvider insertStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source Table: client_notification")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source Table: client_notification")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
@ConstructorArgs({
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
@@ -57,7 +57,7 @@ public interface ClientNotificationRecordMapper {
})
ClientNotificationRecord selectOne(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source Table: client_notification")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source Table: client_notification")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
@ConstructorArgs({
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
@@ -69,22 +69,22 @@ public interface ClientNotificationRecordMapper {
})
List selectMany(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source Table: client_notification")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source Table: client_notification")
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
int update(UpdateStatementProvider updateStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source Table: client_notification")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source Table: client_notification")
default QueryExpressionDSL> countByExample() {
return SelectDSL.selectWithMapper(this::count, SqlBuilder.count())
.from(clientNotificationRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source Table: client_notification")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source Table: client_notification")
default DeleteDSL> deleteByExample() {
return DeleteDSL.deleteFromWithMapper(this::delete, clientNotificationRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source Table: client_notification")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source Table: client_notification")
default int deleteByPrimaryKey(Long id_) {
return DeleteDSL.deleteFromWithMapper(this::delete, clientNotificationRecord)
.where(id, isEqualTo(id_))
@@ -92,7 +92,7 @@ default int deleteByPrimaryKey(Long id_) {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source Table: client_notification")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source Table: client_notification")
default int insert(ClientNotificationRecord record) {
return insert(SqlBuilder.insert(record)
.into(clientNotificationRecord)
@@ -105,7 +105,7 @@ default int insert(ClientNotificationRecord record) {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source Table: client_notification")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source Table: client_notification")
default int insertSelective(ClientNotificationRecord record) {
return insert(SqlBuilder.insert(record)
.into(clientNotificationRecord)
@@ -118,19 +118,19 @@ default int insertSelective(ClientNotificationRecord record) {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source Table: client_notification")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source Table: client_notification")
default QueryExpressionDSL>> selectByExample() {
return SelectDSL.selectWithMapper(this::selectMany, id, clientConnectionId, eventType, notificationType, value, text)
.from(clientNotificationRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source Table: client_notification")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source Table: client_notification")
default QueryExpressionDSL>> selectDistinctByExample() {
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, clientConnectionId, eventType, notificationType, value, text)
.from(clientNotificationRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source Table: client_notification")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source Table: client_notification")
default ClientNotificationRecord selectByPrimaryKey(Long id_) {
return SelectDSL.selectWithMapper(this::selectOne, id, clientConnectionId, eventType, notificationType, value, text)
.from(clientNotificationRecord)
@@ -139,7 +139,7 @@ default ClientNotificationRecord selectByPrimaryKey(Long id_) {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source Table: client_notification")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source Table: client_notification")
default UpdateDSL> updateByExample(ClientNotificationRecord record) {
return UpdateDSL.updateWithMapper(this::update, clientNotificationRecord)
.set(clientConnectionId).equalTo(record::getClientConnectionId)
@@ -149,7 +149,7 @@ default UpdateDSL> updateByExample(ClientNot
.set(text).equalTo(record::getText);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source Table: client_notification")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source Table: client_notification")
default UpdateDSL> updateByExampleSelective(ClientNotificationRecord record) {
return UpdateDSL.updateWithMapper(this::update, clientNotificationRecord)
.set(clientConnectionId).equalToWhenPresent(record::getClientConnectionId)
@@ -159,7 +159,7 @@ default UpdateDSL> updateByExampleSelective(
.set(text).equalToWhenPresent(record::getText);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source Table: client_notification")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source Table: client_notification")
default int updateByPrimaryKey(ClientNotificationRecord record) {
return UpdateDSL.updateWithMapper(this::update, clientNotificationRecord)
.set(clientConnectionId).equalTo(record::getClientConnectionId)
@@ -172,7 +172,7 @@ default int updateByPrimaryKey(ClientNotificationRecord record) {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.166+01:00", comments="Source Table: client_notification")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.481+01:00", comments="Source Table: client_notification")
default int updateByPrimaryKeySelective(ClientNotificationRecord record) {
return UpdateDSL.updateWithMapper(this::update, clientNotificationRecord)
.set(clientConnectionId).equalToWhenPresent(record::getClientConnectionId)
diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ConfigurationAttributeRecordDynamicSqlSupport.java b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ConfigurationAttributeRecordDynamicSqlSupport.java
index d5980074d..bf9dc74e1 100644
--- a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ConfigurationAttributeRecordDynamicSqlSupport.java
+++ b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ConfigurationAttributeRecordDynamicSqlSupport.java
@@ -6,34 +6,34 @@
import org.mybatis.dynamic.sql.SqlTable;
public final class ConfigurationAttributeRecordDynamicSqlSupport {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.084+01:00", comments="Source Table: configuration_attribute")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.394+01:00", comments="Source Table: configuration_attribute")
public static final ConfigurationAttributeRecord configurationAttributeRecord = new ConfigurationAttributeRecord();
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.085+01:00", comments="Source field: configuration_attribute.id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.395+01:00", comments="Source field: configuration_attribute.id")
public static final SqlColumn id = configurationAttributeRecord.id;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.086+01:00", comments="Source field: configuration_attribute.name")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.396+01:00", comments="Source field: configuration_attribute.name")
public static final SqlColumn name = configurationAttributeRecord.name;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.086+01:00", comments="Source field: configuration_attribute.type")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.396+01:00", comments="Source field: configuration_attribute.type")
public static final SqlColumn type = configurationAttributeRecord.type;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.086+01:00", comments="Source field: configuration_attribute.parent_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.397+01:00", comments="Source field: configuration_attribute.parent_id")
public static final SqlColumn parentId = configurationAttributeRecord.parentId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.086+01:00", comments="Source field: configuration_attribute.resources")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.397+01:00", comments="Source field: configuration_attribute.resources")
public static final SqlColumn resources = configurationAttributeRecord.resources;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.086+01:00", comments="Source field: configuration_attribute.validator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.397+01:00", comments="Source field: configuration_attribute.validator")
public static final SqlColumn validator = configurationAttributeRecord.validator;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.086+01:00", comments="Source field: configuration_attribute.dependencies")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.397+01:00", comments="Source field: configuration_attribute.dependencies")
public static final SqlColumn dependencies = configurationAttributeRecord.dependencies;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.086+01:00", comments="Source field: configuration_attribute.default_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.397+01:00", comments="Source field: configuration_attribute.default_value")
public static final SqlColumn defaultValue = configurationAttributeRecord.defaultValue;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.085+01:00", comments="Source Table: configuration_attribute")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.395+01:00", comments="Source Table: configuration_attribute")
public static final class ConfigurationAttributeRecord extends SqlTable {
public final SqlColumn id = column("id", JDBCType.BIGINT);
diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ConfigurationAttributeRecordMapper.java b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ConfigurationAttributeRecordMapper.java
index 1d4743894..8b0362efd 100644
--- a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ConfigurationAttributeRecordMapper.java
+++ b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ConfigurationAttributeRecordMapper.java
@@ -32,20 +32,20 @@
@Mapper
public interface ConfigurationAttributeRecordMapper {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.088+01:00", comments="Source Table: configuration_attribute")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.397+01:00", comments="Source Table: configuration_attribute")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
long count(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.089+01:00", comments="Source Table: configuration_attribute")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.398+01:00", comments="Source Table: configuration_attribute")
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
int delete(DeleteStatementProvider deleteStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.089+01:00", comments="Source Table: configuration_attribute")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.398+01:00", comments="Source Table: configuration_attribute")
@InsertProvider(type=SqlProviderAdapter.class, method="insert")
@SelectKey(statement="SELECT LAST_INSERT_ID()", keyProperty="record.id", before=false, resultType=Long.class)
int insert(InsertStatementProvider insertStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.090+01:00", comments="Source Table: configuration_attribute")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.399+01:00", comments="Source Table: configuration_attribute")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
@ConstructorArgs({
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
@@ -59,7 +59,7 @@ public interface ConfigurationAttributeRecordMapper {
})
ConfigurationAttributeRecord selectOne(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.091+01:00", comments="Source Table: configuration_attribute")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.400+01:00", comments="Source Table: configuration_attribute")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
@ConstructorArgs({
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
@@ -73,22 +73,22 @@ public interface ConfigurationAttributeRecordMapper {
})
List selectMany(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.091+01:00", comments="Source Table: configuration_attribute")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.400+01:00", comments="Source Table: configuration_attribute")
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
int update(UpdateStatementProvider updateStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.092+01:00", comments="Source Table: configuration_attribute")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.400+01:00", comments="Source Table: configuration_attribute")
default QueryExpressionDSL> countByExample() {
return SelectDSL.selectWithMapper(this::count, SqlBuilder.count())
.from(configurationAttributeRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.092+01:00", comments="Source Table: configuration_attribute")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.401+01:00", comments="Source Table: configuration_attribute")
default DeleteDSL> deleteByExample() {
return DeleteDSL.deleteFromWithMapper(this::delete, configurationAttributeRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.093+01:00", comments="Source Table: configuration_attribute")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.401+01:00", comments="Source Table: configuration_attribute")
default int deleteByPrimaryKey(Long id_) {
return DeleteDSL.deleteFromWithMapper(this::delete, configurationAttributeRecord)
.where(id, isEqualTo(id_))
@@ -96,7 +96,7 @@ default int deleteByPrimaryKey(Long id_) {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.093+01:00", comments="Source Table: configuration_attribute")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.401+01:00", comments="Source Table: configuration_attribute")
default int insert(ConfigurationAttributeRecord record) {
return insert(SqlBuilder.insert(record)
.into(configurationAttributeRecord)
@@ -111,7 +111,7 @@ default int insert(ConfigurationAttributeRecord record) {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.094+01:00", comments="Source Table: configuration_attribute")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.402+01:00", comments="Source Table: configuration_attribute")
default int insertSelective(ConfigurationAttributeRecord record) {
return insert(SqlBuilder.insert(record)
.into(configurationAttributeRecord)
@@ -126,19 +126,19 @@ default int insertSelective(ConfigurationAttributeRecord record) {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.095+01:00", comments="Source Table: configuration_attribute")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.402+01:00", comments="Source Table: configuration_attribute")
default QueryExpressionDSL>> selectByExample() {
return SelectDSL.selectWithMapper(this::selectMany, id, name, type, parentId, resources, validator, dependencies, defaultValue)
.from(configurationAttributeRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.095+01:00", comments="Source Table: configuration_attribute")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.403+01:00", comments="Source Table: configuration_attribute")
default QueryExpressionDSL>> selectDistinctByExample() {
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, name, type, parentId, resources, validator, dependencies, defaultValue)
.from(configurationAttributeRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.096+01:00", comments="Source Table: configuration_attribute")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.403+01:00", comments="Source Table: configuration_attribute")
default ConfigurationAttributeRecord selectByPrimaryKey(Long id_) {
return SelectDSL.selectWithMapper(this::selectOne, id, name, type, parentId, resources, validator, dependencies, defaultValue)
.from(configurationAttributeRecord)
@@ -147,7 +147,7 @@ default ConfigurationAttributeRecord selectByPrimaryKey(Long id_) {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.097+01:00", comments="Source Table: configuration_attribute")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.404+01:00", comments="Source Table: configuration_attribute")
default UpdateDSL> updateByExample(ConfigurationAttributeRecord record) {
return UpdateDSL.updateWithMapper(this::update, configurationAttributeRecord)
.set(name).equalTo(record::getName)
@@ -159,7 +159,7 @@ default UpdateDSL> updateByExample(Configura
.set(defaultValue).equalTo(record::getDefaultValue);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.097+01:00", comments="Source Table: configuration_attribute")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.404+01:00", comments="Source Table: configuration_attribute")
default UpdateDSL> updateByExampleSelective(ConfigurationAttributeRecord record) {
return UpdateDSL.updateWithMapper(this::update, configurationAttributeRecord)
.set(name).equalToWhenPresent(record::getName)
@@ -171,7 +171,7 @@ default UpdateDSL> updateByExampleSelective(
.set(defaultValue).equalToWhenPresent(record::getDefaultValue);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.098+01:00", comments="Source Table: configuration_attribute")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.405+01:00", comments="Source Table: configuration_attribute")
default int updateByPrimaryKey(ConfigurationAttributeRecord record) {
return UpdateDSL.updateWithMapper(this::update, configurationAttributeRecord)
.set(name).equalTo(record::getName)
@@ -186,7 +186,7 @@ default int updateByPrimaryKey(ConfigurationAttributeRecord record) {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.098+01:00", comments="Source Table: configuration_attribute")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.405+01:00", comments="Source Table: configuration_attribute")
default int updateByPrimaryKeySelective(ConfigurationAttributeRecord record) {
return UpdateDSL.updateWithMapper(this::update, configurationAttributeRecord)
.set(name).equalToWhenPresent(record::getName)
diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ConfigurationNodeRecordDynamicSqlSupport.java b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ConfigurationNodeRecordDynamicSqlSupport.java
index 85f9d6e48..6a7b9079b 100644
--- a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ConfigurationNodeRecordDynamicSqlSupport.java
+++ b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ConfigurationNodeRecordDynamicSqlSupport.java
@@ -6,40 +6,40 @@
import org.mybatis.dynamic.sql.SqlTable;
public final class ConfigurationNodeRecordDynamicSqlSupport {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.147+01:00", comments="Source Table: configuration_node")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.458+01:00", comments="Source Table: configuration_node")
public static final ConfigurationNodeRecord configurationNodeRecord = new ConfigurationNodeRecord();
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.147+01:00", comments="Source field: configuration_node.id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.458+01:00", comments="Source field: configuration_node.id")
public static final SqlColumn id = configurationNodeRecord.id;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.147+01:00", comments="Source field: configuration_node.institution_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.458+01:00", comments="Source field: configuration_node.institution_id")
public static final SqlColumn institutionId = configurationNodeRecord.institutionId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.147+01:00", comments="Source field: configuration_node.template_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.458+01:00", comments="Source field: configuration_node.template_id")
public static final SqlColumn templateId = configurationNodeRecord.templateId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.147+01:00", comments="Source field: configuration_node.owner")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.458+01:00", comments="Source field: configuration_node.owner")
public static final SqlColumn owner = configurationNodeRecord.owner;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.147+01:00", comments="Source field: configuration_node.name")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.458+01:00", comments="Source field: configuration_node.name")
public static final SqlColumn name = configurationNodeRecord.name;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.147+01:00", comments="Source field: configuration_node.description")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.458+01:00", comments="Source field: configuration_node.description")
public static final SqlColumn description = configurationNodeRecord.description;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.147+01:00", comments="Source field: configuration_node.type")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.458+01:00", comments="Source field: configuration_node.type")
public static final SqlColumn type = configurationNodeRecord.type;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.147+01:00", comments="Source field: configuration_node.status")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.458+01:00", comments="Source field: configuration_node.status")
public static final SqlColumn status = configurationNodeRecord.status;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.147+01:00", comments="Source field: configuration_node.last_update_time")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.458+01:00", comments="Source field: configuration_node.last_update_time")
public static final SqlColumn lastUpdateTime = configurationNodeRecord.lastUpdateTime;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.147+01:00", comments="Source field: configuration_node.last_update_user")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.458+01:00", comments="Source field: configuration_node.last_update_user")
public static final SqlColumn lastUpdateUser = configurationNodeRecord.lastUpdateUser;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.147+01:00", comments="Source Table: configuration_node")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.458+01:00", comments="Source Table: configuration_node")
public static final class ConfigurationNodeRecord extends SqlTable {
public final SqlColumn id = column("id", JDBCType.BIGINT);
diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ConfigurationNodeRecordMapper.java b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ConfigurationNodeRecordMapper.java
index babc4dde0..975aa47ee 100644
--- a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ConfigurationNodeRecordMapper.java
+++ b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ConfigurationNodeRecordMapper.java
@@ -32,20 +32,20 @@
@Mapper
public interface ConfigurationNodeRecordMapper {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.147+01:00", comments="Source Table: configuration_node")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.458+01:00", comments="Source Table: configuration_node")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
long count(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.147+01:00", comments="Source Table: configuration_node")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.458+01:00", comments="Source Table: configuration_node")
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
int delete(DeleteStatementProvider deleteStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.147+01:00", comments="Source Table: configuration_node")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.458+01:00", comments="Source Table: configuration_node")
@InsertProvider(type=SqlProviderAdapter.class, method="insert")
@SelectKey(statement="SELECT LAST_INSERT_ID()", keyProperty="record.id", before=false, resultType=Long.class)
int insert(InsertStatementProvider insertStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.147+01:00", comments="Source Table: configuration_node")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.458+01:00", comments="Source Table: configuration_node")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
@ConstructorArgs({
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
@@ -61,7 +61,7 @@ public interface ConfigurationNodeRecordMapper {
})
ConfigurationNodeRecord selectOne(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.147+01:00", comments="Source Table: configuration_node")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.458+01:00", comments="Source Table: configuration_node")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
@ConstructorArgs({
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
@@ -77,22 +77,22 @@ public interface ConfigurationNodeRecordMapper {
})
List selectMany(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.147+01:00", comments="Source Table: configuration_node")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.458+01:00", comments="Source Table: configuration_node")
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
int update(UpdateStatementProvider updateStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.147+01:00", comments="Source Table: configuration_node")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.460+01:00", comments="Source Table: configuration_node")
default QueryExpressionDSL> countByExample() {
return SelectDSL.selectWithMapper(this::count, SqlBuilder.count())
.from(configurationNodeRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.147+01:00", comments="Source Table: configuration_node")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.460+01:00", comments="Source Table: configuration_node")
default DeleteDSL> deleteByExample() {
return DeleteDSL.deleteFromWithMapper(this::delete, configurationNodeRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.147+01:00", comments="Source Table: configuration_node")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.460+01:00", comments="Source Table: configuration_node")
default int deleteByPrimaryKey(Long id_) {
return DeleteDSL.deleteFromWithMapper(this::delete, configurationNodeRecord)
.where(id, isEqualTo(id_))
@@ -100,7 +100,7 @@ default int deleteByPrimaryKey(Long id_) {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.147+01:00", comments="Source Table: configuration_node")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.460+01:00", comments="Source Table: configuration_node")
default int insert(ConfigurationNodeRecord record) {
return insert(SqlBuilder.insert(record)
.into(configurationNodeRecord)
@@ -117,7 +117,7 @@ default int insert(ConfigurationNodeRecord record) {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.147+01:00", comments="Source Table: configuration_node")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.460+01:00", comments="Source Table: configuration_node")
default int insertSelective(ConfigurationNodeRecord record) {
return insert(SqlBuilder.insert(record)
.into(configurationNodeRecord)
@@ -134,19 +134,19 @@ default int insertSelective(ConfigurationNodeRecord record) {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.147+01:00", comments="Source Table: configuration_node")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.460+01:00", comments="Source Table: configuration_node")
default QueryExpressionDSL>> selectByExample() {
return SelectDSL.selectWithMapper(this::selectMany, id, institutionId, templateId, owner, name, description, type, status, lastUpdateTime, lastUpdateUser)
.from(configurationNodeRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.147+01:00", comments="Source Table: configuration_node")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.460+01:00", comments="Source Table: configuration_node")
default QueryExpressionDSL>> selectDistinctByExample() {
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, institutionId, templateId, owner, name, description, type, status, lastUpdateTime, lastUpdateUser)
.from(configurationNodeRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.147+01:00", comments="Source Table: configuration_node")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.460+01:00", comments="Source Table: configuration_node")
default ConfigurationNodeRecord selectByPrimaryKey(Long id_) {
return SelectDSL.selectWithMapper(this::selectOne, id, institutionId, templateId, owner, name, description, type, status, lastUpdateTime, lastUpdateUser)
.from(configurationNodeRecord)
@@ -155,7 +155,7 @@ default ConfigurationNodeRecord selectByPrimaryKey(Long id_) {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.147+01:00", comments="Source Table: configuration_node")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.460+01:00", comments="Source Table: configuration_node")
default UpdateDSL> updateByExample(ConfigurationNodeRecord record) {
return UpdateDSL.updateWithMapper(this::update, configurationNodeRecord)
.set(institutionId).equalTo(record::getInstitutionId)
@@ -169,7 +169,7 @@ default UpdateDSL> updateByExample(Configura
.set(lastUpdateUser).equalTo(record::getLastUpdateUser);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.147+01:00", comments="Source Table: configuration_node")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.460+01:00", comments="Source Table: configuration_node")
default UpdateDSL> updateByExampleSelective(ConfigurationNodeRecord record) {
return UpdateDSL.updateWithMapper(this::update, configurationNodeRecord)
.set(institutionId).equalToWhenPresent(record::getInstitutionId)
@@ -183,7 +183,7 @@ default UpdateDSL> updateByExampleSelective(
.set(lastUpdateUser).equalToWhenPresent(record::getLastUpdateUser);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.147+01:00", comments="Source Table: configuration_node")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.460+01:00", comments="Source Table: configuration_node")
default int updateByPrimaryKey(ConfigurationNodeRecord record) {
return UpdateDSL.updateWithMapper(this::update, configurationNodeRecord)
.set(institutionId).equalTo(record::getInstitutionId)
@@ -200,7 +200,7 @@ default int updateByPrimaryKey(ConfigurationNodeRecord record) {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.147+01:00", comments="Source Table: configuration_node")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.460+01:00", comments="Source Table: configuration_node")
default int updateByPrimaryKeySelective(ConfigurationNodeRecord record) {
return UpdateDSL.updateWithMapper(this::update, configurationNodeRecord)
.set(institutionId).equalToWhenPresent(record::getInstitutionId)
diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ConfigurationRecordDynamicSqlSupport.java b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ConfigurationRecordDynamicSqlSupport.java
index e4bb3a494..adc4b11a4 100644
--- a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ConfigurationRecordDynamicSqlSupport.java
+++ b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ConfigurationRecordDynamicSqlSupport.java
@@ -7,28 +7,28 @@
import org.mybatis.dynamic.sql.SqlTable;
public final class ConfigurationRecordDynamicSqlSupport {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.145+01:00", comments="Source Table: configuration")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.457+01:00", comments="Source Table: configuration")
public static final ConfigurationRecord configurationRecord = new ConfigurationRecord();
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.145+01:00", comments="Source field: configuration.id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.457+01:00", comments="Source field: configuration.id")
public static final SqlColumn id = configurationRecord.id;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.145+01:00", comments="Source field: configuration.institution_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.457+01:00", comments="Source field: configuration.institution_id")
public static final SqlColumn institutionId = configurationRecord.institutionId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.145+01:00", comments="Source field: configuration.configuration_node_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.457+01:00", comments="Source field: configuration.configuration_node_id")
public static final SqlColumn configurationNodeId = configurationRecord.configurationNodeId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.145+01:00", comments="Source field: configuration.version")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.457+01:00", comments="Source field: configuration.version")
public static final SqlColumn version = configurationRecord.version;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.145+01:00", comments="Source field: configuration.version_date")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.457+01:00", comments="Source field: configuration.version_date")
public static final SqlColumn versionDate = configurationRecord.versionDate;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.145+01:00", comments="Source field: configuration.followup")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.457+01:00", comments="Source field: configuration.followup")
public static final SqlColumn followup = configurationRecord.followup;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.145+01:00", comments="Source Table: configuration")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.457+01:00", comments="Source Table: configuration")
public static final class ConfigurationRecord extends SqlTable {
public final SqlColumn id = column("id", JDBCType.BIGINT);
diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ConfigurationRecordMapper.java b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ConfigurationRecordMapper.java
index 21d9ff878..c7c4414a0 100644
--- a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ConfigurationRecordMapper.java
+++ b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ConfigurationRecordMapper.java
@@ -34,20 +34,20 @@
@Mapper
public interface ConfigurationRecordMapper {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.145+01:00", comments="Source Table: configuration")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.457+01:00", comments="Source Table: configuration")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
long count(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.145+01:00", comments="Source Table: configuration")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.457+01:00", comments="Source Table: configuration")
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
int delete(DeleteStatementProvider deleteStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.145+01:00", comments="Source Table: configuration")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.457+01:00", comments="Source Table: configuration")
@InsertProvider(type=SqlProviderAdapter.class, method="insert")
@SelectKey(statement="SELECT LAST_INSERT_ID()", keyProperty="record.id", before=false, resultType=Long.class)
int insert(InsertStatementProvider insertStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.145+01:00", comments="Source Table: configuration")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.457+01:00", comments="Source Table: configuration")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
@ConstructorArgs({
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
@@ -59,7 +59,7 @@ public interface ConfigurationRecordMapper {
})
ConfigurationRecord selectOne(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.145+01:00", comments="Source Table: configuration")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.457+01:00", comments="Source Table: configuration")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
@ConstructorArgs({
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
@@ -71,22 +71,22 @@ public interface ConfigurationRecordMapper {
})
List selectMany(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.145+01:00", comments="Source Table: configuration")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.457+01:00", comments="Source Table: configuration")
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
int update(UpdateStatementProvider updateStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.145+01:00", comments="Source Table: configuration")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.457+01:00", comments="Source Table: configuration")
default QueryExpressionDSL> countByExample() {
return SelectDSL.selectWithMapper(this::count, SqlBuilder.count())
.from(configurationRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.145+01:00", comments="Source Table: configuration")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.457+01:00", comments="Source Table: configuration")
default DeleteDSL> deleteByExample() {
return DeleteDSL.deleteFromWithMapper(this::delete, configurationRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.145+01:00", comments="Source Table: configuration")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.457+01:00", comments="Source Table: configuration")
default int deleteByPrimaryKey(Long id_) {
return DeleteDSL.deleteFromWithMapper(this::delete, configurationRecord)
.where(id, isEqualTo(id_))
@@ -94,7 +94,7 @@ default int deleteByPrimaryKey(Long id_) {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.145+01:00", comments="Source Table: configuration")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.457+01:00", comments="Source Table: configuration")
default int insert(ConfigurationRecord record) {
return insert(SqlBuilder.insert(record)
.into(configurationRecord)
@@ -107,7 +107,7 @@ default int insert(ConfigurationRecord record) {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.145+01:00", comments="Source Table: configuration")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.457+01:00", comments="Source Table: configuration")
default int insertSelective(ConfigurationRecord record) {
return insert(SqlBuilder.insert(record)
.into(configurationRecord)
@@ -120,19 +120,19 @@ default int insertSelective(ConfigurationRecord record) {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.145+01:00", comments="Source Table: configuration")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.457+01:00", comments="Source Table: configuration")
default QueryExpressionDSL>> selectByExample() {
return SelectDSL.selectWithMapper(this::selectMany, id, institutionId, configurationNodeId, version, versionDate, followup)
.from(configurationRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.145+01:00", comments="Source Table: configuration")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.457+01:00", comments="Source Table: configuration")
default QueryExpressionDSL>> selectDistinctByExample() {
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, institutionId, configurationNodeId, version, versionDate, followup)
.from(configurationRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.145+01:00", comments="Source Table: configuration")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.457+01:00", comments="Source Table: configuration")
default ConfigurationRecord selectByPrimaryKey(Long id_) {
return SelectDSL.selectWithMapper(this::selectOne, id, institutionId, configurationNodeId, version, versionDate, followup)
.from(configurationRecord)
@@ -141,7 +141,7 @@ default ConfigurationRecord selectByPrimaryKey(Long id_) {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.145+01:00", comments="Source Table: configuration")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.457+01:00", comments="Source Table: configuration")
default UpdateDSL> updateByExample(ConfigurationRecord record) {
return UpdateDSL.updateWithMapper(this::update, configurationRecord)
.set(institutionId).equalTo(record::getInstitutionId)
@@ -151,7 +151,7 @@ default UpdateDSL> updateByExample(Configura
.set(followup).equalTo(record::getFollowup);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.145+01:00", comments="Source Table: configuration")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.457+01:00", comments="Source Table: configuration")
default UpdateDSL> updateByExampleSelective(ConfigurationRecord record) {
return UpdateDSL.updateWithMapper(this::update, configurationRecord)
.set(institutionId).equalToWhenPresent(record::getInstitutionId)
@@ -161,7 +161,7 @@ default UpdateDSL> updateByExampleSelective(
.set(followup).equalToWhenPresent(record::getFollowup);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.145+01:00", comments="Source Table: configuration")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.457+01:00", comments="Source Table: configuration")
default int updateByPrimaryKey(ConfigurationRecord record) {
return UpdateDSL.updateWithMapper(this::update, configurationRecord)
.set(institutionId).equalTo(record::getInstitutionId)
@@ -174,7 +174,7 @@ default int updateByPrimaryKey(ConfigurationRecord record) {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.145+01:00", comments="Source Table: configuration")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.457+01:00", comments="Source Table: configuration")
default int updateByPrimaryKeySelective(ConfigurationRecord record) {
return UpdateDSL.updateWithMapper(this::update, configurationRecord)
.set(institutionId).equalToWhenPresent(record::getInstitutionId)
diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ConfigurationValueRecordDynamicSqlSupport.java b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ConfigurationValueRecordDynamicSqlSupport.java
index ef250c447..68b82e499 100644
--- a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ConfigurationValueRecordDynamicSqlSupport.java
+++ b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ConfigurationValueRecordDynamicSqlSupport.java
@@ -6,28 +6,28 @@
import org.mybatis.dynamic.sql.SqlTable;
public final class ConfigurationValueRecordDynamicSqlSupport {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.140+01:00", comments="Source Table: configuration_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.452+01:00", comments="Source Table: configuration_value")
public static final ConfigurationValueRecord configurationValueRecord = new ConfigurationValueRecord();
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.140+01:00", comments="Source field: configuration_value.id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.452+01:00", comments="Source field: configuration_value.id")
public static final SqlColumn id = configurationValueRecord.id;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.140+01:00", comments="Source field: configuration_value.institution_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.452+01:00", comments="Source field: configuration_value.institution_id")
public static final SqlColumn institutionId = configurationValueRecord.institutionId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.140+01:00", comments="Source field: configuration_value.configuration_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.452+01:00", comments="Source field: configuration_value.configuration_id")
public static final SqlColumn configurationId = configurationValueRecord.configurationId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.140+01:00", comments="Source field: configuration_value.configuration_attribute_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.452+01:00", comments="Source field: configuration_value.configuration_attribute_id")
public static final SqlColumn configurationAttributeId = configurationValueRecord.configurationAttributeId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.140+01:00", comments="Source field: configuration_value.list_index")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.452+01:00", comments="Source field: configuration_value.list_index")
public static final SqlColumn listIndex = configurationValueRecord.listIndex;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.140+01:00", comments="Source field: configuration_value.value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.452+01:00", comments="Source field: configuration_value.value")
public static final SqlColumn value = configurationValueRecord.value;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.140+01:00", comments="Source Table: configuration_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.452+01:00", comments="Source Table: configuration_value")
public static final class ConfigurationValueRecord extends SqlTable {
public final SqlColumn id = column("id", JDBCType.BIGINT);
diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ConfigurationValueRecordMapper.java b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ConfigurationValueRecordMapper.java
index db4d0d450..78cdd6f9a 100644
--- a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ConfigurationValueRecordMapper.java
+++ b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ConfigurationValueRecordMapper.java
@@ -31,19 +31,19 @@
@Mapper
public interface ConfigurationValueRecordMapper {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.140+01:00", comments="Source Table: configuration_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.452+01:00", comments="Source Table: configuration_value")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
long count(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.140+01:00", comments="Source Table: configuration_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.453+01:00", comments="Source Table: configuration_value")
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
int delete(DeleteStatementProvider deleteStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.140+01:00", comments="Source Table: configuration_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.453+01:00", comments="Source Table: configuration_value")
@InsertProvider(type=SqlProviderAdapter.class, method="insert")
int insert(InsertStatementProvider insertStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.140+01:00", comments="Source Table: configuration_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.453+01:00", comments="Source Table: configuration_value")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
@ConstructorArgs({
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
@@ -55,7 +55,7 @@ public interface ConfigurationValueRecordMapper {
})
ConfigurationValueRecord selectOne(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.140+01:00", comments="Source Table: configuration_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.453+01:00", comments="Source Table: configuration_value")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
@ConstructorArgs({
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
@@ -67,22 +67,22 @@ public interface ConfigurationValueRecordMapper {
})
List selectMany(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.140+01:00", comments="Source Table: configuration_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.453+01:00", comments="Source Table: configuration_value")
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
int update(UpdateStatementProvider updateStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.140+01:00", comments="Source Table: configuration_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.453+01:00", comments="Source Table: configuration_value")
default QueryExpressionDSL> countByExample() {
return SelectDSL.selectWithMapper(this::count, SqlBuilder.count())
.from(configurationValueRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.140+01:00", comments="Source Table: configuration_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.453+01:00", comments="Source Table: configuration_value")
default DeleteDSL> deleteByExample() {
return DeleteDSL.deleteFromWithMapper(this::delete, configurationValueRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.140+01:00", comments="Source Table: configuration_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.453+01:00", comments="Source Table: configuration_value")
default int deleteByPrimaryKey(Long id_) {
return DeleteDSL.deleteFromWithMapper(this::delete, configurationValueRecord)
.where(id, isEqualTo(id_))
@@ -90,7 +90,7 @@ default int deleteByPrimaryKey(Long id_) {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.140+01:00", comments="Source Table: configuration_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.453+01:00", comments="Source Table: configuration_value")
default int insert(ConfigurationValueRecord record) {
return insert(SqlBuilder.insert(record)
.into(configurationValueRecord)
@@ -104,7 +104,7 @@ default int insert(ConfigurationValueRecord record) {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.140+01:00", comments="Source Table: configuration_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.453+01:00", comments="Source Table: configuration_value")
default int insertSelective(ConfigurationValueRecord record) {
return insert(SqlBuilder.insert(record)
.into(configurationValueRecord)
@@ -118,19 +118,19 @@ default int insertSelective(ConfigurationValueRecord record) {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.141+01:00", comments="Source Table: configuration_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.453+01:00", comments="Source Table: configuration_value")
default QueryExpressionDSL>> selectByExample() {
return SelectDSL.selectWithMapper(this::selectMany, id, institutionId, configurationId, configurationAttributeId, listIndex, value)
.from(configurationValueRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.141+01:00", comments="Source Table: configuration_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.453+01:00", comments="Source Table: configuration_value")
default QueryExpressionDSL>> selectDistinctByExample() {
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, institutionId, configurationId, configurationAttributeId, listIndex, value)
.from(configurationValueRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.141+01:00", comments="Source Table: configuration_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.453+01:00", comments="Source Table: configuration_value")
default ConfigurationValueRecord selectByPrimaryKey(Long id_) {
return SelectDSL.selectWithMapper(this::selectOne, id, institutionId, configurationId, configurationAttributeId, listIndex, value)
.from(configurationValueRecord)
@@ -139,7 +139,7 @@ default ConfigurationValueRecord selectByPrimaryKey(Long id_) {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.141+01:00", comments="Source Table: configuration_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.453+01:00", comments="Source Table: configuration_value")
default UpdateDSL> updateByExample(ConfigurationValueRecord record) {
return UpdateDSL.updateWithMapper(this::update, configurationValueRecord)
.set(id).equalTo(record::getId)
@@ -150,7 +150,7 @@ default UpdateDSL> updateByExample(Configura
.set(value).equalTo(record::getValue);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.141+01:00", comments="Source Table: configuration_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.453+01:00", comments="Source Table: configuration_value")
default UpdateDSL> updateByExampleSelective(ConfigurationValueRecord record) {
return UpdateDSL.updateWithMapper(this::update, configurationValueRecord)
.set(id).equalToWhenPresent(record::getId)
@@ -161,7 +161,7 @@ default UpdateDSL> updateByExampleSelective(
.set(value).equalToWhenPresent(record::getValue);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.141+01:00", comments="Source Table: configuration_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.453+01:00", comments="Source Table: configuration_value")
default int updateByPrimaryKey(ConfigurationValueRecord record) {
return UpdateDSL.updateWithMapper(this::update, configurationValueRecord)
.set(institutionId).equalTo(record::getInstitutionId)
@@ -174,7 +174,7 @@ default int updateByPrimaryKey(ConfigurationValueRecord record) {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-11-14T09:46:30.141+01:00", comments="Source Table: configuration_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.453+01:00", comments="Source Table: configuration_value")
default int updateByPrimaryKeySelective(ConfigurationValueRecord record) {
return UpdateDSL.updateWithMapper(this::update, configurationValueRecord)
.set(institutionId).equalToWhenPresent(record::getInstitutionId)
diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/EntityPrivilegeRecordDynamicSqlSupport.java b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/EntityPrivilegeRecordDynamicSqlSupport.java
new file mode 100644
index 000000000..dbb9a11fc
--- /dev/null
+++ b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/EntityPrivilegeRecordDynamicSqlSupport.java
@@ -0,0 +1,43 @@
+package ch.ethz.seb.sebserver.webservice.datalayer.batis.mapper;
+
+import java.sql.JDBCType;
+import javax.annotation.Generated;
+import org.mybatis.dynamic.sql.SqlColumn;
+import org.mybatis.dynamic.sql.SqlTable;
+
+public final class EntityPrivilegeRecordDynamicSqlSupport {
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.484+01:00", comments="Source Table: entity_privilege")
+ public static final EntityPrivilegeRecord entityPrivilegeRecord = new EntityPrivilegeRecord();
+
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.484+01:00", comments="Source field: entity_privilege.id")
+ public static final SqlColumn id = entityPrivilegeRecord.id;
+
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.484+01:00", comments="Source field: entity_privilege.entity_type")
+ public static final SqlColumn entityType = entityPrivilegeRecord.entityType;
+
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.484+01:00", comments="Source field: entity_privilege.entity_id")
+ public static final SqlColumn entityId = entityPrivilegeRecord.entityId;
+
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.484+01:00", comments="Source field: entity_privilege.user_uuid")
+ public static final SqlColumn userUuid = entityPrivilegeRecord.userUuid;
+
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.484+01:00", comments="Source field: entity_privilege.privilege_type")
+ public static final SqlColumn privilegeType = entityPrivilegeRecord.privilegeType;
+
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-12-04T15:30:33.484+01:00", comments="Source Table: entity_privilege")
+ public static final class EntityPrivilegeRecord extends SqlTable {
+ public final SqlColumn id = column("id", JDBCType.BIGINT);
+
+ public final SqlColumn entityType = column("entity_type", JDBCType.VARCHAR);
+
+ public final SqlColumn entityId = column("entity_id", JDBCType.BIGINT);
+
+ public final SqlColumn