aboutsummaryrefslogtreecommitdiff
path: root/odb/qt/date-time/oracle/default-mapping.hxx
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-11-15 11:44:16 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-11-15 11:44:16 +0200
commitd59ac6134105611fb8d0d2349f0acf720c88e7d6 (patch)
treef51764f42cc98ce59cecc1e4be81ac2537258cad /odb/qt/date-time/oracle/default-mapping.hxx
parenta926388f73aed90d1aa9743d32ed4c049af6bf84 (diff)
Correct second precision handling
Diffstat (limited to 'odb/qt/date-time/oracle/default-mapping.hxx')
-rw-r--r--odb/qt/date-time/oracle/default-mapping.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/qt/date-time/oracle/default-mapping.hxx b/odb/qt/date-time/oracle/default-mapping.hxx
index 4411934..7ec927d 100644
--- a/odb/qt/date-time/oracle/default-mapping.hxx
+++ b/odb/qt/date-time/oracle/default-mapping.hxx
@@ -19,11 +19,11 @@
// represent clock times with a maximum precision of milliseconds. QTime
// provides a null representation so allow NULL values by default.
//
-#pragma db value(QTime) type("INTERVAL DAY(0) TO SECOND") null
+#pragma db value(QTime) type("INTERVAL DAY(0) TO SECOND(3)") null
// Map QDateTime to ORACLE TIMESTAMP by default. QDateTime provides a null
// representation so allow NULL values by default.
//
-#pragma db value(QDateTime) type("TIMESTAMP(6)") null
+#pragma db value(QDateTime) type("TIMESTAMP(3)") null
#endif // ODB_QT_DATE_TIME_ORACLE_DEFAULT_MAPPING_HXX