Hello,
we have a strange problem with MonetDB JDBC driver, when we use standard
statement to insert numeric data value all works. but with prepared
statement we got the problem with value 0 (null) for decimal and numeric
data type, so when we try to insert data with null in PreparedStatement we
got SQL exception. I attached file with sample source code which generates
such error.
Thanks
Niels Nes
SQL/JDBC
MonetDB5 "stable"
Public
|
Date: 2009-08-11 12:18 Fixed by Niels. |
|
Date: 2009-08-11 11:59 The test (using mclient, not JDBC) seems to work fine: |
|
Date: 2009-08-04 17:35 added test to BugTracker-2009/Tests/prepare_decimal_bug.SF-2831994.sql |
|
Date: 2009-08-04 13:20 this is most probably a server-side exec problem |
| Filename | Description | Download |
|---|---|---|
| modetb-decimal-0-problem.zip | example of source code with problem | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2009-08-11 12:18 | stmane |
| resolution_id | None | 2009-08-11 12:18 | stmane |
| assigned_to | mr-meltdown | 2009-08-11 12:18 | stmane |
| allow_comments | 1 | 2009-08-11 12:18 | stmane |
| close_date | - | 2009-08-11 12:18 | stmane |
| File Added | 337924: modetb-decimal-0-problem.zip | 2009-08-04 13:16 | glanbin |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use