You can turn the error off/down under Preferences -> Java Persistence -> JPA -> Errors/Warnings under 'Queries and Generators' by changing the error 'Generator is not defined in the persistence unit' to a warning.
This looks like a bug in the Hibernate Tools extension of Dali in Eclipse.You could report this to Hibernate Tools or maybe this is fixed in a more recent version.
This looks like a bug in the Hibernate Tools extension of Dali in Eclipse.You could report this to Hibernate Tools or maybe this is fixed in a more recent version.
本文介绍如何在Eclipse中使用Hibernate Tools插件时,将'Generator is not defined in the persistence unit'错误级别从错误调整为警告的方法。此问题疑似为Dali版本Hibernate Tools的bug,可通过更改Eclipse的偏好设置来解决。
728

被折叠的 条评论
为什么被折叠?



