Home » Search

About collection

41-50 of 200Refresh
Forum
15

PostUpdate collection null

Hello, I have an entity MyEntity with a collection attribute myCollection. I have an EntityListener ... , this collection is null. If I try to access the collection from the PreUpdate method, the collection is populated. The collection is eagerly fetched. public class MyEntity {     @OneToMany(fetch
Issue
15

Collection update does not increase entity version and is not persisted

Hello, I found a bug when adding elements to a collection of Entities: Event { Collection ... to a collection in an object of an old schema, in which the collection was not exist yet (as of changing ... Collection getAttachments() { if (attachments == null) attachments = new
Issue
15

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
15

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
JPA Doc
15

javax.persistence.criteria.ListJoin

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.List. Since: JPA 2.0 Selection alias(String name ... ) Create a fetch join to the specified collection-valued attribute using an inner join. Create a fetch
Forum
15

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
15

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
15

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
15

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
15

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