sqlserver and oracle adapters workaround