objectbox / objectbox/objectbox-java
UUIDs as object identifiers (maybe string based?)
还没有人认领这个 Issue。
- 主要语言
- Java
- 星标
- 4.6k
- 派生
- 311
- PR 合并指标
- 30 天内没有已合并 PR
描述
I know that there are some tickets around, but honestly, its quite annoying to not have this key feature of a database implemented. I saw, that there were some efforts in 2017 (thats 4 years ago btw.) but nothing changed since. So instead of only having Long as an id primary type, i also would like to have String and UUID. I know, that there are maybe some performance impacts with that, but that should not matter, since its the responsibility of the developer to choose the correct id types.
Use case scenario for UUIDs:
Distributed systems, where you identify your entity by its globally unique UUID, and you dont want to deal with internal system ids and the global UUID.
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先审查现有的主键和对象标识符支持,然后查找 issue 中引用的早期 ticket 和 2017 年的相关工作。范围需要确定 String 和 UUID 标识符应如何工作,以及适用哪些兼容性或性能约束。完成内容应包括双方认可的行为,以及对这两种标识符类型的覆盖。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- database
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100