moved the roletype to int and removed the cachejdbc client usage