Commit c0de704
Improve handling of numeric SQL types and BigDecimal conversion
Added support for NUMERIC and DECIMAL SQL types in `BasicSQLUtils`, ensuring proper conversion from various data types. In `GenericDBConversion`, introduced a helper method to safely convert objects to BigDecimal and updated relevant code to use it, improving robustness and error handling. Also added logic to set nulls for specific field patterns during DB conversion.
Co-Authored-By: Gitesh Sagvekar <giteshsagvekar07@gmail.com>1 parent 3edca4f commit c0de704
2 files changed
Lines changed: 59 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1792 | 1792 | | |
1793 | 1793 | | |
1794 | 1794 | | |
| 1795 | + | |
| 1796 | + | |
1795 | 1797 | | |
1796 | 1798 | | |
1797 | 1799 | | |
1798 | 1800 | | |
1799 | 1801 | | |
1800 | | - | |
| 1802 | + | |
| 1803 | + | |
| 1804 | + | |
| 1805 | + | |
| 1806 | + | |
| 1807 | + | |
| 1808 | + | |
1801 | 1809 | | |
1802 | 1810 | | |
1803 | 1811 | | |
| |||
Lines changed: 50 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6369 | 6369 | | |
6370 | 6370 | | |
6371 | 6371 | | |
| 6372 | + | |
| 6373 | + | |
| 6374 | + | |
| 6375 | + | |
| 6376 | + | |
| 6377 | + | |
| 6378 | + | |
| 6379 | + | |
| 6380 | + | |
| 6381 | + | |
| 6382 | + | |
| 6383 | + | |
| 6384 | + | |
| 6385 | + | |
6372 | 6386 | | |
6373 | 6387 | | |
6374 | 6388 | | |
| |||
10248 | 10262 | | |
10249 | 10263 | | |
10250 | 10264 | | |
| 10265 | + | |
| 10266 | + | |
| 10267 | + | |
| 10268 | + | |
| 10269 | + | |
| 10270 | + | |
| 10271 | + | |
| 10272 | + | |
| 10273 | + | |
| 10274 | + | |
| 10275 | + | |
| 10276 | + | |
| 10277 | + | |
| 10278 | + | |
| 10279 | + | |
| 10280 | + | |
| 10281 | + | |
| 10282 | + | |
| 10283 | + | |
| 10284 | + | |
| 10285 | + | |
| 10286 | + | |
| 10287 | + | |
| 10288 | + | |
| 10289 | + | |
| 10290 | + | |
| 10291 | + | |
| 10292 | + | |
| 10293 | + | |
| 10294 | + | |
| 10295 | + | |
| 10296 | + | |
10251 | 10297 | | |
10252 | 10298 | | |
10253 | 10299 | | |
| |||
10315 | 10361 | | |
10316 | 10362 | | |
10317 | 10363 | | |
10318 | | - | |
10319 | | - | |
10320 | | - | |
10321 | | - | |
| 10364 | + | |
| 10365 | + | |
| 10366 | + | |
| 10367 | + | |
10322 | 10368 | | |
10323 | 10369 | | |
10324 | 10370 | | |
| |||
0 commit comments