On 6/1/07, Matthew K. Williams <[EMAIL PROTECTED]> wrote: > I've got hsqldb working for the most part; the only thing I've noticed > so far is that it's not creating the association tables automagickally > for habtm associations. I know that's the behaviour for Derby; however, > mysql seems to create the association tables correctly. Am I correct in > assuming that the expected behaviour is for all the drivers to create > these tables? > > Migrations are working now. Also, ActiveScaffold is working aside from > habtm's autocreated tables -- that's one of the most stringent tests I > know ;-) > > There were two methods in jdbc_hsqldb.rb which needed to be changed. > > The first, insert, wasn't working because > java.jdbc.Statement#executeUpdate(String sql, int autoGeneratedUpdate) > which is invoked by _execute isn't supported by hsqldb and always throws > SQLException. > > Second, migrations weren't completing because it couldn't dump the > schema because tables wasn't returning a collection and the regex > pattern was incorrect.
Good stuff, committed; thanks for helping getting this working again. I've wanted to get it working again ever since it broke the first time. /Nick _______________________________________________ Jruby-extras-devel mailing list [email protected] http://rubyforge.org/mailman/listinfo/jruby-extras-devel
