jQuery in Action, 3rd edition
The moose likes Object Relational Mapping and the fly likes fetching ElementCollection using HQL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "fetching ElementCollection using HQL" Watch "fetching ElementCollection using HQL" New topic

fetching ElementCollection using HQL

Luca Cazzaniga

Joined: Feb 16, 2013
Posts: 12
Hi all,

I'm a newbe of HQL, Im wondering if there is a straight way to fetching an ElementCollection in a query

Given the following class:

The following snippet yields a inner join duplicating the items:

Best regards


I agree. Here's the link: http://aspose.com/file-tools
subject: fetching ElementCollection using HQL
It's not a secret anymore!