could you tell me which driver should i use - this of ruby on rails or this for java (JDBC)?
Also, has anyone new the settings that I should enter in the rails config file:
how this will be used for db2 C-express?
Thanks in advance.
This topic has been locked.
2 replies Latest Post - 2012-08-26T07:41:39Z by gotqn
Pinned topic jruby on rails and IBM - driver
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-08-26T07:41:39Z at 2012-08-26T07:41:39Z by gotqn
Re: jruby on rails and IBM - driver2012-08-25T19:15:40Z in response to gotqnIn DB2 Version 9.7 is said:
The IBM_DB Ruby driver and Rails adapter are not supported on JRuby The IBM_DB adapter is not supported on JRuby.
The IBM_DB adapter is not supported on JRuby because (as stated in the JRuby Wiki, "Getting Started"): "Many Gems will work fine in JRuby, however some Gems build native C libraries as part of their install process. These Gems will not work in JRuby unless the Gem has also provided a Java equivalent to the native library." For more information, see http://kenai.com/projects/jruby/pages/GettingStarted.
The IBM_DB adapter relies on the IBM_DB Ruby driver (C extension) and the IBM® Data Server Driver for ODBC and CLI to access databases on IBM data servers. Alternatively, you can either use the regular C implementation of Ruby, or use JDBC_adapter to access databases.
Has anyone knew if this is fixed in the new versions?Also, is it possible to use JDBC_adapter with JRuby?