@@ -56,6 +56,7 @@ public class DocumentDbTableSchemaGeneratorHelper {
56
56
.put (new SimpleEntry <>(JdbcType .NULL , BsonType .DOUBLE ), JdbcType .DOUBLE )
57
57
.put (new SimpleEntry <>(JdbcType .NULL , BsonType .INT32 ), JdbcType .INTEGER )
58
58
.put (new SimpleEntry <>(JdbcType .NULL , BsonType .INT64 ), JdbcType .BIGINT )
59
+ .put (new SimpleEntry <>(JdbcType .NULL , BsonType .TIMESTAMP ), JdbcType .TIMESTAMP )
59
60
.put (new SimpleEntry <>(JdbcType .NULL , BsonType .MAX_KEY ), JdbcType .VARCHAR )
60
61
.put (new SimpleEntry <>(JdbcType .NULL , BsonType .MIN_KEY ), JdbcType .VARCHAR )
61
62
.put (new SimpleEntry <>(JdbcType .NULL , BsonType .NULL ), JdbcType .NULL )
@@ -70,6 +71,7 @@ public class DocumentDbTableSchemaGeneratorHelper {
70
71
.put (new SimpleEntry <>(JdbcType .ARRAY , BsonType .DOUBLE ), JdbcType .VARCHAR )
71
72
.put (new SimpleEntry <>(JdbcType .ARRAY , BsonType .INT32 ), JdbcType .VARCHAR )
72
73
.put (new SimpleEntry <>(JdbcType .ARRAY , BsonType .INT64 ), JdbcType .VARCHAR )
74
+ .put (new SimpleEntry <>(JdbcType .ARRAY , BsonType .TIMESTAMP ), JdbcType .VARCHAR )
73
75
.put (new SimpleEntry <>(JdbcType .ARRAY , BsonType .MAX_KEY ), JdbcType .VARCHAR )
74
76
.put (new SimpleEntry <>(JdbcType .ARRAY , BsonType .MIN_KEY ), JdbcType .VARCHAR )
75
77
.put (new SimpleEntry <>(JdbcType .ARRAY , BsonType .NULL ), JdbcType .ARRAY )
@@ -84,6 +86,7 @@ public class DocumentDbTableSchemaGeneratorHelper {
84
86
.put (new SimpleEntry <>(JdbcType .JAVA_OBJECT , BsonType .DOUBLE ), JdbcType .VARCHAR )
85
87
.put (new SimpleEntry <>(JdbcType .JAVA_OBJECT , BsonType .INT32 ), JdbcType .VARCHAR )
86
88
.put (new SimpleEntry <>(JdbcType .JAVA_OBJECT , BsonType .INT64 ), JdbcType .VARCHAR )
89
+ .put (new SimpleEntry <>(JdbcType .JAVA_OBJECT , BsonType .TIMESTAMP ), JdbcType .VARCHAR )
87
90
.put (new SimpleEntry <>(JdbcType .JAVA_OBJECT , BsonType .MAX_KEY ), JdbcType .VARCHAR )
88
91
.put (new SimpleEntry <>(JdbcType .JAVA_OBJECT , BsonType .MIN_KEY ), JdbcType .VARCHAR )
89
92
.put (new SimpleEntry <>(JdbcType .JAVA_OBJECT , BsonType .NULL ), JdbcType .JAVA_OBJECT )
@@ -98,6 +101,7 @@ public class DocumentDbTableSchemaGeneratorHelper {
98
101
.put (new SimpleEntry <>(JdbcType .BOOLEAN , BsonType .DOUBLE ), JdbcType .DOUBLE )
99
102
.put (new SimpleEntry <>(JdbcType .BOOLEAN , BsonType .INT32 ), JdbcType .INTEGER )
100
103
.put (new SimpleEntry <>(JdbcType .BOOLEAN , BsonType .INT64 ), JdbcType .BIGINT )
104
+ .put (new SimpleEntry <>(JdbcType .BOOLEAN , BsonType .TIMESTAMP ), JdbcType .VARCHAR )
101
105
.put (new SimpleEntry <>(JdbcType .BOOLEAN , BsonType .MAX_KEY ), JdbcType .VARCHAR )
102
106
.put (new SimpleEntry <>(JdbcType .BOOLEAN , BsonType .MIN_KEY ), JdbcType .VARCHAR )
103
107
.put (new SimpleEntry <>(JdbcType .BOOLEAN , BsonType .NULL ), JdbcType .BOOLEAN )
@@ -112,6 +116,7 @@ public class DocumentDbTableSchemaGeneratorHelper {
112
116
.put (new SimpleEntry <>(JdbcType .BIGINT , BsonType .DOUBLE ), JdbcType .DECIMAL )
113
117
.put (new SimpleEntry <>(JdbcType .BIGINT , BsonType .INT32 ), JdbcType .BIGINT )
114
118
.put (new SimpleEntry <>(JdbcType .BIGINT , BsonType .INT64 ), JdbcType .BIGINT )
119
+ .put (new SimpleEntry <>(JdbcType .BIGINT , BsonType .TIMESTAMP ), JdbcType .VARCHAR )
115
120
.put (new SimpleEntry <>(JdbcType .BIGINT , BsonType .MAX_KEY ), JdbcType .VARCHAR )
116
121
.put (new SimpleEntry <>(JdbcType .BIGINT , BsonType .MIN_KEY ), JdbcType .VARCHAR )
117
122
.put (new SimpleEntry <>(JdbcType .BIGINT , BsonType .NULL ), JdbcType .BIGINT )
@@ -126,6 +131,7 @@ public class DocumentDbTableSchemaGeneratorHelper {
126
131
.put (new SimpleEntry <>(JdbcType .DECIMAL , BsonType .DOUBLE ), JdbcType .DECIMAL )
127
132
.put (new SimpleEntry <>(JdbcType .DECIMAL , BsonType .INT32 ), JdbcType .DECIMAL )
128
133
.put (new SimpleEntry <>(JdbcType .DECIMAL , BsonType .INT64 ), JdbcType .DECIMAL )
134
+ .put (new SimpleEntry <>(JdbcType .DECIMAL , BsonType .TIMESTAMP ), JdbcType .VARCHAR )
129
135
.put (new SimpleEntry <>(JdbcType .DECIMAL , BsonType .MAX_KEY ), JdbcType .VARCHAR )
130
136
.put (new SimpleEntry <>(JdbcType .DECIMAL , BsonType .MIN_KEY ), JdbcType .VARCHAR )
131
137
.put (new SimpleEntry <>(JdbcType .DECIMAL , BsonType .NULL ), JdbcType .DECIMAL )
@@ -140,6 +146,7 @@ public class DocumentDbTableSchemaGeneratorHelper {
140
146
.put (new SimpleEntry <>(JdbcType .DOUBLE , BsonType .DOUBLE ), JdbcType .DOUBLE )
141
147
.put (new SimpleEntry <>(JdbcType .DOUBLE , BsonType .INT32 ), JdbcType .DOUBLE )
142
148
.put (new SimpleEntry <>(JdbcType .DOUBLE , BsonType .INT64 ), JdbcType .DECIMAL )
149
+ .put (new SimpleEntry <>(JdbcType .DOUBLE , BsonType .TIMESTAMP ), JdbcType .VARCHAR )
143
150
.put (new SimpleEntry <>(JdbcType .DOUBLE , BsonType .MAX_KEY ), JdbcType .VARCHAR )
144
151
.put (new SimpleEntry <>(JdbcType .DOUBLE , BsonType .MIN_KEY ), JdbcType .VARCHAR )
145
152
.put (new SimpleEntry <>(JdbcType .DOUBLE , BsonType .NULL ), JdbcType .DOUBLE )
@@ -154,6 +161,7 @@ public class DocumentDbTableSchemaGeneratorHelper {
154
161
.put (new SimpleEntry <>(JdbcType .INTEGER , BsonType .DOUBLE ), JdbcType .DOUBLE )
155
162
.put (new SimpleEntry <>(JdbcType .INTEGER , BsonType .INT32 ), JdbcType .INTEGER )
156
163
.put (new SimpleEntry <>(JdbcType .INTEGER , BsonType .INT64 ), JdbcType .BIGINT )
164
+ .put (new SimpleEntry <>(JdbcType .INTEGER , BsonType .TIMESTAMP ), JdbcType .VARCHAR )
157
165
.put (new SimpleEntry <>(JdbcType .INTEGER , BsonType .MAX_KEY ), JdbcType .VARCHAR )
158
166
.put (new SimpleEntry <>(JdbcType .INTEGER , BsonType .MIN_KEY ), JdbcType .VARCHAR )
159
167
.put (new SimpleEntry <>(JdbcType .INTEGER , BsonType .NULL ), JdbcType .INTEGER )
@@ -168,6 +176,7 @@ public class DocumentDbTableSchemaGeneratorHelper {
168
176
.put (new SimpleEntry <>(JdbcType .TIMESTAMP , BsonType .DOUBLE ), JdbcType .VARCHAR )
169
177
.put (new SimpleEntry <>(JdbcType .TIMESTAMP , BsonType .INT32 ), JdbcType .VARCHAR )
170
178
.put (new SimpleEntry <>(JdbcType .TIMESTAMP , BsonType .INT64 ), JdbcType .VARCHAR )
179
+ .put (new SimpleEntry <>(JdbcType .TIMESTAMP , BsonType .TIMESTAMP ), JdbcType .TIMESTAMP )
171
180
.put (new SimpleEntry <>(JdbcType .TIMESTAMP , BsonType .MAX_KEY ), JdbcType .VARCHAR )
172
181
.put (new SimpleEntry <>(JdbcType .TIMESTAMP , BsonType .MIN_KEY ), JdbcType .VARCHAR )
173
182
.put (new SimpleEntry <>(JdbcType .TIMESTAMP , BsonType .NULL ), JdbcType .TIMESTAMP )
@@ -182,6 +191,7 @@ public class DocumentDbTableSchemaGeneratorHelper {
182
191
.put (new SimpleEntry <>(JdbcType .VARBINARY , BsonType .DOUBLE ), JdbcType .VARBINARY )
183
192
.put (new SimpleEntry <>(JdbcType .VARBINARY , BsonType .INT32 ), JdbcType .VARBINARY )
184
193
.put (new SimpleEntry <>(JdbcType .VARBINARY , BsonType .INT64 ), JdbcType .VARBINARY )
194
+ .put (new SimpleEntry <>(JdbcType .VARBINARY , BsonType .TIMESTAMP ), JdbcType .VARBINARY )
185
195
.put (new SimpleEntry <>(JdbcType .VARBINARY , BsonType .MAX_KEY ), JdbcType .VARBINARY )
186
196
.put (new SimpleEntry <>(JdbcType .VARBINARY , BsonType .MIN_KEY ), JdbcType .VARBINARY )
187
197
.put (new SimpleEntry <>(JdbcType .VARBINARY , BsonType .NULL ), JdbcType .VARBINARY )
@@ -196,6 +206,7 @@ public class DocumentDbTableSchemaGeneratorHelper {
196
206
.put (new SimpleEntry <>(JdbcType .VARCHAR , BsonType .DOUBLE ), JdbcType .VARCHAR )
197
207
.put (new SimpleEntry <>(JdbcType .VARCHAR , BsonType .INT32 ), JdbcType .VARCHAR )
198
208
.put (new SimpleEntry <>(JdbcType .VARCHAR , BsonType .INT64 ), JdbcType .VARCHAR )
209
+ .put (new SimpleEntry <>(JdbcType .VARCHAR , BsonType .TIMESTAMP ), JdbcType .VARCHAR )
199
210
.put (new SimpleEntry <>(JdbcType .VARCHAR , BsonType .MAX_KEY ), JdbcType .VARCHAR )
200
211
.put (new SimpleEntry <>(JdbcType .VARCHAR , BsonType .MIN_KEY ), JdbcType .VARCHAR )
201
212
.put (new SimpleEntry <>(JdbcType .VARCHAR , BsonType .NULL ), JdbcType .VARCHAR )
0 commit comments