数据库切换后 Eclipse Hibernate 工具不再工作

发布于 2024-09-10 22:18:44 字数 196 浏览 8 评论 0原文

我正在将 hibernate 工具与 eclipse 一起使用,并且工作正常,直到我更改了数据库。我已经配置了新数据库,运行了测试用例,除了休眠工具之外,一切都很好。 Hibernate 控制台不会从数据库获取表,也不会抛出任何异常。我手动输入配置并单击“测试连接”,测试 ping 成功,但在尝试创建新的 rev eng 文件时,仍然没有显示任何表格,您能帮忙解决这个问题吗?

I am using hibernate tools with eclipse, and it was working fine, till I've changed my DB. I've configured the new database, run the test cases and every thing is fine, except for hibernate tools. The Hibernate console isn't fetching tables from DB nor throws it any exception. I entered the configuration manually and by clicking test connection, the test ping succeeds, but still when trying to create a new rev eng file, no tables are shown, could you please help with this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

绝不服输 2024-09-17 22:18:44

这更像是一种解决方法,而不是真正的解决方案,但如果编辑现有配置不起作用(而且它绝对应该起作用),那么我建议创建一个新配置。

This is more a workaround than a real solution but if editing the existing configuration didn't work (and it should definitely work), then I suggest creating a new one.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文