Home » Search

About collection

21-30 of 200Refresh
Manual
24

Retrieving JPA Entity Objects

collection and map persistent fields (i.e. through one-to-one and many-to-one relationships ... through non collection and map persistent fields are also retrieved. Theoretically, in some extreme ... ) private Employee manager; : } The default for non collection and map references is FetchType
Forum
20

Optimistic locking: prevent version increment on entity collection attribute

Hello, I have an entity E with an attribute which is a collection of entities (one to many ... the increment of the version of entity E when entities are added to or removed from the collection ... If it is a bidirectional relationship that is owned by the entities in the collection (i.e. the collection
Manual
20

FROM clause (JPQL / Criteria API)

collection of the outer c1. In this case, by propagation of a WHERE constraint to the FROM phase ... over specified collections of objects. The following query uses one range variable and one join ... that collection. You might have noticed that this query is equivalent to the previous neighbors query
Manual
20

JPA Entity Fields

: OneToOne, ManyToOne - for references of entity types. OneToMany, ManyToMany - for collections ... , since it requires running queries. Inverse fields are essential for collection fields when using ORM JPA ... very large collections that are changed often. This is because a change in the inverse field does not
JDO Doc
20

javax.jdo.PersistenceManager

a PersistenceManager might release it to the pool of available PersistenceManagers, or might be garbage collected ... - a Collection of persistent instances Since: JDO 1.0 See Also: deletePersistent(Object pc) void deletePersistentAll(Collection pcs) Delete a Collection of instances from the data store. Delete a Collection
Forum
19

Query to search for common elements in two separate collections.

I'm trying to work out the most efficient way to build a query that can compare two collections ... is to use some sort of hash function for the collections and to retrieve candidate collections by identical hash code. Candidate collections should then be further filtered by checking for equality. The hash
Forum
19

Using Scala collections with ObjectDB

Hi, I cannot see that it is possible to make scala collection classes persistable within ObjectDB ... .collection._  api for it to work ? (http://www.scala-lang.org/docu/files/collections-api/collections.html)   /Peter   You are right - Scala collections require some special handling, which is not
Forum
19

collection of embedded objects

1. In general, are there any restrictions of the use of @Embedded objects in collections, compared to @Entity? 2. If you have a large nested collection of @Embedded objects, and you remove the parent @Entity, does the remove cascade through the whole collection? 3. Is searching through collections
Forum
19

Custom collection types

Hi   In our project in few places there are used collections from emf framework eg EcoreEMap http ... , nevertheless it causes some questions. I checked that i can easily change the type of collection between ... of this classes but only their content so I suppose that you treat collections some how differently. Can i
Forum
18

Lazy Init / Eager / Join Fetch collection strategy ? What to choose ?

Hello, I'm doing some tests to choose the best collection fetch strategy. I have entities with many lazy collections and i don't want to load them all. (depends on context) In JPA / Hibernate world ... seems to be more efficient than only fetch required collections. Can you confirm my observations ? To finish, wake