About map

forum_thread

OEM enhancing

Hello, I have question regarding OEM licence enhancement. @OneToMany(fetch = FetchType.EAGER, cascade = CascadeType.ALL)  private SomeClass[] props; @OneToMany(fetch = FetchType.EAGER, cascade = CascadeType.ALL)     private Map<String, SomeClass2> vars = new TreeMap<String, SomeClass2>(); Are these classes(SomeClass, SomeClass2), when not enhanced, limited by number 1 million instances in DB? Thanks Marta   ... = CascadeType . ALL ) private Map<String, SomeClass2> vars = new TreeMap<String, ...

 
forum_thread

Spring 4 setup

Can someone provide an example of setup ObjectDB embeded to be used with Spring4? Existing examples is like for Spring3 and I can't figure how to use ObjecDB in Spring tutorial: http://spring.io/guides/gs/accessing-data-jpa/   Thanx. ... @ Override public Map<String, ? > getJpaPropertyMap ( ) { ...

 
issue

Dynamic Metadata (JDO 3.0)

JDO 3 introduces the ability to specify metadata of persistable types dynamically. ObjectDB 2 supports specifying metadata by: JPA XML Mapping Metadata JPA Annotations JDO XML Metadata (e.g. package.jdo) JDO Annotations All these JDO Feature Version: Priority: Low Status: Active Replies: 0 Type:  JDO Feature ...

 
api-jpa

javax.persistence.Query

Interface used to control query execution.(Interface of JPA)

 
api-jpa

javax.persistence.PreUpdate

Is used to specify callback methods for the corresponding lifecycle event.(Annotation of JPA)

 
api-jpa

javax.persistence.Inheritance

Defines the inheritance strategy to be used for an entity class hierarchy.(Annotation of JPA)

 
api-jpa

javax.persistence.GeneratedValue

Provides for the specification of generation strategies for the values of primary keys.(Annotation of JPA)

 
api-jpa

SecondaryTable.uniqueConstraints

(Optional) Unique constraints that are to be placed on the table.(Annotation Element of javax.persistence.SecondaryTable)

 
forum_thread

Why can't we persist an object with a field of type EnumMap in ObjectDB?

Hi, Is there a reason why we can't persist an object with a field of type EnumMap in ObjectDB? but it works fine for fields like = HashMap<EnumType,Double> Thanks EKK #1 2015-01-12 14:33 Hi, Is there a reason why we can't persist an object with a field of type EnumMap in ObjectDB? ...

 
forum_thread

Conflicting modifiers .... (javax.persistence.Id, javax.persistence.ManyToOne)

I have two classes a Container type class and another class that is 'contained' by that class. The contained class, CompoundKeyMapItem, represents an alternate implementation of an object held in a Map, and uses a Compound Primary Key. The contained class therefore uses an @IdClass. This all works fine on Eclipselink. However when I try and run this in ObjectDb I get the following error; ... an alternate implementation of an object held in a Map, and uses a Compound Primary Key. The contained class therefore uses an ...