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

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

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
15

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
15

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
15

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
15

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
Issue
15

New Java 8 (JDK 1.8) Collection Methods

ObjectDB version 2.5.5 (and above) supports Java 8 (JDK 1.8). Tracking changes to collections and maps using some new Java 8 methods is currently not fully supported. The main known issue is that orphan removal does not happen as a result of removing a reference to an object
Forum
15

NontransactionalWrite error using Collections.sort .

Hi, i started to use ObjectDB today and i'm having problem using command Collections.sort in persisted object.  Attempt to modify an object with no active transaction when NontransactionalWrite is disabled: br.ufpa.linc.MetriX.api.model.Interface#105 (error 635)   I don't want to modifi de object