This is an automated email from the ASF dual-hosted git repository.

doebele pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/empire-db.git


The following commit(s) were added to refs/heads/master by this push:
     new 1ea8395  EMPIREDB-362 fix for JUnit-Test
1ea8395 is described below

commit 1ea8395d43128180e1cec9b2b12067223e9a784f
Author: Rainer Döbele <[email protected]>
AuthorDate: Fri Feb 18 17:19:38 2022 +0100

    EMPIREDB-362 fix for JUnit-Test
---
 empire-db/src/test/java/org/apache/empire/db/CompanyDB.java | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/empire-db/src/test/java/org/apache/empire/db/CompanyDB.java 
b/empire-db/src/test/java/org/apache/empire/db/CompanyDB.java
index b5d4ce7..eba0ffd 100644
--- a/empire-db/src/test/java/org/apache/empire/db/CompanyDB.java
+++ b/empire-db/src/test/java/org/apache/empire/db/CompanyDB.java
@@ -53,6 +53,7 @@ public class CompanyDB extends DBDatabase
             UPDATE_TIMESTAMP= addColumn("UPDATE_TIMESTAMP", 
DataType.TIMESTAMP,     0, true);
             // Primary Key
             setPrimaryKey(ID);
+            setTimestampColumn(UPDATE_TIMESTAMP);
             // Set other Indexes
             addIndex("DEARTMENT_NAME_IDX", true, new DBColumn[] { NAME });
         }
@@ -96,6 +97,7 @@ public class CompanyDB extends DBDatabase
 
             // Primary Key
             setPrimaryKey(ID);
+            setTimestampColumn(UPDATE_TIMESTAMP);
             // Set other Indexes
             addIndex("EMPLOYEE_NAME_IDX", true, new DBColumn[] { FIRSTNAME, 
LASTNAME, DATE_OF_BIRTH });
 
@@ -126,6 +128,7 @@ public class CompanyDB extends DBDatabase
             UPDATE_TIMESTAMP= addColumn("UPDATE_TIMESTAMP", 
DataType.TIMESTAMP,     0, true);
             // Primary Key
             setPrimaryKey(ID);
+            setTimestampColumn(UPDATE_TIMESTAMP);
         }
     }
 

Reply via email to