On May 4, 3:52 am, Christian MICHON <[email protected]> wrote: > Please find the patch attached to this email, tested on 2 big MSSQL > databases. It should not affect typical MSSQL behavior through jdbc, > but will improve your experience when using jtds connector. > > Whenever a key contains a Java::NetSourceforgeJtdsJdbc::ClobImpl > object, instead of being displayed as > #<Java::NetSourceforgeJtdsJdbc::ClobImpl:0x104a4b6> for example, it is > now decoded as string on the fly. > > I used to add a to_s method to the class > Java::NetSourceforgeJtdsJdbc::ClobImpl before. With this patch, it's > transparent and this to_s method is not needed anymore. > > The patch is also available as pastiehttp://pastie.org/1863675
The patch looks fine, but the jdbc subadapter should probably be refactored. The problem is both the sqlserver JDBC subadapter and the jtds JDBC subadapter are the same, when they should really be separate. That's going to require having a JDBC shared subadapter that both of them require. I'll work on that and integrate this patch into the jtds subadapter. 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.
