View Issue Details

IDProjectCategoryView StatusLast Update
0005892SymmetricDSBugpublic2023-06-21 17:00
Reportercquamme Assigned Tocquamme  
Prioritynormal 
Status closedResolutionfixed 
Target Version3.14.8Fixed in Version3.14.8 
Summary0005892: DbCompare fails to write comparison SQL for timestamp with timezone values
DescriptionWhen you try to use DbCompare with a table that contains a timestamp with a timezone, and you select either the "Write differences to SQL editor" or "Write differences to file" option, DbCompare will throw the below error in the log:

DbCompareDiffWriter - Timestamp format must be yyyy-mm-dd hh:mm:ss[.fffffffff] java.lang.IllegalArgumentException: Timestamp format must be yyyy-mm-dd hh:mm:ss[.fffffffff]

This is because Timestamp.valueOf() does not parse timestamp values with a timezone.
Steps To Reproduce1. Set up table for replication with timestamp with timezone value
2. Use DbCompare to try and compare this table with another table
3. "Write differences to SQL editor" or "Write differences to file"
4. Error shows in log
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Related Changesets

SymmetricDS: 3.14 f9cfe04b

2023-06-21 15:49:59

cquamme

Details Diff
0005892: DbCompare fails to write comparison SQL for timestamp with
timezone values
Affected Issues
0005892
mod - symmetric-db/src/main/java/org/jumpmind/db/sql/Row.java Diff File

SymmetricDS: 3.14 e64a3f8e

2023-06-21 16:35:47

cquamme

Details Diff
0005892: DbCompare fails to write comparison SQL for timestamp with
timezone values
Affected Issues
0005892
mod - symmetric-db/src/main/java/org/jumpmind/db/sql/Row.java Diff File

Issue History

Date Modified Username Field Change
2023-06-21 15:13 cquamme New Issue
2023-06-21 15:13 cquamme Status new => assigned
2023-06-21 15:13 cquamme Assigned To => cquamme
2023-06-21 15:51 cquamme Status assigned => resolved
2023-06-21 15:51 cquamme Resolution open => fixed
2023-06-21 16:00 cquamme Changeset attached => SymmetricDS 3.14 f9cfe04b
2023-06-21 17:00 cquamme Changeset attached => SymmetricDS 3.14 e64a3f8e
2023-07-19 12:58 admin Status resolved => closed