add support for nb database adapter