[jira] [Commented] (OAK-3645) RDBDocumentStore: server time detection for DB2 fails due to timezone/dst differences

2015-11-17 Thread Julian Reschke (JIRA)
[ https://issues.apache.org/jira/browse/OAK-3645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15008519#comment-15008519 ] Julian Reschke commented on OAK-3645: - (asked for advice in http://stackoverflow.com/qu

[jira] [Commented] (OAK-3645) RDBDocumentStore: server time detection for DB2 fails due to timezone/dst differences

2015-11-17 Thread Axel Hanikel (JIRA)
[ https://issues.apache.org/jira/browse/OAK-3645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15008644#comment-15008644 ] Axel Hanikel commented on OAK-3645: --- I think that the JDBC driver is simply unable to know

[jira] [Commented] (OAK-3645) RDBDocumentStore: server time detection for DB2 fails due to timezone/dst differences

2015-11-17 Thread Robert Munteanu (JIRA)
[ https://issues.apache.org/jira/browse/OAK-3645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15008674#comment-15008674 ] Robert Munteanu commented on OAK-3645: -- Ideally the server would return the information

[jira] [Commented] (OAK-3645) RDBDocumentStore: server time detection for DB2 fails due to timezone/dst differences

2015-11-17 Thread Julian Reschke (JIRA)
[ https://issues.apache.org/jira/browse/OAK-3645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15008681#comment-15008681 ] Julian Reschke commented on OAK-3645: - ...when the DB is indeed in UTC, no? Over in ht

[jira] [Commented] (OAK-3645) RDBDocumentStore: server time detection for DB2 fails due to timezone/dst differences

2015-11-17 Thread Axel Hanikel (JIRA)
[ https://issues.apache.org/jira/browse/OAK-3645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15008694#comment-15008694 ] Axel Hanikel commented on OAK-3645: --- I'm not sure if DB/2 has something like a UNIX_TIMEST

[jira] [Commented] (OAK-3645) RDBDocumentStore: server time detection for DB2 fails due to timezone/dst differences

2015-11-17 Thread Julian Reschke (JIRA)
[ https://issues.apache.org/jira/browse/OAK-3645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15008711#comment-15008711 ] Julian Reschke commented on OAK-3645: - http://www.dbforums.com/showthread.php?1004639-DB

[jira] [Commented] (OAK-3645) RDBDocumentStore: server time detection for DB2 fails due to timezone/dst differences

2015-11-25 Thread Julian Reschke (JIRA)
[ https://issues.apache.org/jira/browse/OAK-3645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15026418#comment-15026418 ] Julian Reschke commented on OAK-3645: - IMHO the best way to address this would be to mak

[jira] [Commented] (OAK-3645) RDBDocumentStore: server time detection for DB2 fails due to timezone/dst differences

2016-01-08 Thread Axel Hanikel (JIRA)
[ https://issues.apache.org/jira/browse/OAK-3645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15089044#comment-15089044 ] Axel Hanikel commented on OAK-3645: --- AFAICT the following change fixes the issue: {noform

[jira] [Commented] (OAK-3645) RDBDocumentStore: server time detection for DB2 fails due to timezone/dst differences

2016-01-08 Thread Julian Reschke (JIRA)
[ https://issues.apache.org/jira/browse/OAK-3645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15089063#comment-15089063 ] Julian Reschke commented on OAK-3645: - If this fixes the urgent issue with DB2, I'm +1 o

[jira] [Commented] (OAK-3645) RDBDocumentStore: server time detection for DB2 fails due to timezone/dst differences

2016-01-08 Thread JIRA
[ https://issues.apache.org/jira/browse/OAK-3645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15089239#comment-15089239 ] Tomek Rękawek commented on OAK-3645: Do you mean we should prepare similar expressions f

[jira] [Commented] (OAK-3645) RDBDocumentStore: server time detection for DB2 fails due to timezone/dst differences

2016-01-08 Thread Julian Reschke (JIRA)
[ https://issues.apache.org/jira/browse/OAK-3645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15089324#comment-15089324 ] Julian Reschke commented on OAK-3645: - I'm somewhat uncomfortable with this relying on d

[jira] [Commented] (OAK-3645) RDBDocumentStore: server time detection for DB2 fails due to timezone/dst differences

2016-01-11 Thread JIRA
[ https://issues.apache.org/jira/browse/OAK-3645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15091768#comment-15091768 ] Tomek Rękawek commented on OAK-3645: I'll try to prepare expressions that returns curren

[jira] [Commented] (OAK-3645) RDBDocumentStore: server time detection for DB2 fails due to timezone/dst differences

2016-01-11 Thread Julian Reschke (JIRA)
[ https://issues.apache.org/jira/browse/OAK-3645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15091777#comment-15091777 ] Julian Reschke commented on OAK-3645: - +1 You may want to have a look at https://code.

[jira] [Commented] (OAK-3645) RDBDocumentStore: server time detection for DB2 fails due to timezone/dst differences

2016-01-11 Thread JIRA
[ https://issues.apache.org/jira/browse/OAK-3645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15091911#comment-15091911 ] Tomek Rękawek commented on OAK-3645: I attached the draft patch. I was able to test the

[jira] [Commented] (OAK-3645) RDBDocumentStore: server time detection for DB2 fails due to timezone/dst differences

2016-01-11 Thread Julian Reschke (JIRA)
[ https://issues.apache.org/jira/browse/OAK-3645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15092165#comment-15092165 ] Julian Reschke commented on OAK-3645: - The patch works for me, except that Oracle and De

[jira] [Commented] (OAK-3645) RDBDocumentStore: server time detection for DB2 fails due to timezone/dst differences

2016-01-12 Thread Julian Reschke (JIRA)
[ https://issues.apache.org/jira/browse/OAK-3645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15093603#comment-15093603 ] Julian Reschke commented on OAK-3645: - Actually, Derby doesn't work (in that it returns

[jira] [Commented] (OAK-3645) RDBDocumentStore: server time detection for DB2 fails due to timezone/dst differences

2016-01-12 Thread JIRA
[ https://issues.apache.org/jira/browse/OAK-3645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15093628#comment-15093628 ] Tomek Rękawek commented on OAK-3645: Yes, apparently Derby doesn't know anything about t

[jira] [Commented] (OAK-3645) RDBDocumentStore: server time detection for DB2 fails due to timezone/dst differences

2016-01-12 Thread Julian Reschke (JIRA)
[ https://issues.apache.org/jira/browse/OAK-3645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15093638#comment-15093638 ] Julian Reschke commented on OAK-3645: - For Derby, {code} @Override publ

[jira] [Commented] (OAK-3645) RDBDocumentStore: server time detection for DB2 fails due to timezone/dst differences

2016-01-12 Thread JIRA
[ https://issues.apache.org/jira/browse/OAK-3645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15093643#comment-15093643 ] Tomek Rękawek commented on OAK-3645: Also, I wonder if we shouldn't change the time diff

[jira] [Commented] (OAK-3645) RDBDocumentStore: server time detection for DB2 fails due to timezone/dst differences

2016-01-12 Thread Julian Reschke (JIRA)
[ https://issues.apache.org/jira/browse/OAK-3645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15093667#comment-15093667 ] Julian Reschke commented on OAK-3645: - Good point, but we probably should round System.c

[jira] [Commented] (OAK-3645) RDBDocumentStore: server time detection for DB2 fails due to timezone/dst differences

2016-01-12 Thread JIRA
[ https://issues.apache.org/jira/browse/OAK-3645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15093759#comment-15093759 ] Tomek Rękawek commented on OAK-3645: I think I'm missing something - do we need to do so

[jira] [Commented] (OAK-3645) RDBDocumentStore: server time detection for DB2 fails due to timezone/dst differences

2016-01-12 Thread Julian Reschke (JIRA)
[ https://issues.apache.org/jira/browse/OAK-3645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15093773#comment-15093773 ] Julian Reschke commented on OAK-3645: - You may be right that no rounding is needed; it d