Not sure if I'm using JRuby properly, but I tried to use it today with
Sybase using their jdbc3 driver and activerecord-jdbc 0.3.1. It
failed in JdbcTypeConverter.choose_type. I sorta hack fixed it by
adding in this line inside of JdbcTypeConverter.initialize:
@types.each {|type| type['type_name'] = type['local_type_name'] if
type['local_type_name'] != nil}
For some reason the
connection.getMetaData().getTypeInfo().getMetaData().getColumnName(x)
returns 'local_type_name' instead of the expected 'type_name' that is
used throughout jdbc_adapter.rb.
Dean
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email