Software to query’s JPA

Asked

Viewed 148 times

2

Is there a client (like: pgadmin3, Oracle SQL Developer, Mysql Workbench) for JPQL queries?

I have a jpa project, and I need to debug the generated jpql’s.

I saw that Squirrel does it, but for HQL.

  • It was unclear... do you want to run JPQL through software? Or do you want to see JPQL transformed into SQL?

  • I want to run JPQL through a software.

1 answer

1

Is there a way you can run your JPQL without needing a software for it: http://uaihebert.com/como-testar-sua-jpql-hql-sem-realizar-deploy/

You add a class that will create the JPA context in memory and ask for JPQL to be tested at a prompt (you can see the code in the post above).

If your company has conditions, ide IDEA Intellij has this function natively.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.