Any tools for testing ad hoc JPQL queries outside of an application?
I'm working on a project which uses JPA for persistence, and I'm trying to find the cleanest and most efficient means for testing JPQL queries. I am more accustomed to the Hibernate world... in which you can test HQL on an ad hoc basis outside the application, using Hibernate Tools and its Hibernate Console. I believe that tool also supports JPQL if you use Hibernate as the JPA provider, but unfortunately in this case I'm on GlassFish and using TopLink.
Are there any rough equivalents to the Hibernate Console l out there (or in development) in th开发者_Python百科e general JPA world? If not, what is your typical practice for tinkering around with JPQL queries during development?
How 'bout IntelliJ, the best IDE around?
http://blogs.jetbrains.com/idea/tag/jpa/
精彩评论