错误:
org.hibernate.exception.GenericJDBCException: This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)
问题原因:数据库 函数 权限问题导致
解决方法:到数据库中 找到这个函数 修改权限