简体   繁体   English

需要可用的JPA实用程序

[英]In need for usable JPA-Utilities

since my new project has to use toplink-essentials which only supports jpa 1, I'm looking for some good jpa-utilities. 由于我的新项目必须使用仅支持jpa 1的toplink-essentials,因此我在寻找一些不错的jpa-utilities。 So far I only worked with jpa 2 (both EclipseLink and Hibernate), which didn't need any utilities to write dynamic queries in 99% of the time. 到目前为止,我只使用过jpa 2(EclipseLink和Hibernate),它们不需要任何实用程序即可在99%的时间内编写动态查询。

Now I'm stuck with jpa 1 and wondered if there were some utilities/libraries which could support me in writing my queries a little bit more dynamically. 现在我停留在jpa 1上,想知道是否有一些实用程序/库可以支持我更加动态地编写查询。

Jonny 强尼

TopLink Essentials does support Expression queries which are similar to JPA 2 Criteria. TopLink Essentials确实支持类似于JPA 2条件的表达式查询。 You may be able to use them. 您也许可以使用它们。

You should also be able to upgrade your server to EclipseLink. 您还应该能够将服务器升级到EclipseLink。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM