selecting from MSQLServer ntext columns are causing a BinaryStream conversion 
error
-----------------------------------------------------------------------------------

                 Key: JRUBY-3544
                 URL: http://jira.codehaus.org/browse/JRUBY-3544
             Project: JRuby
          Issue Type: Bug
          Components: ActiveRecord-JDBC
    Affects Versions: ActiveRecord-JDBC-0.9.1
         Environment: MSQLServer type 4 jdbc driver downloaded from MS
            Reporter: Chris Nelson


The error is: ActiveRecord::ActiveRecordError: The conversion from ntext to 
BinaryStream is unsupported.  This appears to be caused by code in 
RubyJdbcConnection.java differing from JdbcAdapterInternalService in 0.9.  It 
appears to incorrectly use getBinaryStream for Type.LONG_VARCHAR where it 
should use getCharacterStream.  I'll perform tests to see if I can confirm this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to