mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-11 20:24:21 +01:00
## Purpose * Implement `setObject(int, Object)` to support binding of common Java types to SQL parameters in JDBC4. * This implementation currently covers only standard JDBC4 supported types. LOB and stream bindings are not yet implemented. ## Changes * Implemented JDBC4PreparedStatement#setObject(int, Object) handling for * `String`, `Integer`, `Long`, `Boolean`, `Double`, `Float`, `Byte`, `Short` * `byte[]`, `Date`, `Time`, `Timestamp`, `BigDecimal` * Added validation for unsupported types (`Blob`, `Clob`, `InputStream`, `Reader`) * Added corresponding unit test `testSetObjectCoversAllSupportedTypes` to verify correctness ## Note * Additional work (e.g., LOB/Stream handling) will be addressed separately once driver support is available. ## Related Issue #615 Reviewed-by: Kim Seon Woo (@seonWKim) Closes #3864