hibernate链接SQL Server数据库的jar版本与hibernate jar版本无关,与mysql-connector-java-x.x.x-bin.jar和sqljdbc4.jar版本有关,版本会导致各种问题,弄了蛮久的