I've modified citier's sql_adapters.rb file so that it works with JRuby.
It is divided into one section for Ruby and one section for JRuby.
The JRuby section contains three modifications:
Classes inherit from JdbcAdapter instead of AbstractAdapter
(JdbcAdapter inherits from AbstractAdapter anyway)
the table_existsB? and views_existsB? method were modified to work
with postgres' JDBC support (in fact, I replaced citier's code with code
from the jdbc postgres adapter and adapted it in the views_existsB?
method)
viewsL and tablesL were slightly modified to use exec_query instead of
query.
I've modified citier's sql_adapters.rb file so that it works with JRuby.
It is divided into one section for Ruby and one section for JRuby.
The JRuby section contains three modifications: