Home » Search

About collection

51-60 of 200Refresh
Forum
15

Navigation through Path to evaluate collection

Hello, I need to evaluate a field ("identifier") which is situated in a collection, within an entity. As stated in the documentation it is not possible to navigate there with the dot operator since its a collection. Is it there a way to evaluate this field? Here is the query, the entity
Forum
15

Query to find object from element of a contained collection

I have an OrderData class, containing an OrderItemData collection, i would like to find OrderData elements by OrderData.items.itemId. I cant get a proper query with MEMBER OF or IN. Does ... with a collection (e.g. ArrayList). You may also need to use a multi variable query with JOIN. Thank
JPA Doc
14

javax.persistence.criteria.MapJoin

> The MapJoin interface is the type of the result of joining to a collection over an association or element collection that has been specified as a java.util.Map. Since: JPA 2.0 Selection alias(String name ... > attribute) Create a fetch join to the specified collection-valued attribute using an inner join. Create
JPA Doc
14

javax.persistence.criteria.SetJoin

interface is the type of the result of joining to a collection over an association or element collection that has been specified as a java.util.Set. Since: JPA 2.0 Selection alias(String name ... a fetch join to the specified collection-valued attribute using an inner join. Create a fetch join
Forum
14

@ElementCollection query returning extra result per element in collection

Hi,   I'm having a hard time narrowing down an issue that only became apparent with in the UI. The issue is that, I'm getting repeated results of the owning entity of an '@ElementCollection'. The entity returned is repeated for every element in the collection. Switching back to EclipseLink
Forum
14

Delete object from collection versus delete from JPQL

objects? There are cases where the JPQL syntax is more expressive than operating on a collection
Issue
14

delete of a collection in explorer changes type

accidently we used the option delete on a collection of type ArrayList. On doing so the type changed to List. we are using explorer version 2.7.1_02 How can we change that back again ? Is it only an issue with the type of the field as shown by the Explorer or
Forum
14

How to Persist a Map of beans to collections of beans?

persistence capable classes). Support of map values which are collections is non standard and may be limited
Issue
14

Internal exception: NPE on criteria query with IN clause and empty collection

already narrowed the cause to the fact that I use JPA criteria query API, and I pass an empty collection to IN
Forum
14

Is there a way to set EAGER fetch on all "ToMany" collection relationships

Given that the default seems to be FetchType.LAZY for all collections @OneToMany and @ManyToMany. Such as a configuration option. Instead of having to explicitly set fetch in annotation code in every relationship. No. There is no such configuration option, since having EAGER as the fetch type