Home » Search

About collection

31-40 of 200Refresh
Forum
17

PersistenceManager.getObjectsById(Collection,boolean) throwing JDOException

I have a call to getObjectsById(Collection,boolean) that is throwing a JDOException the first time ... why this might occur? We're using ObjectDB 2.2.4_02. The collection being passed in is a HashSetcollection
Manual
17

Index Definition

. Arrays and collections that contain values of the above types (including null). Indexes ... ; : } Notice that the paths include a collection, so multiple values will be maintained by the index ... above, the index order should be x first and y second. Indexes on collections are useful in JOIN queries
Result
17

ObjectDB Object Database Features

other internal caches. Indexing Single field and multi field (composite) indices. Collection and array ... .lang.BigDecimal. Collection types: Collection, List, Set, ArrayList, Vector, Stack, LinkedList ... (LIKE, CONCAT, TRIM, SUBSTRING, ...). JPQL collection operators & functions (IS EMPTY, MEMBER OF, SIZE
Manual
17

Running JPA Queries

and the warning is avoided. The query result collection functions as any other ordinary Java collection. A result collection of a parameterized type can be iterated easily using an enhanced for loop ... collection after query execution (e.g. by results.get(0)). To eliminate this routine operation JPA
JDO Doc
17

javax.jdo.Query

. There are three required elements in a Query: the class of the results, the candidate collection ... candidateCollectionExpression - the candidate collection of the subquery as an expression using ... to be used in this Query candidateCollectionExpression - the candidate collection to apply to the subquery
Forum
17

No clue how to query with collection

getStreet();     int getStreetNo(); } @Entity class Contact {     Collection
collection with a concatenated value of street + streetNo (if not ... that selecting the first item of a collection ain't be a good idea. now I can select the right item
Forum
17

Nested Collection Query

if a particular member exist in one of the group? Nesting a collection directly in another collection, although supported by ObjectDB, is not valid in JPA. Accordingly the JPA query language does not ... . The recommended solution is avoid collections of collections, and instead wrap the internal collection in a user defined entity or embeddable class. snoopydoghk
Forum
17

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

Fetching Collections Puzzle

(which is recommended anyway to improve performance). Paul,   As posted above your collection ... to go and retrive the first element of the collection. This will only work if you are within a transaction ... from Node n left outer join fetch n.children where ....." this will also fetch your collection
Issue
17

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