db stub support