About collection

61-70 of 200Refresh
Forum
18

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

javax.persistence.criteria.MapJoin

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

javax.persistence.criteria.SetJoin

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

Database Schema Evolution

any date type to any date type. From any collection or array type to any collection or array type, as ... collection or array that can contain that object as en element. From any map type to any map type as
Manual
17

Deleting JPA Entity Objects

can be referenced by a collection field): @Entity class Employee { : @OneToOne ... objects. Orphan removal can also be set for collection and map fields. For example: @Entity class ... ; : } In this case, removal of an Address object from the collection leads to automatic removal
Manual
17

Shared (L2) Entity Cache

Every EntityManager owns a persistence context, which is a collection of all the entity objects ... type and primary key: em.find(MyEntity2.class, Long.valueOf(1),      Collections.Collections.singletonMap(         "javax.persistence
Manual
17

WHERE clause (JPQL / Criteria API)

variable. Before passing these Country objects to the SELECT clause for collecting as query results ... and then collected as query results. WHERE Predicate and Indexes Formally, the WHERE clause functions as ... , relational operators, logical operators) and functions (numeric functions, string functions, collection
JPA Doc
17

javax.persistence.criteria.PluralJoin

to all collection types. It is not intended to be used directly in query construction. Since: JPA 2.0 ... ( PluralAttribute attribute) Create a fetch join to the specified collection-valued attribute using an inner join. Create a fetch join to the specified collection-valued attribute using an inner join
Forum
17

how to persist an object twice into two diff. collections of two diff. classes

how to persist an object twice into two diff. collections of two diff. classes
Issue
17

Objects are not garbage collected

Objects are not garbage collected