datamapper/do — pull request #25 by patcheng (2012-02-19 21:01:24+00:00)
Title: when using JNDI, will try to discover the real adapter.

and centralize the special handling of the adapter for Sqlserver so we don't get error when using transaction.