[jaring] set db class.