Hibernate Tools 在 Eclipse 中的哪里存储其数据库连接信息?

发布于 2024-08-20 23:06:01 字数 355 浏览 12 评论 0原文

我在 Eclipse 中使用 Hibernate Tools 并遇到问题。当我们最初尝试使用奇怪的配置正确配置 HT 时,我们创建了一个自定义数据库连接(右键单击您的 Hibernate 配置 -> 编辑配置 - 这是一个标记为数据库连接的下拉框:)

现在,我们不是不再使用它,但它在 Eclipse 的“标记”部分中显示为存在一些问题。我们只想删除它,但我在 Eclipse 中找不到执行此操作的选项,因此我一直在查看 .settings 和 .metadata 中的各种 XML 文件。

我找不到它。完全没有。它隐藏得非常好。即使在我们工作区的根目录中搜索配置中的文本也找不到它。

有人可以告诉我他们把这个东西隐藏在哪里,以便我删除它吗?

I am using Hibernate Tools in Eclipse and having a problem. When we were initially trying to setup HT to be configured properly with our weird configuration, we made a custom DB connection (Right click your Hibernate configuration -> Edit Configuration - it's a dropdown box labelled Database connection:)

Now, we're not using that anymore, but it's showing up in the "Markers" section in Eclipse as having a couple of problems. We want to just delete it, but there's no option to do that that I can find in Eclipse, so I've been looking through the various XML files in .settings and .metadata.

I can't find it. At all. It's extremely well hidden. Even a search at the root of our workspace for text in the config doesn't find it.

Can someone tell me where they've hidden this thing so I can delete it?

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

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

发布评论

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

评论(1

原谅过去的我 2024-08-27 23:06:01

你检查过eclipse的安装目录吗?

<eclipse>/configuration
<eclipse>/configuration/.settings

Did you check the eclipse installation directory?

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