Hi Jeremy, Thanks for adding the h2 adapter. It has been working OK for me so far, but I have not pushed it beyond some model create_table and add new records. My only comment is that most of the sequel examples use a text data type and for h2 this produces a clob datatype column. Using varchar works fine. I have been experimenting with using java jndi connect strings. The Glassfish server requires jndi and I would like to use sequel in that environment.
The clue to using jndi was provided by Nick Sieger on the JRuby list. Activerecord-jdbc-adapter has the code to handle JNDI, so Sequel would need to have something similar if it was to support it. The code looks like this: http://github.com/nicksieger/activerecord-jdbc-adapter/blob/310de0f32b9c4f68c272b78d58ce02fb4c8ea50f/lib/active_record/connection_adapters/jdbc_adapter.rb#L382-393 Regards Paul Fraser > I plan to release Sequel 2.10.0 at the beginning of next week. Even > though it has only been 2 weeks since 2.9.0, there have been a lot of > changes (significantly more than 2.8.0->2.9.0, and those were over 5 > weeks apart). The highlights are: > > * Database independent migrations > * DataObjects adapter > * Firebird adapter > * H2 JDBC subadapter > * Better, standardized support for dealing with databases which fold > unquoted identifiers to uppercase by default > * Schema parsing in the JDBC adapter > > I'm open to other changes going in in the next day or two. The > release candidate status will probably happen on Friday, with the > release on Monday. > > Thanks, > Jeremy > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sequel-talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sequel-talk?hl=en -~----------~----~----~----~------~----~------~--~---
