make sure we're not using the (visible) deprecated unmarshalResult
JdbcConnectionFactory.newConnection now throws SQLException
this is Java API backwards incompatible but most extension do not need to deal with (implement) this "internal" interface thus changing (closes #347)
reviewed (and updated) JDBC type handling for adapters :
- FLOAT/DOUBLE types should be handled (just like REAL) as Double-s
- NUMERIC/DECIMAL values should be handled as BigDecimal-s
- BIT/BOOLEAN should be converted to (Ruby) true/false by default
- NULL should always be returned as nil
- close binary/character stream
- free SQLXML once converted
- JDBC 4.0 N(CHAR) types should be handled
SQL Array and Object JDBC type mapping - for fun and future generations
share a "_row_num" string
custom select columns with numeric/integer values now should work
got this wrong for SQLite3 - it failed due use of #empty_insert_statement
some more Java code cleanup
handle :xml and :array AR column type to JDBC type conversion
incorrect #exec_update (not subling binds) for MS-SQL adapter's #do_exec
[mysql] correct empty insert statement value (was not working on 4.0)
(unfinished) hopefully backwards compatible SQL Date/Time handling
do not wrap runtime exceptions when handling + a few "debug" helpers
we now allow to trigger sql/trace debugging using arjdbc.debug property
+ we're also using the runtime out to print messages instead of system.out
[sqlite3] correct empty insert statement value (on AR-4.0)
minor (simple) test cleanup - less depending on setup creating 'some' data
improve rake db:create tests for mysql and postgres
fix insert tests on oracle
do not unwrap cause beyond SQLException
only log type (with exception message) if not generic SQLException
[mssql] current_user and (change-able) default_schema support
(de-ja-vu closes #311)
Java API: accept (and use) catalog as arg[1] in #columns
which does leads to a refactoring of extractTableName to accept a catalog
+ also cleanup `throws IOException` for methods that actually never do !