Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有谁碰巧知道使用 Datanucleus JDO 与关系数据库(例如 MySQL)是否存在性能差异,其中相同的应用程序代码和堆栈用于再次使用 Datanucleus 的相同关系数据库(例如 MySQL),但使用 JPA 代替?
应该完全没有区别...当您选择了相同的持久性属性时。API 层就是这样,从标准 API 转换为内部 API(在绝大多数操作中通过)。所有持久性属性都可用于 JDO 或 JPA。类似地,您可以对任一 API 使用完全相同的持久性类(JDO 或 JPA 元数据),因此在时间上没有差异。