"Gustavo de Sá Carvalho Honorato" <gustavohonorato wrote in post
Do you have any idea?
Probably not a JRuby issue (though from the stack trace, it looks like
it might be a JdbcAdapter issue). AFAIK that gem is pure Ruby, so it
should work. Try it with MRI?
I can't use MRI.
You should at least be able to test the plugin with it, even if you
can't use it for this project.
The project I'm working uses some Java Libs and JRuby
make more easy this integration.
MRI + RJB is feasible too. Depends on how you need the Java stuff.
I went back and tried to create the
views with raw SQL, but the views are not dumped to schema.rb. I'm
stuck without any ideas and my deadline is comming :(.
You could set the schema_dumper to use SQL, but don't do that.
I thought to reimplement this plugin, but I have no experience doing
this. Do you have any suggestions?
It probably wouldn't be hard to patch the plugin to work with JDBC, if
that's where your problem is. It's generating pretty simple SQL. Just
look at how it generates the SQL for the adapters that it does support.
I had to do something similar when I patched Foreigner to support MS SQL
Server. It was really pretty easy.