Any Chance of a JPQL Console

Are there any plans or intentions to replicate the functionality of the HQL Console but for the JPQL dialect?

--Tim

0
6 comments
Avatar
Permanently deleted user

HQL Console uses Hibernate as persistence provider no matter what
provider is set for persistence unit. It actually forces JPQL for all PUs with
provider other than hibernate.

This might be useful:
http://blogs.jetbrains.com/idea/2009/03/hql-console-with-pure-jpa-facets/


On 01.04.2010 1:16, Tim McNerney wrote:

Are there any plans or intentions to replicate the functionality of the HQL Console but for the JPQL dialect?

>

--Tim

>

---
Original message URL: http://www.jetbrains.net/devnet/message/5259934#5259934


0
Avatar
Permanently deleted user

Awesome. Except we're using Eclipselink and not Hibernate. And as much as I'd like to believe the behavior is going to be identical across JPA implementations, I don't.

--Tim

0
Avatar
Permanently deleted user

I understand your point. The generic JPA QL console is not available.
For the time being you can try the `hibernate` one.
Just add hibernate jars to the module class path.
I'd like to know the results of this experiment on live project.

Gregory Shrago


On 01.04.2010 18:46, Tim McNerney wrote:

Awesome. Except we're using Eclipselink and not Hibernate. And as much as I'd like to believe the behavior is going to be
identical across JPA implementations, I don't.

>

--Tim

>

--- Original message URL: http://www.jetbrains.net/devnet/message/5259981#5259981


0
Avatar
Permanently deleted user

I did just that, but the console does not work for me because my object model is one that Hibernate does not understand. This is not unexpected as my attempts to transparently switch providers from EL to Hibernate failed for just this reason.

We are using JPA Query Tool, which seems to work fine. It would just be nice to have something integrated into Idea.

Thanks for the info.

--Tim

0
Avatar
Permanently deleted user

http://youtrack.jetbrains.net/issue/IDEA-55361

On 06.04.2010 21:28, Tim McNerney wrote:

I did just that, but the console does not work for me because my object model is one that Hibernate does not understand. This is not unexpected as my attempts to transparently switch providers from EL to Hibernate failed for just this reason.

>

We are using https://jpaquerytool.dev.java.net/, which seems to work fine. It would just be nice to have something integrated into Idea.

>

Thanks for the info.

>

--Tim

>

---
Original message URL: http://www.jetbrains.net/devnet/message/5260234#5260234


0
Avatar
Permanently deleted user

Awesome. Thanks. I'm assuming this will be for 9.0.3?

--Tim

0

Please sign in to leave a comment.