About collection

forum_thread

Index on values from a Map

Hi, is there a way to put an Index on the values from an Map? For example, if I have a Map like this: private Map<String, TemplateModel> mmsContainer and I want to access it fast in following way: Collection<TemplateModel> values = mmsContainer.values();   Thanks for you help   ... and I want to access it fast in following way: Collection<TemplateModel> values = mmsContainer. values ( ...

 
forum_thread

Problem with Composite indices

Hi, I want to realize the following: I have 2 classes, one Client class which looks like: public class Client { @Index (unique = "true") private String name; } and a User class which looks like: ... Unfortunately a composite index on a field + a collection is not allowed. ObjectDB Support ...

 
api-jdo

javax.jdo.Extent

Instances of the Extent class represent the entire collection of instances in the data store of the candidate class or interface possibly including its subclasses or subinterfaces.(Interface of JDO)

 
forum_thread

Storing Images and Object Pooling

Hello we have heard your product and we will plan to use your product on image database. Is it good to use ObjectDB as image database? Image database just screenshots of desktops.   2- ) On JPA as we know getting Result list returns ArrayList         List<SomeClass> xxx = query.getResultList(); ... Producing everytime ResultList ( Garbage collection destroy and remake ) slows apps i think. I think it will be good if ...

 
api-jdo

setUnique(unique)

Specify that only the first result of the query should be returned, rather than a collection.(Method of javax.jdo.Query)

 
forum_thread

ObjectDB version 2.3 has been released

ObjectDB 2.3 has been released and it includes important additions and fixes: #1 2011-09-21 13:36 ObjectDB 2.3 has been released and it includes important additions and fixes: Added the abilit ...

 
api-jpa

PessimisticLockScope.NORMAL

This value defines the default behavior for pessimistic locking.(Enum Constant of javax.persistence.PessimisticLockScope)

 
api-jdo

newQuery(compiled)

Create a new Query using elements from another Query.(Method of javax.jdo.PersistenceManager)

 
issue

Lazy loading of mapped by (inverse) singular references

... ObjectDB ignores lazy setting of non collection mapped by (inverse) fields and loads them always eagerly. This is ...

 
api-jpa

JoinColumn.referencedColumnName

(Optional) The name of the column referenced by this foreign key column.(Annotation Element of javax.persistence.JoinColumn)