使用 Java 将记录插入 Berkeley DB
我似乎找不到用 Java 构建 Berkeley DB 并向其中插入记录的示例代码。有样品吗?我也不是指 Berkeley DB Java 版。
I can't seem to find sample code for constructing a Berkeley DB in Java and inserting records into it. Any samples? And I do not mean the Berkeley DB Java Edition either.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
http://www.oracle.com/technology/文档/berkeley-db/db/programmer_reference/BDB_Prog_Reference.pdf
第 5 章
如果您下载 db-5.0.21.NC.zip,您将看到大量示例。
这似乎可以做你想做的事
http://www.oracle.com/technology/documentation/berkeley-db/db/programmer_reference/BDB_Prog_Reference.pdf
Chapter 5
If you download db-5.0.21.NC.zip you will see plenty of samples.
Here is one that seems to do what you want
有许多优秀的 Oracle Berkeley DB Java 版入门指南。它们包含在文档集中。您将在文档中找到示例代码。如果您是 Oracle Berkeley DB Java 版的新手,那么这是正确的起点。下载包中还有其他示例。
我是 Oracle Berkeley DB 的产品经理,我希望这能解决您的问题。如果没有,请告诉我还能如何帮助您。
There are a number of good Getting Started Guides for Oracle Berkeley DB Java Edition. They are included in the documentation set. You'll find example code in the documentation. If you're new to Oracle Berkeley DB Java Edition that's the right place to start. There are other examples in the download package as well.
I'm the product manager for Oracle Berkeley DB, I hope this addressed your question. If not please let me know how else I can help you.