diff --git a/pom.xml b/pom.xml
index 88b02d79..902e45f6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -235,7 +235,7 @@
org.mybatis.dynamic-sql
mybatis-dynamic-sql
- 1.1.0
+ 1.1.2
org.mybatis.spring.boot
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 527225ba..98618804 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 @@ package ch.ethz.seb.sebserver.gbl.api;
import javax.annotation.Generated;
-@Generated(value="org.mybatis.generator.api.MyBatisGenerator",comments="ch.ethz.seb.sebserver.gen.DomainModelNameReferencePlugin",date="2023-01-31T15:12:15.386+01:00")
+@Generated(value="org.mybatis.generator.api.MyBatisGenerator",comments="ch.ethz.seb.sebserver.gen.DomainModelNameReferencePlugin",date="2023-08-24T13:24:15.660+02:00")
public enum EntityType {
CONFIGURATION_ATTRIBUTE,
CONFIGURATION_VALUE,
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 e2873b9b..186fd038 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 @@ import javax.annotation.Generated;
/** 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-01-31T15:12:15.330+01:00")
+@Generated(value="org.mybatis.generator.api.MyBatisGenerator",comments="ch.ethz.seb.sebserver.gen.DomainModelNameReferencePlugin",date="2023-08-24T13:24:15.607+02:00")
public interface Domain {
interface CONFIGURATION_ATTRIBUTE {
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 9bf50032..31307233 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.SqlColumn;
import org.mybatis.dynamic.sql.SqlTable;
public final class AdditionalAttributeRecordDynamicSqlSupport {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.522+01:00", comments="Source Table: additional_attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.793+02:00", comments="Source Table: additional_attributes")
public static final AdditionalAttributeRecord additionalAttributeRecord = new AdditionalAttributeRecord();
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.522+01:00", comments="Source field: additional_attributes.id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.793+02:00", comments="Source field: additional_attributes.id")
public static final SqlColumn id = additionalAttributeRecord.id;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.523+01:00", comments="Source field: additional_attributes.entity_type")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.793+02:00", comments="Source field: additional_attributes.entity_type")
public static final SqlColumn entityType = additionalAttributeRecord.entityType;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.523+01:00", comments="Source field: additional_attributes.entity_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.793+02:00", comments="Source field: additional_attributes.entity_id")
public static final SqlColumn entityId = additionalAttributeRecord.entityId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.523+01:00", comments="Source field: additional_attributes.name")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.793+02:00", comments="Source field: additional_attributes.name")
public static final SqlColumn name = additionalAttributeRecord.name;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.523+01:00", comments="Source field: additional_attributes.value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.793+02:00", comments="Source field: additional_attributes.value")
public static final SqlColumn value = additionalAttributeRecord.value;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.522+01:00", comments="Source Table: additional_attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.793+02: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 f3dc0e16..be0585cd 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 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
@Mapper
public interface AdditionalAttributeRecordMapper {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.523+01:00", comments="Source Table: additional_attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.793+02: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-01-31T15:12:15.523+01:00", comments="Source Table: additional_attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.793+02: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-01-31T15:12:15.523+01:00", comments="Source Table: additional_attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.793+02: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-01-31T15:12:15.523+01:00", comments="Source Table: additional_attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.793+02: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-01-31T15:12:15.523+01:00", comments="Source Table: additional_attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.794+02: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-01-31T15:12:15.523+01:00", comments="Source Table: additional_attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.794+02: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-01-31T15:12:15.523+01:00", comments="Source Table: additional_attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.794+02: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-01-31T15:12:15.523+01:00", comments="Source Table: additional_attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.794+02:00", comments="Source Table: additional_attributes")
default DeleteDSL> deleteByExample() {
return DeleteDSL.deleteFromWithMapper(this::delete, additionalAttributeRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.523+01:00", comments="Source Table: additional_attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.794+02: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 @@ public interface AdditionalAttributeRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.524+01:00", comments="Source Table: additional_attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.794+02:00", comments="Source Table: additional_attributes")
default int insert(AdditionalAttributeRecord record) {
return insert(SqlBuilder.insert(record)
.into(additionalAttributeRecord)
@@ -102,7 +102,7 @@ public interface AdditionalAttributeRecordMapper {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.524+01:00", comments="Source Table: additional_attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.794+02:00", comments="Source Table: additional_attributes")
default int insertSelective(AdditionalAttributeRecord record) {
return insert(SqlBuilder.insert(record)
.into(additionalAttributeRecord)
@@ -114,19 +114,19 @@ public interface AdditionalAttributeRecordMapper {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.524+01:00", comments="Source Table: additional_attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.794+02: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-01-31T15:12:15.524+01:00", comments="Source Table: additional_attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.794+02: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-01-31T15:12:15.524+01:00", comments="Source Table: additional_attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.794+02: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 @@ public interface AdditionalAttributeRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.524+01:00", comments="Source Table: additional_attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.794+02: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 @@ public interface AdditionalAttributeRecordMapper {
.set(value).equalTo(record::getValue);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.524+01:00", comments="Source Table: additional_attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.794+02: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 @@ public interface AdditionalAttributeRecordMapper {
.set(value).equalToWhenPresent(record::getValue);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.524+01:00", comments="Source Table: additional_attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.794+02: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 @@ public interface AdditionalAttributeRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.524+01:00", comments="Source Table: additional_attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.794+02: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 8e9fe65a..e453769d 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.SqlColumn;
import org.mybatis.dynamic.sql.SqlTable;
public final class BatchActionRecordDynamicSqlSupport {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.533+01:00", comments="Source Table: batch_action")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.803+02:00", comments="Source Table: batch_action")
public static final BatchActionRecord batchActionRecord = new BatchActionRecord();
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.534+01:00", comments="Source field: batch_action.id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.803+02:00", comments="Source field: batch_action.id")
public static final SqlColumn id = batchActionRecord.id;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.534+01:00", comments="Source field: batch_action.institution_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.803+02:00", comments="Source field: batch_action.institution_id")
public static final SqlColumn institutionId = batchActionRecord.institutionId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.534+01:00", comments="Source field: batch_action.owner")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.803+02:00", comments="Source field: batch_action.owner")
public static final SqlColumn owner = batchActionRecord.owner;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.534+01:00", comments="Source field: batch_action.action_type")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.803+02:00", comments="Source field: batch_action.action_type")
public static final SqlColumn actionType = batchActionRecord.actionType;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.534+01:00", comments="Source field: batch_action.attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.803+02:00", comments="Source field: batch_action.attributes")
public static final SqlColumn attributes = batchActionRecord.attributes;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.534+01:00", comments="Source field: batch_action.source_ids")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.803+02:00", comments="Source field: batch_action.source_ids")
public static final SqlColumn sourceIds = batchActionRecord.sourceIds;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.534+01:00", comments="Source field: batch_action.successful")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.803+02:00", comments="Source field: batch_action.successful")
public static final SqlColumn successful = batchActionRecord.successful;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.534+01:00", comments="Source field: batch_action.last_update")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.803+02:00", comments="Source field: batch_action.last_update")
public static final SqlColumn lastUpdate = batchActionRecord.lastUpdate;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.534+01:00", comments="Source field: batch_action.processor_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.803+02:00", comments="Source field: batch_action.processor_id")
public static final SqlColumn processorId = batchActionRecord.processorId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.533+01:00", comments="Source Table: batch_action")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.803+02: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 125beecc..4738f960 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 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
@Mapper
public interface BatchActionRecordMapper {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.534+01:00", comments="Source Table: batch_action")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.803+02: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-01-31T15:12:15.534+01:00", comments="Source Table: batch_action")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.803+02: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-01-31T15:12:15.534+01:00", comments="Source Table: batch_action")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.803+02: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-01-31T15:12:15.534+01:00", comments="Source Table: batch_action")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.803+02: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-01-31T15:12:15.534+01:00", comments="Source Table: batch_action")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.803+02: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-01-31T15:12:15.534+01:00", comments="Source Table: batch_action")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.803+02: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-01-31T15:12:15.534+01:00", comments="Source Table: batch_action")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.803+02: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-01-31T15:12:15.534+01:00", comments="Source Table: batch_action")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.803+02:00", comments="Source Table: batch_action")
default DeleteDSL> deleteByExample() {
return DeleteDSL.deleteFromWithMapper(this::delete, batchActionRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.534+01:00", comments="Source Table: batch_action")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.803+02: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 @@ public interface BatchActionRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.534+01:00", comments="Source Table: batch_action")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.803+02:00", comments="Source Table: batch_action")
default int insert(BatchActionRecord record) {
return insert(SqlBuilder.insert(record)
.into(batchActionRecord)
@@ -114,7 +114,7 @@ public interface BatchActionRecordMapper {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.534+01:00", comments="Source Table: batch_action")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.803+02:00", comments="Source Table: batch_action")
default int insertSelective(BatchActionRecord record) {
return insert(SqlBuilder.insert(record)
.into(batchActionRecord)
@@ -130,19 +130,19 @@ public interface BatchActionRecordMapper {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.534+01:00", comments="Source Table: batch_action")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.803+02: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-01-31T15:12:15.534+01:00", comments="Source Table: batch_action")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.803+02: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-01-31T15:12:15.534+01:00", comments="Source Table: batch_action")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.803+02: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 @@ public interface BatchActionRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.534+01:00", comments="Source Table: batch_action")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.803+02: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 @@ public interface BatchActionRecordMapper {
.set(processorId).equalTo(record::getProcessorId);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.534+01:00", comments="Source Table: batch_action")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.803+02: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 @@ public interface BatchActionRecordMapper {
.set(processorId).equalToWhenPresent(record::getProcessorId);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.534+01:00", comments="Source Table: batch_action")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.803+02: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 @@ public interface BatchActionRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.534+01:00", comments="Source Table: batch_action")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.803+02: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 cca34580..acd16ea6 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.SqlColumn;
import org.mybatis.dynamic.sql.SqlTable;
public final class CertificateRecordDynamicSqlSupport {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.529+01:00", comments="Source Table: certificate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.799+02:00", comments="Source Table: certificate")
public static final CertificateRecord certificateRecord = new CertificateRecord();
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.529+01:00", comments="Source field: certificate.id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.799+02:00", comments="Source field: certificate.id")
public static final SqlColumn id = certificateRecord.id;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.529+01:00", comments="Source field: certificate.institution_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.799+02:00", comments="Source field: certificate.institution_id")
public static final SqlColumn institutionId = certificateRecord.institutionId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.529+01:00", comments="Source field: certificate.aliases")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.799+02:00", comments="Source field: certificate.aliases")
public static final SqlColumn aliases = certificateRecord.aliases;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.529+01:00", comments="Source field: certificate.cert_store")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.800+02:00", comments="Source field: certificate.cert_store")
public static final SqlColumn certStore = certificateRecord.certStore;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.529+01:00", comments="Source Table: certificate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.799+02: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 411ce8cf..b7561ff7 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 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
@Mapper
public interface CertificateRecordMapper {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.529+01:00", comments="Source Table: certificate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.800+02:00", comments="Source Table: certificate")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
long count(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.529+01:00", comments="Source Table: certificate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.800+02:00", comments="Source Table: certificate")
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
int delete(DeleteStatementProvider deleteStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.529+01:00", comments="Source Table: certificate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.800+02: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-01-31T15:12:15.529+01:00", comments="Source Table: certificate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.800+02: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-01-31T15:12:15.529+01:00", comments="Source Table: certificate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.800+02: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-01-31T15:12:15.529+01:00", comments="Source Table: certificate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.800+02:00", comments="Source Table: certificate")
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
int update(UpdateStatementProvider updateStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.529+01:00", comments="Source Table: certificate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.800+02: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-01-31T15:12:15.529+01:00", comments="Source Table: certificate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.800+02:00", comments="Source Table: certificate")
default DeleteDSL> deleteByExample() {
return DeleteDSL.deleteFromWithMapper(this::delete, certificateRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.529+01:00", comments="Source Table: certificate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.800+02:00", comments="Source Table: certificate")
default int deleteByPrimaryKey(Long id_) {
return DeleteDSL.deleteFromWithMapper(this::delete, certificateRecord)
.where(id, isEqualTo(id_))
@@ -88,7 +88,7 @@ public interface CertificateRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.529+01:00", comments="Source Table: certificate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.800+02:00", comments="Source Table: certificate")
default int insert(CertificateRecord record) {
return insert(SqlBuilder.insert(record)
.into(certificateRecord)
@@ -99,7 +99,7 @@ public interface CertificateRecordMapper {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.529+01:00", comments="Source Table: certificate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.800+02:00", comments="Source Table: certificate")
default int insertSelective(CertificateRecord record) {
return insert(SqlBuilder.insert(record)
.into(certificateRecord)
@@ -110,19 +110,19 @@ public interface CertificateRecordMapper {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.530+01:00", comments="Source Table: certificate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.800+02: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-01-31T15:12:15.530+01:00", comments="Source Table: certificate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.800+02: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-01-31T15:12:15.530+01:00", comments="Source Table: certificate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.800+02: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 @@ public interface CertificateRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.530+01:00", comments="Source Table: certificate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.800+02: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 @@ public interface CertificateRecordMapper {
.set(certStore).equalTo(record::getCertStore);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.530+01:00", comments="Source Table: certificate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.800+02: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 @@ public interface CertificateRecordMapper {
.set(certStore).equalToWhenPresent(record::getCertStore);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.530+01:00", comments="Source Table: certificate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.800+02: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 @@ public interface CertificateRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.530+01:00", comments="Source Table: certificate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.800+02: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 93ab3a60..b96f7b2a 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,70 +6,70 @@ import org.mybatis.dynamic.sql.SqlColumn;
import org.mybatis.dynamic.sql.SqlTable;
public final class ClientConnectionRecordDynamicSqlSupport {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.485+01:00", comments="Source Table: client_connection")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.751+02:00", comments="Source Table: client_connection")
public static final ClientConnectionRecord clientConnectionRecord = new ClientConnectionRecord();
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.485+01:00", comments="Source field: client_connection.id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.751+02:00", comments="Source field: client_connection.id")
public static final SqlColumn id = clientConnectionRecord.id;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.485+01:00", comments="Source field: client_connection.institution_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.752+02:00", comments="Source field: client_connection.institution_id")
public static final SqlColumn institutionId = clientConnectionRecord.institutionId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.485+01:00", comments="Source field: client_connection.exam_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.752+02:00", comments="Source field: client_connection.exam_id")
public static final SqlColumn examId = clientConnectionRecord.examId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.485+01:00", comments="Source field: client_connection.status")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.752+02:00", comments="Source field: client_connection.status")
public static final SqlColumn status = clientConnectionRecord.status;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.485+01:00", comments="Source field: client_connection.connection_token")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.752+02:00", comments="Source field: client_connection.connection_token")
public static final SqlColumn connectionToken = clientConnectionRecord.connectionToken;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.485+01:00", comments="Source field: client_connection.exam_user_session_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.752+02: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-01-31T15:12:15.485+01:00", comments="Source field: client_connection.client_address")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.752+02:00", comments="Source field: client_connection.client_address")
public static final SqlColumn clientAddress = clientConnectionRecord.clientAddress;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.486+01:00", comments="Source field: client_connection.virtual_client_address")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.752+02: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-01-31T15:12:15.486+01:00", comments="Source field: client_connection.vdi")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.752+02:00", comments="Source field: client_connection.vdi")
public static final SqlColumn vdi = clientConnectionRecord.vdi;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.486+01:00", comments="Source field: client_connection.vdi_pair_token")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.752+02: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-01-31T15:12:15.486+01:00", comments="Source field: client_connection.creation_time")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.752+02:00", comments="Source field: client_connection.creation_time")
public static final SqlColumn creationTime = clientConnectionRecord.creationTime;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.486+01:00", comments="Source field: client_connection.update_time")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.753+02:00", comments="Source field: client_connection.update_time")
public static final SqlColumn updateTime = clientConnectionRecord.updateTime;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.486+01:00", comments="Source field: client_connection.remote_proctoring_room_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.753+02: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-01-31T15:12:15.486+01:00", comments="Source field: client_connection.remote_proctoring_room_update")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.753+02: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-01-31T15:12:15.486+01:00", comments="Source field: client_connection.client_machine_name")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.753+02: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-01-31T15:12:15.486+01:00", comments="Source field: client_connection.client_os_name")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.753+02: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-01-31T15:12:15.486+01:00", comments="Source field: client_connection.client_version")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.753+02:00", comments="Source field: client_connection.client_version")
public static final SqlColumn clientVersion = clientConnectionRecord.clientVersion;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.486+01:00", comments="Source field: client_connection.security_check_granted")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.753+02: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-01-31T15:12:15.487+01:00", comments="Source field: client_connection.ask")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.753+02:00", comments="Source field: client_connection.ask")
public static final SqlColumn ask = clientConnectionRecord.ask;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.487+01:00", comments="Source field: client_connection.client_version_granted")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.753+02: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-01-31T15:12:15.485+01:00", comments="Source Table: client_connection")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.751+02: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 866b6b67..5b1f795c 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 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
@Mapper
public interface ClientConnectionRecordMapper {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.487+01:00", comments="Source Table: client_connection")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.753+02: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-01-31T15:12:15.487+01:00", comments="Source Table: client_connection")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.753+02: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-01-31T15:12:15.487+01:00", comments="Source Table: client_connection")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.754+02: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-01-31T15:12:15.487+01:00", comments="Source Table: client_connection")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.754+02:00", comments="Source Table: client_connection")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
@ConstructorArgs({
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
@@ -71,7 +71,7 @@ public interface ClientConnectionRecordMapper {
})
ClientConnectionRecord selectOne(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.487+01:00", comments="Source Table: client_connection")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.754+02:00", comments="Source Table: client_connection")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
@ConstructorArgs({
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
@@ -97,22 +97,22 @@ public interface ClientConnectionRecordMapper {
})
List selectMany(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.487+01:00", comments="Source Table: client_connection")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.754+02: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-01-31T15:12:15.487+01:00", comments="Source Table: client_connection")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.754+02: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-01-31T15:12:15.487+01:00", comments="Source Table: client_connection")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.754+02:00", comments="Source Table: client_connection")
default DeleteDSL> deleteByExample() {
return DeleteDSL.deleteFromWithMapper(this::delete, clientConnectionRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.487+01:00", comments="Source Table: client_connection")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.754+02:00", comments="Source Table: client_connection")
default int deleteByPrimaryKey(Long id_) {
return DeleteDSL.deleteFromWithMapper(this::delete, clientConnectionRecord)
.where(id, isEqualTo(id_))
@@ -120,7 +120,7 @@ public interface ClientConnectionRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.487+01:00", comments="Source Table: client_connection")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.754+02:00", comments="Source Table: client_connection")
default int insert(ClientConnectionRecord record) {
return insert(SqlBuilder.insert(record)
.into(clientConnectionRecord)
@@ -147,7 +147,7 @@ public interface ClientConnectionRecordMapper {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.488+01:00", comments="Source Table: client_connection")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.754+02:00", comments="Source Table: client_connection")
default int insertSelective(ClientConnectionRecord record) {
return insert(SqlBuilder.insert(record)
.into(clientConnectionRecord)
@@ -174,19 +174,19 @@ public interface ClientConnectionRecordMapper {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.488+01:00", comments="Source Table: client_connection")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.754+02: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, remoteProctoringRoomId, remoteProctoringRoomUpdate, clientMachineName, clientOsName, clientVersion, securityCheckGranted, ask, clientVersionGranted)
.from(clientConnectionRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.488+01:00", comments="Source Table: client_connection")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.754+02: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, remoteProctoringRoomId, remoteProctoringRoomUpdate, clientMachineName, clientOsName, clientVersion, securityCheckGranted, ask, clientVersionGranted)
.from(clientConnectionRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.488+01:00", comments="Source Table: client_connection")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.754+02: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, remoteProctoringRoomId, remoteProctoringRoomUpdate, clientMachineName, clientOsName, clientVersion, securityCheckGranted, ask, clientVersionGranted)
.from(clientConnectionRecord)
@@ -195,7 +195,7 @@ public interface ClientConnectionRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.488+01:00", comments="Source Table: client_connection")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.754+02:00", comments="Source Table: client_connection")
default UpdateDSL> updateByExample(ClientConnectionRecord record) {
return UpdateDSL.updateWithMapper(this::update, clientConnectionRecord)
.set(institutionId).equalTo(record::getInstitutionId)
@@ -219,7 +219,7 @@ public interface ClientConnectionRecordMapper {
.set(clientVersionGranted).equalTo(record::getClientVersionGranted);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.488+01:00", comments="Source Table: client_connection")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.754+02:00", comments="Source Table: client_connection")
default UpdateDSL> updateByExampleSelective(ClientConnectionRecord record) {
return UpdateDSL.updateWithMapper(this::update, clientConnectionRecord)
.set(institutionId).equalToWhenPresent(record::getInstitutionId)
@@ -243,7 +243,7 @@ public interface ClientConnectionRecordMapper {
.set(clientVersionGranted).equalToWhenPresent(record::getClientVersionGranted);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.488+01:00", comments="Source Table: client_connection")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.754+02:00", comments="Source Table: client_connection")
default int updateByPrimaryKey(ClientConnectionRecord record) {
return UpdateDSL.updateWithMapper(this::update, clientConnectionRecord)
.set(institutionId).equalTo(record::getInstitutionId)
@@ -270,7 +270,7 @@ public interface ClientConnectionRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.488+01:00", comments="Source Table: client_connection")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.755+02: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 3fd3f5dc..a667dc67 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.SqlColumn;
import org.mybatis.dynamic.sql.SqlTable;
public final class ClientEventRecordDynamicSqlSupport {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.495+01:00", comments="Source Table: client_event")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.761+02:00", comments="Source Table: client_event")
public static final ClientEventRecord clientEventRecord = new ClientEventRecord();
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.495+01:00", comments="Source field: client_event.id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.761+02:00", comments="Source field: client_event.id")
public static final SqlColumn id = clientEventRecord.id;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.495+01:00", comments="Source field: client_event.client_connection_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.761+02: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-01-31T15:12:15.496+01:00", comments="Source field: client_event.type")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.761+02:00", comments="Source field: client_event.type")
public static final SqlColumn type = clientEventRecord.type;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.496+01:00", comments="Source field: client_event.client_time")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.761+02:00", comments="Source field: client_event.client_time")
public static final SqlColumn clientTime = clientEventRecord.clientTime;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.496+01:00", comments="Source field: client_event.server_time")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.761+02:00", comments="Source field: client_event.server_time")
public static final SqlColumn serverTime = clientEventRecord.serverTime;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.496+01:00", comments="Source field: client_event.numeric_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.762+02:00", comments="Source field: client_event.numeric_value")
public static final SqlColumn numericValue = clientEventRecord.numericValue;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.496+01:00", comments="Source field: client_event.text")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.762+02:00", comments="Source field: client_event.text")
public static final SqlColumn text = clientEventRecord.text;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.495+01:00", comments="Source Table: client_event")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.761+02: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 4dbb9a00..c5c8e27e 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 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
@Mapper
public interface ClientEventRecordMapper {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.496+01:00", comments="Source Table: client_event")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.762+02: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-01-31T15:12:15.496+01:00", comments="Source Table: client_event")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.762+02: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-01-31T15:12:15.496+01:00", comments="Source Table: client_event")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.762+02: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-01-31T15:12:15.496+01:00", comments="Source Table: client_event")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.762+02: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-01-31T15:12:15.496+01:00", comments="Source Table: client_event")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.762+02: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-01-31T15:12:15.496+01:00", comments="Source Table: client_event")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.762+02: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-01-31T15:12:15.496+01:00", comments="Source Table: client_event")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.762+02: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-01-31T15:12:15.496+01:00", comments="Source Table: client_event")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.762+02:00", comments="Source Table: client_event")
default DeleteDSL> deleteByExample() {
return DeleteDSL.deleteFromWithMapper(this::delete, clientEventRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.496+01:00", comments="Source Table: client_event")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.762+02: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 @@ public interface ClientEventRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.496+01:00", comments="Source Table: client_event")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.762+02:00", comments="Source Table: client_event")
default int insert(ClientEventRecord record) {
return insert(SqlBuilder.insert(record)
.into(clientEventRecord)
@@ -108,7 +108,7 @@ public interface ClientEventRecordMapper {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.496+01:00", comments="Source Table: client_event")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.762+02:00", comments="Source Table: client_event")
default int insertSelective(ClientEventRecord record) {
return insert(SqlBuilder.insert(record)
.into(clientEventRecord)
@@ -123,19 +123,19 @@ public interface ClientEventRecordMapper {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.496+01:00", comments="Source Table: client_event")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.762+02: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-01-31T15:12:15.497+01:00", comments="Source Table: client_event")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.762+02: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-01-31T15:12:15.497+01:00", comments="Source Table: client_event")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.762+02: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 @@ public interface ClientEventRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.497+01:00", comments="Source Table: client_event")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.762+02: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 @@ public interface ClientEventRecordMapper {
.set(text).equalTo(record::getText);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.497+01:00", comments="Source Table: client_event")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.762+02: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 @@ public interface ClientEventRecordMapper {
.set(text).equalToWhenPresent(record::getText);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.497+01:00", comments="Source Table: client_event")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.763+02: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 @@ public interface ClientEventRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.497+01:00", comments="Source Table: client_event")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.763+02: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 41bf6c18..1178920a 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.SqlColumn;
import org.mybatis.dynamic.sql.SqlTable;
public final class ClientGroupRecordDynamicSqlSupport {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.539+01:00", comments="Source Table: client_group")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.807+02:00", comments="Source Table: client_group")
public static final ClientGroupRecord clientGroupRecord = new ClientGroupRecord();
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.539+01:00", comments="Source field: client_group.id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.807+02:00", comments="Source field: client_group.id")
public static final SqlColumn id = clientGroupRecord.id;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.539+01:00", comments="Source field: client_group.exam_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.807+02:00", comments="Source field: client_group.exam_id")
public static final SqlColumn examId = clientGroupRecord.examId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.539+01:00", comments="Source field: client_group.name")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.807+02:00", comments="Source field: client_group.name")
public static final SqlColumn name = clientGroupRecord.name;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.539+01:00", comments="Source field: client_group.type")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.807+02:00", comments="Source field: client_group.type")
public static final SqlColumn type = clientGroupRecord.type;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.539+01:00", comments="Source field: client_group.color")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.807+02:00", comments="Source field: client_group.color")
public static final SqlColumn color = clientGroupRecord.color;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.539+01:00", comments="Source field: client_group.icon")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.807+02:00", comments="Source field: client_group.icon")
public static final SqlColumn icon = clientGroupRecord.icon;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.539+01:00", comments="Source field: client_group.data")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.807+02:00", comments="Source field: client_group.data")
public static final SqlColumn data = clientGroupRecord.data;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.539+01:00", comments="Source Table: client_group")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.807+02: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 74029ae1..b813fe16 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 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
@Mapper
public interface ClientGroupRecordMapper {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.539+01:00", comments="Source Table: client_group")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.808+02: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-01-31T15:12:15.539+01:00", comments="Source Table: client_group")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.808+02: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-01-31T15:12:15.539+01:00", comments="Source Table: client_group")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.808+02: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-01-31T15:12:15.539+01:00", comments="Source Table: client_group")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.808+02: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-01-31T15:12:15.539+01:00", comments="Source Table: client_group")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.808+02: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-01-31T15:12:15.540+01:00", comments="Source Table: client_group")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.808+02: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-01-31T15:12:15.540+01:00", comments="Source Table: client_group")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.808+02: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-01-31T15:12:15.540+01:00", comments="Source Table: client_group")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.808+02:00", comments="Source Table: client_group")
default DeleteDSL> deleteByExample() {
return DeleteDSL.deleteFromWithMapper(this::delete, clientGroupRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.540+01:00", comments="Source Table: client_group")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.808+02: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 @@ public interface ClientGroupRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.540+01:00", comments="Source Table: client_group")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.808+02:00", comments="Source Table: client_group")
default int insert(ClientGroupRecord record) {
return insert(SqlBuilder.insert(record)
.into(clientGroupRecord)
@@ -108,7 +108,7 @@ public interface ClientGroupRecordMapper {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.540+01:00", comments="Source Table: client_group")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.808+02:00", comments="Source Table: client_group")
default int insertSelective(ClientGroupRecord record) {
return insert(SqlBuilder.insert(record)
.into(clientGroupRecord)
@@ -122,19 +122,19 @@ public interface ClientGroupRecordMapper {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.540+01:00", comments="Source Table: client_group")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.808+02: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-01-31T15:12:15.540+01:00", comments="Source Table: client_group")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.808+02: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-01-31T15:12:15.540+01:00", comments="Source Table: client_group")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.808+02: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 @@ public interface ClientGroupRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.540+01:00", comments="Source Table: client_group")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.808+02: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 @@ public interface ClientGroupRecordMapper {
.set(data).equalTo(record::getData);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.540+01:00", comments="Source Table: client_group")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.808+02: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 @@ public interface ClientGroupRecordMapper {
.set(data).equalToWhenPresent(record::getData);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.540+01:00", comments="Source Table: client_group")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.808+02: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 @@ public interface ClientGroupRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.540+01:00", comments="Source Table: client_group")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.808+02: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 40792c71..ffcb3d63 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.SqlColumn;
import org.mybatis.dynamic.sql.SqlTable;
public final class ClientIndicatorRecordDynamicSqlSupport {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.535+01:00", comments="Source Table: client_indicator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.804+02:00", comments="Source Table: client_indicator")
public static final ClientIndicatorRecord clientIndicatorRecord = new ClientIndicatorRecord();
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.535+01:00", comments="Source field: client_indicator.id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.804+02:00", comments="Source field: client_indicator.id")
public static final SqlColumn id = clientIndicatorRecord.id;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.535+01:00", comments="Source field: client_indicator.client_connection_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.804+02: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-01-31T15:12:15.535+01:00", comments="Source field: client_indicator.type")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.804+02:00", comments="Source field: client_indicator.type")
public static final SqlColumn type = clientIndicatorRecord.type;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.535+01:00", comments="Source field: client_indicator.value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.804+02:00", comments="Source field: client_indicator.value")
public static final SqlColumn value = clientIndicatorRecord.value;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.535+01:00", comments="Source Table: client_indicator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.804+02: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 32cf723d..3e5a47ec 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 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
@Mapper
public interface ClientIndicatorRecordMapper {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.535+01:00", comments="Source Table: client_indicator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.804+02: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-01-31T15:12:15.535+01:00", comments="Source Table: client_indicator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.804+02: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-01-31T15:12:15.535+01:00", comments="Source Table: client_indicator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.804+02: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-01-31T15:12:15.535+01:00", comments="Source Table: client_indicator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.804+02: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-01-31T15:12:15.535+01:00", comments="Source Table: client_indicator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.804+02: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-01-31T15:12:15.535+01:00", comments="Source Table: client_indicator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.804+02: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-01-31T15:12:15.535+01:00", comments="Source Table: client_indicator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.804+02: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-01-31T15:12:15.535+01:00", comments="Source Table: client_indicator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.804+02:00", comments="Source Table: client_indicator")
default DeleteDSL> deleteByExample() {
return DeleteDSL.deleteFromWithMapper(this::delete, clientIndicatorRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.535+01:00", comments="Source Table: client_indicator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.804+02: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 @@ public interface ClientIndicatorRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.536+01:00", comments="Source Table: client_indicator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.805+02:00", comments="Source Table: client_indicator")
default int insert(ClientIndicatorRecord record) {
return insert(SqlBuilder.insert(record)
.into(clientIndicatorRecord)
@@ -99,7 +99,7 @@ public interface ClientIndicatorRecordMapper {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.536+01:00", comments="Source Table: client_indicator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.805+02:00", comments="Source Table: client_indicator")
default int insertSelective(ClientIndicatorRecord record) {
return insert(SqlBuilder.insert(record)
.into(clientIndicatorRecord)
@@ -110,19 +110,19 @@ public interface ClientIndicatorRecordMapper {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.536+01:00", comments="Source Table: client_indicator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.805+02: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-01-31T15:12:15.536+01:00", comments="Source Table: client_indicator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.805+02: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-01-31T15:12:15.536+01:00", comments="Source Table: client_indicator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.805+02: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 @@ public interface ClientIndicatorRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.536+01:00", comments="Source Table: client_indicator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.805+02: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 @@ public interface ClientIndicatorRecordMapper {
.set(value).equalTo(record::getValue);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.536+01:00", comments="Source Table: client_indicator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.805+02: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 @@ public interface ClientIndicatorRecordMapper {
.set(value).equalToWhenPresent(record::getValue);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.536+01:00", comments="Source Table: client_indicator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.805+02: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 @@ public interface ClientIndicatorRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.536+01:00", comments="Source Table: client_indicator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.805+02: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 1d92b003..58af6bc4 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.SqlColumn;
import org.mybatis.dynamic.sql.SqlTable;
public final class ClientInstructionRecordDynamicSqlSupport {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.498+01:00", comments="Source Table: client_instruction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.765+02:00", comments="Source Table: client_instruction")
public static final ClientInstructionRecord clientInstructionRecord = new ClientInstructionRecord();
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.498+01:00", comments="Source field: client_instruction.id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.765+02:00", comments="Source field: client_instruction.id")
public static final SqlColumn id = clientInstructionRecord.id;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.498+01:00", comments="Source field: client_instruction.exam_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.765+02:00", comments="Source field: client_instruction.exam_id")
public static final SqlColumn examId = clientInstructionRecord.examId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.499+01:00", comments="Source field: client_instruction.connection_token")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.765+02:00", comments="Source field: client_instruction.connection_token")
public static final SqlColumn connectionToken = clientInstructionRecord.connectionToken;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.499+01:00", comments="Source field: client_instruction.type")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.765+02:00", comments="Source field: client_instruction.type")
public static final SqlColumn type = clientInstructionRecord.type;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.499+01:00", comments="Source field: client_instruction.attributes")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.765+02:00", comments="Source field: client_instruction.attributes")
public static final SqlColumn attributes = clientInstructionRecord.attributes;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.499+01:00", comments="Source field: client_instruction.needs_confirmation")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.765+02:00", comments="Source field: client_instruction.needs_confirmation")
public static final SqlColumn needsConfirmation = clientInstructionRecord.needsConfirmation;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.499+01:00", comments="Source field: client_instruction.timestamp")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.765+02:00", comments="Source field: client_instruction.timestamp")
public static final SqlColumn timestamp = clientInstructionRecord.timestamp;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.498+01:00", comments="Source Table: client_instruction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.765+02: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 3cf92d00..8c1d7c81 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 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
@Mapper
public interface ClientInstructionRecordMapper {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.500+01:00", comments="Source Table: client_instruction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.765+02: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-01-31T15:12:15.500+01:00", comments="Source Table: client_instruction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.765+02: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-01-31T15:12:15.500+01:00", comments="Source Table: client_instruction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.765+02: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-01-31T15:12:15.500+01:00", comments="Source Table: client_instruction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.765+02: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-01-31T15:12:15.500+01:00", comments="Source Table: client_instruction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.765+02: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-01-31T15:12:15.500+01:00", comments="Source Table: client_instruction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.766+02: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-01-31T15:12:15.500+01:00", comments="Source Table: client_instruction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.766+02: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-01-31T15:12:15.500+01:00", comments="Source Table: client_instruction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.766+02:00", comments="Source Table: client_instruction")
default DeleteDSL> deleteByExample() {
return DeleteDSL.deleteFromWithMapper(this::delete, clientInstructionRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.500+01:00", comments="Source Table: client_instruction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.766+02: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 @@ public interface ClientInstructionRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.500+01:00", comments="Source Table: client_instruction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.766+02:00", comments="Source Table: client_instruction")
default int insert(ClientInstructionRecord record) {
return insert(SqlBuilder.insert(record)
.into(clientInstructionRecord)
@@ -108,7 +108,7 @@ public interface ClientInstructionRecordMapper {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.500+01:00", comments="Source Table: client_instruction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.766+02:00", comments="Source Table: client_instruction")
default int insertSelective(ClientInstructionRecord record) {
return insert(SqlBuilder.insert(record)
.into(clientInstructionRecord)
@@ -122,19 +122,19 @@ public interface ClientInstructionRecordMapper {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.500+01:00", comments="Source Table: client_instruction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.766+02: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-01-31T15:12:15.500+01:00", comments="Source Table: client_instruction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.766+02: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-01-31T15:12:15.500+01:00", comments="Source Table: client_instruction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.766+02: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 @@ public interface ClientInstructionRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.500+01:00", comments="Source Table: client_instruction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.766+02: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 @@ public interface ClientInstructionRecordMapper {
.set(timestamp).equalTo(record::getTimestamp);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.500+01:00", comments="Source Table: client_instruction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.766+02: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 @@ public interface ClientInstructionRecordMapper {
.set(timestamp).equalToWhenPresent(record::getTimestamp);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.500+01:00", comments="Source Table: client_instruction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.766+02: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 @@ public interface ClientInstructionRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.500+01:00", comments="Source Table: client_instruction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.766+02: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 ae4e3545..2cb3b558 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.SqlColumn;
import org.mybatis.dynamic.sql.SqlTable;
public final class ClientNotificationRecordDynamicSqlSupport {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.537+01:00", comments="Source Table: client_notification")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.806+02:00", comments="Source Table: client_notification")
public static final ClientNotificationRecord clientNotificationRecord = new ClientNotificationRecord();
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.537+01:00", comments="Source field: client_notification.id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.806+02:00", comments="Source field: client_notification.id")
public static final SqlColumn id = clientNotificationRecord.id;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.537+01:00", comments="Source field: client_notification.client_connection_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.806+02: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-01-31T15:12:15.537+01:00", comments="Source field: client_notification.event_type")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.806+02:00", comments="Source field: client_notification.event_type")
public static final SqlColumn eventType = clientNotificationRecord.eventType;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.537+01:00", comments="Source field: client_notification.notification_type")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.806+02:00", comments="Source field: client_notification.notification_type")
public static final SqlColumn notificationType = clientNotificationRecord.notificationType;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.537+01:00", comments="Source field: client_notification.value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.806+02:00", comments="Source field: client_notification.value")
public static final SqlColumn value = clientNotificationRecord.value;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.537+01:00", comments="Source field: client_notification.text")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.806+02:00", comments="Source field: client_notification.text")
public static final SqlColumn text = clientNotificationRecord.text;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.537+01:00", comments="Source Table: client_notification")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.806+02: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 a723d95e..d6b42490 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 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
@Mapper
public interface ClientNotificationRecordMapper {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.537+01:00", comments="Source Table: client_notification")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.806+02: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-01-31T15:12:15.537+01:00", comments="Source Table: client_notification")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.806+02: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-01-31T15:12:15.537+01:00", comments="Source Table: client_notification")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.806+02: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-01-31T15:12:15.537+01:00", comments="Source Table: client_notification")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.806+02: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-01-31T15:12:15.537+01:00", comments="Source Table: client_notification")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.806+02: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-01-31T15:12:15.537+01:00", comments="Source Table: client_notification")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.806+02: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-01-31T15:12:15.537+01:00", comments="Source Table: client_notification")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.806+02: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-01-31T15:12:15.537+01:00", comments="Source Table: client_notification")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.806+02:00", comments="Source Table: client_notification")
default DeleteDSL> deleteByExample() {
return DeleteDSL.deleteFromWithMapper(this::delete, clientNotificationRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.537+01:00", comments="Source Table: client_notification")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.806+02: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 @@ public interface ClientNotificationRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.537+01:00", comments="Source Table: client_notification")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.807+02:00", comments="Source Table: client_notification")
default int insert(ClientNotificationRecord record) {
return insert(SqlBuilder.insert(record)
.into(clientNotificationRecord)
@@ -105,7 +105,7 @@ public interface ClientNotificationRecordMapper {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.537+01:00", comments="Source Table: client_notification")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.807+02:00", comments="Source Table: client_notification")
default int insertSelective(ClientNotificationRecord record) {
return insert(SqlBuilder.insert(record)
.into(clientNotificationRecord)
@@ -118,19 +118,19 @@ public interface ClientNotificationRecordMapper {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.537+01:00", comments="Source Table: client_notification")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.807+02: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-01-31T15:12:15.537+01:00", comments="Source Table: client_notification")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.807+02: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-01-31T15:12:15.537+01:00", comments="Source Table: client_notification")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.807+02: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 @@ public interface ClientNotificationRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.537+01:00", comments="Source Table: client_notification")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.807+02: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 @@ public interface ClientNotificationRecordMapper {
.set(text).equalTo(record::getText);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.538+01:00", comments="Source Table: client_notification")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.807+02: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 @@ public interface ClientNotificationRecordMapper {
.set(text).equalToWhenPresent(record::getText);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.538+01:00", comments="Source Table: client_notification")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.807+02: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 @@ public interface ClientNotificationRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.538+01:00", comments="Source Table: client_notification")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.807+02: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 e5ac74ef..109aba15 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.SqlColumn;
import org.mybatis.dynamic.sql.SqlTable;
public final class ConfigurationAttributeRecordDynamicSqlSupport {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.296+01:00", comments="Source Table: configuration_attribute")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.573+02:00", comments="Source Table: configuration_attribute")
public static final ConfigurationAttributeRecord configurationAttributeRecord = new ConfigurationAttributeRecord();
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.300+01:00", comments="Source field: configuration_attribute.id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.575+02:00", comments="Source field: configuration_attribute.id")
public static final SqlColumn id = configurationAttributeRecord.id;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.301+01:00", comments="Source field: configuration_attribute.name")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.576+02:00", comments="Source field: configuration_attribute.name")
public static final SqlColumn name = configurationAttributeRecord.name;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.301+01:00", comments="Source field: configuration_attribute.type")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.576+02:00", comments="Source field: configuration_attribute.type")
public static final SqlColumn type = configurationAttributeRecord.type;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.301+01:00", comments="Source field: configuration_attribute.parent_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.576+02:00", comments="Source field: configuration_attribute.parent_id")
public static final SqlColumn parentId = configurationAttributeRecord.parentId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.302+01:00", comments="Source field: configuration_attribute.resources")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.576+02:00", comments="Source field: configuration_attribute.resources")
public static final SqlColumn resources = configurationAttributeRecord.resources;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.302+01:00", comments="Source field: configuration_attribute.validator")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.577+02:00", comments="Source field: configuration_attribute.validator")
public static final SqlColumn validator = configurationAttributeRecord.validator;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.302+01:00", comments="Source field: configuration_attribute.dependencies")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.577+02:00", comments="Source field: configuration_attribute.dependencies")
public static final SqlColumn dependencies = configurationAttributeRecord.dependencies;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.302+01:00", comments="Source field: configuration_attribute.default_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.577+02:00", comments="Source field: configuration_attribute.default_value")
public static final SqlColumn defaultValue = configurationAttributeRecord.defaultValue;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.299+01:00", comments="Source Table: configuration_attribute")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.575+02: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 407f4a65..8ede4a8b 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 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
@Mapper
public interface ConfigurationAttributeRecordMapper {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.304+01:00", comments="Source Table: configuration_attribute")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.579+02: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-01-31T15:12:15.305+01:00", comments="Source Table: configuration_attribute")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.581+02: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-01-31T15:12:15.306+01:00", comments="Source Table: configuration_attribute")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.582+02: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-01-31T15:12:15.307+01:00", comments="Source Table: configuration_attribute")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.584+02: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-01-31T15:12:15.308+01:00", comments="Source Table: configuration_attribute")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.585+02: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-01-31T15:12:15.309+01:00", comments="Source Table: configuration_attribute")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.586+02: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-01-31T15:12:15.309+01:00", comments="Source Table: configuration_attribute")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.586+02: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-01-31T15:12:15.310+01:00", comments="Source Table: configuration_attribute")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.587+02:00", comments="Source Table: configuration_attribute")
default DeleteDSL> deleteByExample() {
return DeleteDSL.deleteFromWithMapper(this::delete, configurationAttributeRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.310+01:00", comments="Source Table: configuration_attribute")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.588+02: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 @@ public interface ConfigurationAttributeRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.311+01:00", comments="Source Table: configuration_attribute")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.589+02:00", comments="Source Table: configuration_attribute")
default int insert(ConfigurationAttributeRecord record) {
return insert(SqlBuilder.insert(record)
.into(configurationAttributeRecord)
@@ -111,7 +111,7 @@ public interface ConfigurationAttributeRecordMapper {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.312+01:00", comments="Source Table: configuration_attribute")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.590+02:00", comments="Source Table: configuration_attribute")
default int insertSelective(ConfigurationAttributeRecord record) {
return insert(SqlBuilder.insert(record)
.into(configurationAttributeRecord)
@@ -126,19 +126,19 @@ public interface ConfigurationAttributeRecordMapper {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.313+01:00", comments="Source Table: configuration_attribute")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.592+02: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-01-31T15:12:15.314+01:00", comments="Source Table: configuration_attribute")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.593+02: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-01-31T15:12:15.315+01:00", comments="Source Table: configuration_attribute")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.593+02: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 @@ public interface ConfigurationAttributeRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.316+01:00", comments="Source Table: configuration_attribute")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.594+02: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 @@ public interface ConfigurationAttributeRecordMapper {
.set(defaultValue).equalTo(record::getDefaultValue);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.316+01:00", comments="Source Table: configuration_attribute")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.595+02: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 @@ public interface ConfigurationAttributeRecordMapper {
.set(defaultValue).equalToWhenPresent(record::getDefaultValue);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.317+01:00", comments="Source Table: configuration_attribute")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.596+02: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 @@ public interface ConfigurationAttributeRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.317+01:00", comments="Source Table: configuration_attribute")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.597+02: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 65b81989..a570c344 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.SqlColumn;
import org.mybatis.dynamic.sql.SqlTable;
public final class ConfigurationNodeRecordDynamicSqlSupport {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.465+01:00", comments="Source Table: configuration_node")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.734+02:00", comments="Source Table: configuration_node")
public static final ConfigurationNodeRecord configurationNodeRecord = new ConfigurationNodeRecord();
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.465+01:00", comments="Source field: configuration_node.id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.734+02:00", comments="Source field: configuration_node.id")
public static final SqlColumn id = configurationNodeRecord.id;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.465+01:00", comments="Source field: configuration_node.institution_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.734+02:00", comments="Source field: configuration_node.institution_id")
public static final SqlColumn institutionId = configurationNodeRecord.institutionId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.466+01:00", comments="Source field: configuration_node.template_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.734+02:00", comments="Source field: configuration_node.template_id")
public static final SqlColumn templateId = configurationNodeRecord.templateId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.466+01:00", comments="Source field: configuration_node.owner")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.734+02:00", comments="Source field: configuration_node.owner")
public static final SqlColumn owner = configurationNodeRecord.owner;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.466+01:00", comments="Source field: configuration_node.name")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.734+02:00", comments="Source field: configuration_node.name")
public static final SqlColumn name = configurationNodeRecord.name;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.466+01:00", comments="Source field: configuration_node.description")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.734+02:00", comments="Source field: configuration_node.description")
public static final SqlColumn description = configurationNodeRecord.description;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.466+01:00", comments="Source field: configuration_node.type")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.734+02:00", comments="Source field: configuration_node.type")
public static final SqlColumn type = configurationNodeRecord.type;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.466+01:00", comments="Source field: configuration_node.status")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.735+02:00", comments="Source field: configuration_node.status")
public static final SqlColumn status = configurationNodeRecord.status;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.466+01:00", comments="Source field: configuration_node.last_update_time")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.735+02: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-01-31T15:12:15.466+01:00", comments="Source field: configuration_node.last_update_user")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.735+02: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-01-31T15:12:15.465+01:00", comments="Source Table: configuration_node")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.734+02: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 e0d40227..678fa220 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 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
@Mapper
public interface ConfigurationNodeRecordMapper {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.466+01:00", comments="Source Table: configuration_node")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.735+02: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-01-31T15:12:15.466+01:00", comments="Source Table: configuration_node")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.735+02: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-01-31T15:12:15.466+01:00", comments="Source Table: configuration_node")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.735+02: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-01-31T15:12:15.466+01:00", comments="Source Table: configuration_node")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.735+02: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-01-31T15:12:15.467+01:00", comments="Source Table: configuration_node")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.735+02: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-01-31T15:12:15.467+01:00", comments="Source Table: configuration_node")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.735+02: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-01-31T15:12:15.467+01:00", comments="Source Table: configuration_node")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.735+02: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-01-31T15:12:15.467+01:00", comments="Source Table: configuration_node")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.735+02:00", comments="Source Table: configuration_node")
default DeleteDSL> deleteByExample() {
return DeleteDSL.deleteFromWithMapper(this::delete, configurationNodeRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.467+01:00", comments="Source Table: configuration_node")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.735+02: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 @@ public interface ConfigurationNodeRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.467+01:00", comments="Source Table: configuration_node")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.735+02:00", comments="Source Table: configuration_node")
default int insert(ConfigurationNodeRecord record) {
return insert(SqlBuilder.insert(record)
.into(configurationNodeRecord)
@@ -117,7 +117,7 @@ public interface ConfigurationNodeRecordMapper {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.467+01:00", comments="Source Table: configuration_node")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.736+02:00", comments="Source Table: configuration_node")
default int insertSelective(ConfigurationNodeRecord record) {
return insert(SqlBuilder.insert(record)
.into(configurationNodeRecord)
@@ -134,19 +134,19 @@ public interface ConfigurationNodeRecordMapper {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.467+01:00", comments="Source Table: configuration_node")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.736+02: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-01-31T15:12:15.467+01:00", comments="Source Table: configuration_node")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.736+02: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-01-31T15:12:15.467+01:00", comments="Source Table: configuration_node")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.736+02: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 @@ public interface ConfigurationNodeRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.467+01:00", comments="Source Table: configuration_node")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.736+02: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 @@ public interface ConfigurationNodeRecordMapper {
.set(lastUpdateUser).equalTo(record::getLastUpdateUser);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.467+01:00", comments="Source Table: configuration_node")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.736+02: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 @@ public interface ConfigurationNodeRecordMapper {
.set(lastUpdateUser).equalToWhenPresent(record::getLastUpdateUser);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.467+01:00", comments="Source Table: configuration_node")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.736+02: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 @@ public interface ConfigurationNodeRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.467+01:00", comments="Source Table: configuration_node")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.736+02: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 61af995e..88551199 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.SqlColumn;
import org.mybatis.dynamic.sql.SqlTable;
public final class ConfigurationRecordDynamicSqlSupport {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.459+01:00", comments="Source Table: configuration")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.727+02:00", comments="Source Table: configuration")
public static final ConfigurationRecord configurationRecord = new ConfigurationRecord();
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.459+01:00", comments="Source field: configuration.id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.727+02:00", comments="Source field: configuration.id")
public static final SqlColumn id = configurationRecord.id;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.459+01:00", comments="Source field: configuration.institution_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.728+02:00", comments="Source field: configuration.institution_id")
public static final SqlColumn institutionId = configurationRecord.institutionId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.459+01:00", comments="Source field: configuration.configuration_node_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.728+02:00", comments="Source field: configuration.configuration_node_id")
public static final SqlColumn configurationNodeId = configurationRecord.configurationNodeId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.460+01:00", comments="Source field: configuration.version")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.728+02:00", comments="Source field: configuration.version")
public static final SqlColumn version = configurationRecord.version;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.460+01:00", comments="Source field: configuration.version_date")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.728+02:00", comments="Source field: configuration.version_date")
public static final SqlColumn versionDate = configurationRecord.versionDate;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.460+01:00", comments="Source field: configuration.followup")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.728+02:00", comments="Source field: configuration.followup")
public static final SqlColumn followup = configurationRecord.followup;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.459+01:00", comments="Source Table: configuration")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.727+02: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 cb4f5727..422d1e9e 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 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
@Mapper
public interface ConfigurationRecordMapper {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.460+01:00", comments="Source Table: configuration")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.728+02:00", comments="Source Table: configuration")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
long count(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.460+01:00", comments="Source Table: configuration")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.728+02:00", comments="Source Table: configuration")
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
int delete(DeleteStatementProvider deleteStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.460+01:00", comments="Source Table: configuration")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.728+02: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-01-31T15:12:15.460+01:00", comments="Source Table: configuration")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.728+02: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-01-31T15:12:15.460+01:00", comments="Source Table: configuration")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.728+02: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-01-31T15:12:15.460+01:00", comments="Source Table: configuration")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.729+02:00", comments="Source Table: configuration")
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
int update(UpdateStatementProvider updateStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.460+01:00", comments="Source Table: configuration")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.729+02: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-01-31T15:12:15.460+01:00", comments="Source Table: configuration")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.729+02:00", comments="Source Table: configuration")
default DeleteDSL> deleteByExample() {
return DeleteDSL.deleteFromWithMapper(this::delete, configurationRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.460+01:00", comments="Source Table: configuration")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.729+02:00", comments="Source Table: configuration")
default int deleteByPrimaryKey(Long id_) {
return DeleteDSL.deleteFromWithMapper(this::delete, configurationRecord)
.where(id, isEqualTo(id_))
@@ -94,7 +94,7 @@ public interface ConfigurationRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.460+01:00", comments="Source Table: configuration")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.729+02:00", comments="Source Table: configuration")
default int insert(ConfigurationRecord record) {
return insert(SqlBuilder.insert(record)
.into(configurationRecord)
@@ -107,7 +107,7 @@ public interface ConfigurationRecordMapper {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.461+01:00", comments="Source Table: configuration")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.729+02:00", comments="Source Table: configuration")
default int insertSelective(ConfigurationRecord record) {
return insert(SqlBuilder.insert(record)
.into(configurationRecord)
@@ -120,19 +120,19 @@ public interface ConfigurationRecordMapper {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.461+01:00", comments="Source Table: configuration")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.729+02: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-01-31T15:12:15.461+01:00", comments="Source Table: configuration")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.729+02: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-01-31T15:12:15.461+01:00", comments="Source Table: configuration")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.729+02: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 @@ public interface ConfigurationRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.461+01:00", comments="Source Table: configuration")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.729+02: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 @@ public interface ConfigurationRecordMapper {
.set(followup).equalTo(record::getFollowup);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.461+01:00", comments="Source Table: configuration")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.729+02: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 @@ public interface ConfigurationRecordMapper {
.set(followup).equalToWhenPresent(record::getFollowup);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.461+01:00", comments="Source Table: configuration")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.730+02: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 @@ public interface ConfigurationRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.461+01:00", comments="Source Table: configuration")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.730+02: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 72de4cca..b8b362c1 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.SqlColumn;
import org.mybatis.dynamic.sql.SqlTable;
public final class ConfigurationValueRecordDynamicSqlSupport {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.449+01:00", comments="Source Table: configuration_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.715+02:00", comments="Source Table: configuration_value")
public static final ConfigurationValueRecord configurationValueRecord = new ConfigurationValueRecord();
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.449+01:00", comments="Source field: configuration_value.id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.715+02:00", comments="Source field: configuration_value.id")
public static final SqlColumn id = configurationValueRecord.id;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.449+01:00", comments="Source field: configuration_value.institution_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.715+02:00", comments="Source field: configuration_value.institution_id")
public static final SqlColumn institutionId = configurationValueRecord.institutionId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.449+01:00", comments="Source field: configuration_value.configuration_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.715+02:00", comments="Source field: configuration_value.configuration_id")
public static final SqlColumn configurationId = configurationValueRecord.configurationId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.449+01:00", comments="Source field: configuration_value.configuration_attribute_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.716+02: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-01-31T15:12:15.449+01:00", comments="Source field: configuration_value.list_index")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.716+02:00", comments="Source field: configuration_value.list_index")
public static final SqlColumn listIndex = configurationValueRecord.listIndex;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.449+01:00", comments="Source field: configuration_value.value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.716+02:00", comments="Source field: configuration_value.value")
public static final SqlColumn value = configurationValueRecord.value;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.449+01:00", comments="Source Table: configuration_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.715+02: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 3836b0ab..0386208a 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 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
@Mapper
public interface ConfigurationValueRecordMapper {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.449+01:00", comments="Source Table: configuration_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.716+02: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-01-31T15:12:15.450+01:00", comments="Source Table: configuration_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.716+02: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-01-31T15:12:15.450+01:00", comments="Source Table: configuration_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.716+02: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-01-31T15:12:15.450+01:00", comments="Source Table: configuration_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.716+02: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-01-31T15:12:15.450+01:00", comments="Source Table: configuration_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.716+02: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-01-31T15:12:15.450+01:00", comments="Source Table: configuration_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.716+02: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-01-31T15:12:15.450+01:00", comments="Source Table: configuration_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.716+02: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-01-31T15:12:15.450+01:00", comments="Source Table: configuration_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.717+02:00", comments="Source Table: configuration_value")
default DeleteDSL> deleteByExample() {
return DeleteDSL.deleteFromWithMapper(this::delete, configurationValueRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.450+01:00", comments="Source Table: configuration_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.717+02: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 @@ public interface ConfigurationValueRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.450+01:00", comments="Source Table: configuration_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.717+02:00", comments="Source Table: configuration_value")
default int insert(ConfigurationValueRecord record) {
return insert(SqlBuilder.insert(record)
.into(configurationValueRecord)
@@ -104,7 +104,7 @@ public interface ConfigurationValueRecordMapper {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.450+01:00", comments="Source Table: configuration_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.717+02:00", comments="Source Table: configuration_value")
default int insertSelective(ConfigurationValueRecord record) {
return insert(SqlBuilder.insert(record)
.into(configurationValueRecord)
@@ -118,19 +118,19 @@ public interface ConfigurationValueRecordMapper {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.450+01:00", comments="Source Table: configuration_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.717+02: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-01-31T15:12:15.450+01:00", comments="Source Table: configuration_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.717+02: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-01-31T15:12:15.450+01:00", comments="Source Table: configuration_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.717+02: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 @@ public interface ConfigurationValueRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.450+01:00", comments="Source Table: configuration_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.717+02: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 @@ public interface ConfigurationValueRecordMapper {
.set(value).equalTo(record::getValue);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.450+01:00", comments="Source Table: configuration_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.718+02: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 @@ public interface ConfigurationValueRecordMapper {
.set(value).equalToWhenPresent(record::getValue);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.450+01:00", comments="Source Table: configuration_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.718+02: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 @@ public interface ConfigurationValueRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.450+01:00", comments="Source Table: configuration_value")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.718+02: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/ExamConfigurationMapRecordDynamicSqlSupport.java b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ExamConfigurationMapRecordDynamicSqlSupport.java
index aabdca98..a48b1293 100644
--- a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ExamConfigurationMapRecordDynamicSqlSupport.java
+++ b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ExamConfigurationMapRecordDynamicSqlSupport.java
@@ -6,28 +6,28 @@ import org.mybatis.dynamic.sql.SqlColumn;
import org.mybatis.dynamic.sql.SqlTable;
public final class ExamConfigurationMapRecordDynamicSqlSupport {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.471+01:00", comments="Source Table: exam_configuration_map")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.739+02:00", comments="Source Table: exam_configuration_map")
public static final ExamConfigurationMapRecord examConfigurationMapRecord = new ExamConfigurationMapRecord();
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.471+01:00", comments="Source field: exam_configuration_map.id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.740+02:00", comments="Source field: exam_configuration_map.id")
public static final SqlColumn id = examConfigurationMapRecord.id;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.471+01:00", comments="Source field: exam_configuration_map.institution_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.740+02:00", comments="Source field: exam_configuration_map.institution_id")
public static final SqlColumn institutionId = examConfigurationMapRecord.institutionId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.471+01:00", comments="Source field: exam_configuration_map.exam_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.740+02:00", comments="Source field: exam_configuration_map.exam_id")
public static final SqlColumn examId = examConfigurationMapRecord.examId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.471+01:00", comments="Source field: exam_configuration_map.configuration_node_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.740+02:00", comments="Source field: exam_configuration_map.configuration_node_id")
public static final SqlColumn configurationNodeId = examConfigurationMapRecord.configurationNodeId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.471+01:00", comments="Source field: exam_configuration_map.encrypt_secret")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.740+02:00", comments="Source field: exam_configuration_map.encrypt_secret")
public static final SqlColumn encryptSecret = examConfigurationMapRecord.encryptSecret;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.471+01:00", comments="Source field: exam_configuration_map.client_group_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.740+02:00", comments="Source field: exam_configuration_map.client_group_id")
public static final SqlColumn clientGroupId = examConfigurationMapRecord.clientGroupId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.471+01:00", comments="Source Table: exam_configuration_map")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.740+02:00", comments="Source Table: exam_configuration_map")
public static final class ExamConfigurationMapRecord extends SqlTable {
public final SqlColumn id = column("id", JDBCType.BIGINT);
diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ExamConfigurationMapRecordMapper.java b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ExamConfigurationMapRecordMapper.java
index 2baf187c..8b8339cd 100644
--- a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ExamConfigurationMapRecordMapper.java
+++ b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ExamConfigurationMapRecordMapper.java
@@ -32,20 +32,20 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
@Mapper
public interface ExamConfigurationMapRecordMapper {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.471+01:00", comments="Source Table: exam_configuration_map")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.740+02:00", comments="Source Table: exam_configuration_map")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
long count(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.472+01:00", comments="Source Table: exam_configuration_map")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.740+02:00", comments="Source Table: exam_configuration_map")
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
int delete(DeleteStatementProvider deleteStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.472+01:00", comments="Source Table: exam_configuration_map")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.740+02:00", comments="Source Table: exam_configuration_map")
@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-01-31T15:12:15.472+01:00", comments="Source Table: exam_configuration_map")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.740+02:00", comments="Source Table: exam_configuration_map")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
@ConstructorArgs({
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
@@ -57,7 +57,7 @@ public interface ExamConfigurationMapRecordMapper {
})
ExamConfigurationMapRecord selectOne(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.472+01:00", comments="Source Table: exam_configuration_map")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.741+02:00", comments="Source Table: exam_configuration_map")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
@ConstructorArgs({
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
@@ -69,22 +69,22 @@ public interface ExamConfigurationMapRecordMapper {
})
List selectMany(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.472+01:00", comments="Source Table: exam_configuration_map")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.741+02:00", comments="Source Table: exam_configuration_map")
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
int update(UpdateStatementProvider updateStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.472+01:00", comments="Source Table: exam_configuration_map")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.741+02:00", comments="Source Table: exam_configuration_map")
default QueryExpressionDSL> countByExample() {
return SelectDSL.selectWithMapper(this::count, SqlBuilder.count())
.from(examConfigurationMapRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.472+01:00", comments="Source Table: exam_configuration_map")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.741+02:00", comments="Source Table: exam_configuration_map")
default DeleteDSL> deleteByExample() {
return DeleteDSL.deleteFromWithMapper(this::delete, examConfigurationMapRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.472+01:00", comments="Source Table: exam_configuration_map")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.741+02:00", comments="Source Table: exam_configuration_map")
default int deleteByPrimaryKey(Long id_) {
return DeleteDSL.deleteFromWithMapper(this::delete, examConfigurationMapRecord)
.where(id, isEqualTo(id_))
@@ -92,7 +92,7 @@ public interface ExamConfigurationMapRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.472+01:00", comments="Source Table: exam_configuration_map")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.741+02:00", comments="Source Table: exam_configuration_map")
default int insert(ExamConfigurationMapRecord record) {
return insert(SqlBuilder.insert(record)
.into(examConfigurationMapRecord)
@@ -105,7 +105,7 @@ public interface ExamConfigurationMapRecordMapper {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.472+01:00", comments="Source Table: exam_configuration_map")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.741+02:00", comments="Source Table: exam_configuration_map")
default int insertSelective(ExamConfigurationMapRecord record) {
return insert(SqlBuilder.insert(record)
.into(examConfigurationMapRecord)
@@ -118,19 +118,19 @@ public interface ExamConfigurationMapRecordMapper {
.render(RenderingStrategy.MYBATIS3));
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.472+01:00", comments="Source Table: exam_configuration_map")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.741+02:00", comments="Source Table: exam_configuration_map")
default QueryExpressionDSL>> selectByExample() {
return SelectDSL.selectWithMapper(this::selectMany, id, institutionId, examId, configurationNodeId, encryptSecret, clientGroupId)
.from(examConfigurationMapRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.472+01:00", comments="Source Table: exam_configuration_map")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.741+02:00", comments="Source Table: exam_configuration_map")
default QueryExpressionDSL>> selectDistinctByExample() {
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, institutionId, examId, configurationNodeId, encryptSecret, clientGroupId)
.from(examConfigurationMapRecord);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.472+01:00", comments="Source Table: exam_configuration_map")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.741+02:00", comments="Source Table: exam_configuration_map")
default ExamConfigurationMapRecord selectByPrimaryKey(Long id_) {
return SelectDSL.selectWithMapper(this::selectOne, id, institutionId, examId, configurationNodeId, encryptSecret, clientGroupId)
.from(examConfigurationMapRecord)
@@ -139,7 +139,7 @@ public interface ExamConfigurationMapRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.472+01:00", comments="Source Table: exam_configuration_map")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.741+02:00", comments="Source Table: exam_configuration_map")
default UpdateDSL> updateByExample(ExamConfigurationMapRecord record) {
return UpdateDSL.updateWithMapper(this::update, examConfigurationMapRecord)
.set(institutionId).equalTo(record::getInstitutionId)
@@ -149,7 +149,7 @@ public interface ExamConfigurationMapRecordMapper {
.set(clientGroupId).equalTo(record::getClientGroupId);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.472+01:00", comments="Source Table: exam_configuration_map")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.741+02:00", comments="Source Table: exam_configuration_map")
default UpdateDSL> updateByExampleSelective(ExamConfigurationMapRecord record) {
return UpdateDSL.updateWithMapper(this::update, examConfigurationMapRecord)
.set(institutionId).equalToWhenPresent(record::getInstitutionId)
@@ -159,7 +159,7 @@ public interface ExamConfigurationMapRecordMapper {
.set(clientGroupId).equalToWhenPresent(record::getClientGroupId);
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.472+01:00", comments="Source Table: exam_configuration_map")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.741+02:00", comments="Source Table: exam_configuration_map")
default int updateByPrimaryKey(ExamConfigurationMapRecord record) {
return UpdateDSL.updateWithMapper(this::update, examConfigurationMapRecord)
.set(institutionId).equalTo(record::getInstitutionId)
@@ -172,7 +172,7 @@ public interface ExamConfigurationMapRecordMapper {
.execute();
}
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.473+01:00", comments="Source Table: exam_configuration_map")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.741+02:00", comments="Source Table: exam_configuration_map")
default int updateByPrimaryKeySelective(ExamConfigurationMapRecord record) {
return UpdateDSL.updateWithMapper(this::update, examConfigurationMapRecord)
.set(institutionId).equalToWhenPresent(record::getInstitutionId)
diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ExamRecordDynamicSqlSupport.java b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ExamRecordDynamicSqlSupport.java
index e31c3886..6a4120c6 100644
--- a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ExamRecordDynamicSqlSupport.java
+++ b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ExamRecordDynamicSqlSupport.java
@@ -7,70 +7,70 @@ import org.mybatis.dynamic.sql.SqlColumn;
import org.mybatis.dynamic.sql.SqlTable;
public final class ExamRecordDynamicSqlSupport {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.476+01:00", comments="Source Table: exam")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.744+02:00", comments="Source Table: exam")
public static final ExamRecord examRecord = new ExamRecord();
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.476+01:00", comments="Source field: exam.id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.744+02:00", comments="Source field: exam.id")
public static final SqlColumn id = examRecord.id;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.476+01:00", comments="Source field: exam.institution_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.744+02:00", comments="Source field: exam.institution_id")
public static final SqlColumn institutionId = examRecord.institutionId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.476+01:00", comments="Source field: exam.lms_setup_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.744+02:00", comments="Source field: exam.lms_setup_id")
public static final SqlColumn lmsSetupId = examRecord.lmsSetupId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.476+01:00", comments="Source field: exam.external_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.745+02:00", comments="Source field: exam.external_id")
public static final SqlColumn externalId = examRecord.externalId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.476+01:00", comments="Source field: exam.owner")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.745+02:00", comments="Source field: exam.owner")
public static final SqlColumn owner = examRecord.owner;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.476+01:00", comments="Source field: exam.supporter")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.745+02:00", comments="Source field: exam.supporter")
public static final SqlColumn supporter = examRecord.supporter;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.476+01:00", comments="Source field: exam.type")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.745+02:00", comments="Source field: exam.type")
public static final SqlColumn type = examRecord.type;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.476+01:00", comments="Source field: exam.quit_password")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.745+02:00", comments="Source field: exam.quit_password")
public static final SqlColumn quitPassword = examRecord.quitPassword;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.477+01:00", comments="Source field: exam.browser_keys")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.745+02:00", comments="Source field: exam.browser_keys")
public static final SqlColumn browserKeys = examRecord.browserKeys;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.477+01:00", comments="Source field: exam.status")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.745+02:00", comments="Source field: exam.status")
public static final SqlColumn status = examRecord.status;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.477+01:00", comments="Source field: exam.lms_seb_restriction")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.745+02:00", comments="Source field: exam.lms_seb_restriction")
public static final SqlColumn lmsSebRestriction = examRecord.lmsSebRestriction;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.477+01:00", comments="Source field: exam.updating")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.745+02:00", comments="Source field: exam.updating")
public static final SqlColumn updating = examRecord.updating;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.477+01:00", comments="Source field: exam.lastupdate")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.746+02:00", comments="Source field: exam.lastupdate")
public static final SqlColumn lastupdate = examRecord.lastupdate;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.477+01:00", comments="Source field: exam.active")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.746+02:00", comments="Source field: exam.active")
public static final SqlColumn active = examRecord.active;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.477+01:00", comments="Source field: exam.exam_template_id")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.746+02:00", comments="Source field: exam.exam_template_id")
public static final SqlColumn examTemplateId = examRecord.examTemplateId;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.477+01:00", comments="Source field: exam.last_modified")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.746+02:00", comments="Source field: exam.last_modified")
public static final SqlColumn lastModified = examRecord.lastModified;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.477+01:00", comments="Source field: exam.quiz_name")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.746+02:00", comments="Source field: exam.quiz_name")
public static final SqlColumn quizName = examRecord.quizName;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.477+01:00", comments="Source field: exam.quiz_start_time")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.746+02:00", comments="Source field: exam.quiz_start_time")
public static final SqlColumn quizStartTime = examRecord.quizStartTime;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.478+01:00", comments="Source field: exam.quiz_end_time")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.746+02:00", comments="Source field: exam.quiz_end_time")
public static final SqlColumn quizEndTime = examRecord.quizEndTime;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.478+01:00", comments="Source field: exam.lms_available")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.746+02:00", comments="Source field: exam.lms_available")
public static final SqlColumn lmsAvailable = examRecord.lmsAvailable;
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.476+01:00", comments="Source Table: exam")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.744+02:00", comments="Source Table: exam")
public static final class ExamRecord extends SqlTable {
public final SqlColumn id = column("id", JDBCType.BIGINT);
diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ExamRecordMapper.java b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ExamRecordMapper.java
index a40e62f2..a47589c7 100644
--- a/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ExamRecordMapper.java
+++ b/src/main/java/ch/ethz/seb/sebserver/webservice/datalayer/batis/mapper/ExamRecordMapper.java
@@ -34,20 +34,20 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
@Mapper
public interface ExamRecordMapper {
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.478+01:00", comments="Source Table: exam")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.746+02:00", comments="Source Table: exam")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
long count(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.478+01:00", comments="Source Table: exam")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.746+02:00", comments="Source Table: exam")
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
int delete(DeleteStatementProvider deleteStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.478+01:00", comments="Source Table: exam")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.746+02:00", comments="Source Table: exam")
@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-01-31T15:12:15.478+01:00", comments="Source Table: exam")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.747+02:00", comments="Source Table: exam")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
@ConstructorArgs({
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
@@ -73,7 +73,7 @@ public interface ExamRecordMapper {
})
ExamRecord selectOne(SelectStatementProvider selectStatement);
- @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-01-31T15:12:15.478+01:00", comments="Source Table: exam")
+ @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2023-08-24T13:24:15.747+02:00", comments="Source Table: exam")
@SelectProvider(type=SqlProviderAdapter.class, method="select")
@ConstructorArgs({
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
@@ -99,22 +99,22 @@ public interface ExamRecordMapper {
})
List