Change RDBRelationStore from using DBUtils to only using pure sql