db config

config hibernate and ibatis