Hi all
I try to get part of a collection over eql (or whatever the ejb query language is called). In the Hibernate tutorial it is suggested to use the criterias to get the data from a collection. As we are using JBoss Seam framework we would like to solve this problem directly over eql.
@Entity
// ...
class SoftwareInventoryObject {
// other code
String name;
@OneToMany
List<SoftwareInventoryObjectPart> parts;
// Getter & Setter
}
@Entity
class SoftwareInventoryObjectPart {
// other code
String name;
// other code
}