Could not execute JDBC batch update和hibernate.dialect' must be set when no Connection available错误
Could not execute JDBC batch update原因:我这里是因为id在数据库中设置成了主键,在程序中就不能设置它的值了。hibernate.dialect' must be set when no Connection available错误原因:下载的mysql的jdbc驱动有问题,换了一个官网的就好了。也可能是驱动与hibernate