Skip to main content



      Home
Home » Eclipse Projects » EclipseLink » JPA hierarchical queries
JPA hierarchical queries [message #1090733] Tue, 20 August 2013 11:08 Go to next message
Eclipse UserFriend
I could continue to use Native Eclipselink queries to make use of support for hierarchical queries, however I was wondering whether there are any plans to support hierarchical querying in JPA.

Meanwhile, without support for hierarchical queries, what is the 'best practice' for implementing hierarchical querying in JPA?
Re: JPA hierarchical queries [message #1096571 is a reply to message #1090733] Wed, 28 August 2013 11:28 Go to previous messageGo to next message
Eclipse UserFriend
Hierarchical queries were added to JPQL in EclipseLink 2.5,

see,
http://java-persistence-performance.blogspot.com/2013/06/eclipselink-supports-hql-and-several.html

Also, you can always use an EclipseLink ReadAllQuery with JPA using JpaEntityManager.createQuery(DatabaseQuery).
Re: JPA hierarchical queries [message #1106201 is a reply to message #1096571] Tue, 10 September 2013 16:40 Go to previous message
Eclipse UserFriend
James...

You're the man!

Thanks
Previous Topic:Typed query hints
Next Topic:Automatically generated table maps java.util.Date to VARCHAR
Goto Forum:
  


Current Time: Wed Jul 23 03:01:45 EDT 2025

Powered by FUDForum. Page generated in 0.04581 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top