Home » Search

About collection

51-60 of 200Refresh
JPA Doc
16

javax.persistence.criteria.CriteriaBuilder

Predicate isEmpty( Expression collection) Create a predicate that tests whether a collection is empty. Create a predicate that tests whether a collection is empty. Parameters: collection - expression ... - expression to be tested Returns: predicate Since: JPA 2.0 Predicate isMember(E elem, Expression collection
Forum
16

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
16

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
16

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
16

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
16

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
16

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
16

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

@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
JPA Doc
16

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