About collection

31-40 of 200Refresh
Forum
29

LEFT JOIN FETCH over empty embedded collection returns no results

to my inquiry a few months ago. However, I have run into one problem: if an embedded collection is empty, but I attempt to LEFT JOIN FETCH all the members of a collection within a (non-existent) member of the first collection, the result of the overall query is an empty set. To use the example from
Forum
28

Composite index support collection

Hello, is there any chance that you support composite indices with fields and collections combined in the future? We need such feature in our application and would be very happy to see it in ... of one collection). Hello, yes, one collection would be fine for our use cases. Do you have any concrete
Forum
28

Eager Fetch is not stable for collection or map types?

Hi, thanks very much for your helpful software. The problem is the storage of collection or map ... is we confirm that the collection or map are stored successfully by using explorer tools when the JVM stopped ... () of collection or map before closing the EntityManager, data can be retrieved successfully:    public
Forum
28

Navigation to Collection Elements

Greetings ObjectDB team, Suppose I have a collection typed field (list/map/set...) in my persistent ... handling such expressions. Indexes are supported in handling more conventional collection expressions (by ... queries, and anyway, collections are preferred over arrays when using JPA/JDO (and they might be even more efficient). geekox86
Issue
28

Remove of an entry from a @OneToMany collection is not possible if the enhancer is disabled

Hello! When the JPA entities are not enhanced the removal of an entry from a @OneToMany collection ... . It represents an issue with non enhanced classes, but it is not related to @OneToMany collection. Any change ... .0_04. The problem with the @OneToMany collection is still not fixed. You are right, sorry
Forum
28

Search through collection for value using index

I have an entity that contains a java collection of a Long id of user entities that can modify ... could do something besides a java collection if there is a better approach. You can define an index on a collection field as explained in the manual, and the index will be used automatically by queries
Forum
28

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
28

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
Forum
28

@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
28

Delete object from collection versus delete from JPQL

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