disable primary_key re-def until (recent) master gets stable enough
some more Java API cleanup towards 1.3
helper method to retrieve ActiveRecord::ConnectionNotEstablished
fix and test postgres extensions related connection helpers
test select_rows
refactor Java API to support returning AR::Result (more details in javadoc)
+ fix a few non-closed result sets & some (debug) exception logging
generic exec_query support + exec_raw_query as a compatibility layer
[postgres] exec_query returning AR::Result compatibility
+ exec_query tests for all
fails hard on 4.0 since on relations it expects a instance from `result = @klass.connection.select_all`
but on AR <= 3.2 it should behave the same (only return Result on AR-4.0)
[postgres] need ActiveRecordError constant in #type_to_sql
more Java API house-keeping
false ain't the ultimate true
explain shall use exec_query - now that it works
sqlite3 should use raw_query since in table_structure - expects Hash rows
use execute_raw_query (for now) to stay backwards compatible on execute
avoid using deprecated Java API
new base #do_exec implementation for all JDBC adapters to return Result
from #exec_query while still allowing to return "raw" result on #execute
- renamed #exec_raw_query to #exec_query_raw including Java API
- adapted MS-SQL's #do_exec overrides to only return Result on exec_query
- oracle & sqlite3 #select methods should not change the return-ed value
- postgres & sqlite3 should do a raw execute on #exec_insert due drivers
an INSERT SQL should not be executed using execute_query (no ResultSet)
[postgres] a :macaddr type should not be parsed as in IPAddr object
[postgres] we do not use string_to_array