added jdbc functionality