Rails on JRuby, JDBC Adapter and DB2

Hi All,

Has anyone worked on project based on Rails on JRuby and db2 

database?

As we know db2 has no native boolean type, I thought

activerecord-jdbc-adapter can convert it automatically. But actually as
Nick
replied, he has not worked on db2, so that this issue has not been taken
care of.

Then every time when I need to assign/fetch I have to convert it

manually: from ‘Yes’, ‘True’, TrueClass, FalseClass… to smallint 1, 0
or
reverse.

I shout here just want to know if anyone encountered same problem or

even better someone has solved it out? Actually I really like to push a
batch for it.

Regards,
Andy

View this message in context:
http://old.nabble.com/Rails-on-JRuby%2C-JDBC-Adapter-and-DB2-tp26370763p26370763.html
Sent from the JRuby - User mailing list archive at Nabble.com.


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email