java Berkeley DB 的 GUI

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2135615/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-29 19:37:46  来源:igfitidea点击:

GUI for Berkeley DB

javauser-interfaceberkeley-db

提问by jutky

I'm using Berkeley DB Java edition, via the DPL interface.
I want to ask if someone knows about any GUI library that could make it easy to browse the data saved in the database.

我通过 DPL 接口使用 Berkeley DB Java 版。
我想问一下是否有人知道任何可以轻松浏览保存在数据库中的数据的 GUI 库。

I know that BDB documentation says that the metadata about the stored entities is not saved in any place and therefore only the person who have written the data can know what are the types of the classes that would be returned from there. That's why I'm searching for a library (not a complete program) that would be included to the main project and so it would know the types of my classes and would be able to show the data correctly.

我知道 BDB 文档说关于存储实体的元数据没有保存在任何地方,因此只有编写数据的人才能知道从那里返回的类的类型是什么。这就是为什么我要搜索一个包含在主项目中的库(不是一个完整的程序),这样它就会知道我的类的类型并能够正确显示数据。

p.s. I've found this bdb-browserbut it seems like a dead project.

ps 我找到了这个bdb 浏览器,但它似乎是一个死项目。

Update:
So far I've found a GUI that shows the statistics gathered for the BDB via the JMX. Here is how to use it: http://www.oracle.com/technology/documentation/berkeley-db/je/jconsole/JConsole-plugin.html
Still searching for databrowser...

更新:
到目前为止,我已经找到了一个 GUI,它显示了通过 JMX 为 BDB 收集的统计信息。下面是如何使用它:http://www.oracle.com/technology/documentation/berkeley-db/je/jconsole/JConsole-plugin.html
仍在搜索数据浏览器...

回答by Gilbert Le Blanc

You could try DbVisualizer.

你可以试试DbVisualizer

DbVisualizer doesn't directly support the Berkeley DB, but does provide JDBC drivers for many databases,

DbVisualizer 不直接支持 Berkeley DB,但确实为许多数据库提供了 JDBC 驱动程序,

回答by isurusndr

You can use Execute Query to connect Berkeley DB. Its is a free software. You can get the distribution from http://executequery.org

您可以使用 Execute Query 连接 Berkeley DB。它是一个免费软件。您可以从http://executequery.org获取分发

回答by mxmissile

Here is an extremely simple browser. Needs to be compiled though.

这是一个非常简单的浏览器。不过需要编译。

https://code.google.com/p/bdbvu/

https://code.google.com/p/bdbvu/

回答by Paul Morie

I did a quick search and didn't find anything.

我进行了快速搜索并没有找到任何东西。

I don't think you're going to have a lot of luck looking for a data browser, because the format of the value in each database entry is going to be variable. For example, it might be primitive data, data written out by the default Java serialization, or a custom format for an instance of a class which implements Externalizable.

我不认为你会很幸运地寻找数据浏览器,因为每个数据库条目中的值的格式将是可变的。例如,它可能是原始数据、由默认 Java 序列化写出的数据,或者实现Externalizable的类实例的自定义格式。