1.add support for hibernate
2.connect hibernate with mariadb