Home » Search

About collection

41-50 of 200Refresh
Issue
18

JPQL support for mapped by (inverse) collections

As discussed and demonstrated in this forum thread, collection operators and methods (IS EMPTY, SIZE, MEMBER OF, IN) are currently not supported for mapped by (inverse) collections. These operations are supported for direct (not mapped by) collections. Navigation and JOIN is supported
Forum
18

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
17

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
17

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
17

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
17

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
17

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
17

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
17

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
17

javax.persistence.criteria.CollectionJoin

>, FetchParent, From, Join, Path, PluralJoinCollection,E>, Selection, TupleElement The CollectionJoin 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.Collection. Since: JPA 2.0 Selection