数据库切换后 Eclipse Hibernate 工具不再工作
我正在将 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这更像是一种解决方法,而不是真正的解决方案,但如果编辑现有配置不起作用(而且它绝对应该起作用),那么我建议创建一个新配置。
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.