Error with jdbc_mssql.rb

  2 posts   Feedicon  
Replies: 1 - Last Post: May 30, 2009 22:42
by: Nick Sieger
showing 1 - 2 of 2
 
Posted: May 30, 2009 21:43 by PeteHelgren
I get the following error when using the mssql adapter in the latest master of AR-jdbc

uninitialized constant ActiveRecord::ConnectionAdapters::MssqlJdbcConnection


A quick compare of what I originally had shows this difference at line 35:

def self.jdbc_connection_class
::ActiveRecord::ConnectionAdapters::MssqlJdbcConnection
end

Is there something else I need to set up? I had issues with the earlier adapter code and was hoping this latest version would take care of it but ran into this instead.

Thanks
 
Posted: May 30, 2009 22:42 by Nick Sieger
Hi Pete,

Did you compile the java code? The MssqlJdbcConnection class is defined in Java source, so you need to run "jruby -S rake java_compile" at least once.

/Nick
Replies: 1 - Last Post: May 30, 2009 22:42
by: Nick Sieger
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120127.ac94057)
 
 
Close
loading
Please Confirm
Close