Commit 83806af
committed
Improve constructorWithExplicitDialect test to verify dialect 1 numeric-as-double behavior
In SQL dialect 1, NUMERIC(18,2) columns are described as DOUBLE PRECISION
instead of scaled integers. The updated test inserts a value into a NUMERIC(18,2)
table column, then selects it using s dialect-1-prepared statement and verifies
that getDouble() retrieves the correct value, exercising the dialect-specific
type mapping.1 parent 3ad2069 commit 83806af
1 file changed
Lines changed: 21 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
181 | 195 | | |
182 | | - | |
183 | | - | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
184 | 199 | | |
185 | 200 | | |
186 | | - | |
187 | | - | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
188 | 205 | | |
189 | 206 | | |
190 | 207 | | |
| |||
0 commit comments