JPA 2 Remote Criteria?

北城余情 提交于 2019-12-11 09:15:38

问题


Is there any way that criteria for queries can be built on a remote (Swing/SWT etc) client? We've been using the DetachedCriteria functionality in Hibernate for quite some time, but would like to use standard JPA 2.

If not, could the code from hibernate be re-factored to create the remote API? Or is this something that might come along in JPA 2.1?


回答1:


Not to my knowledge. Consider leaving a comment on Linda DeMichiel's Blog (the spec Lead) or sending your input to the expert group:

JPA.next - Thinking about the Future

...

Feedback from the community is very important to us, so please share your thoughts on where you think we should go next. What features do you think are most important to add in JPA 2.1?

Feel free to comment here, and please also share your input by posting to the JPA 2.0 feedback list, jsr-317-feedback@sun.com. Input sent to it forwards to all of the members of the JPA 2.0 expert group for consideration.



来源:https://stackoverflow.com/questions/3636457/jpa-2-remote-criteria

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!