如何更改 OO 数据库(例如 DB4O)中的架构?

发布于 2024-09-28 14:01:49 字数 142 浏览 1 评论 0原文

刚刚开始使用 DB4O 面向对象数据库。

我对 SQL 非常熟悉,如果我升级应用程序并添加新字段,我只需进入 SQL 管理器,更改架构,并使用一些手动 SQL 初始化新字段。

OO 数据库(例如 DB4O)的流程是什么?是不是很相似呢?

Just getting started with DB4O object oriented database.

I'm very familiar with SQL, if I upgrade the app and add a new field I just go into a SQL manager, change the schema, and initialize a new field with some manual SQL.

What is the process with an OO database such as DB4O? Is it similar?

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

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

发布评论

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

评论(1

庆幸我还是我 2024-10-05 14:01:49

简短的回答:只要您只是添加字段,db4o 就会为您处理模式管理。

有关更多详细信息,请查看有关“重构和架构演化”。另外,您还可以查看“db4o 权威指南"

Short answer: as long as you are only adding fields, db4o will take care of schema management for you.

For more details, check the db4o reference documentation about "Refactoring and Schema Evolution". Also, you can check out the "Schema evolution" chapter in "The Definitive Guide to db4o"

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