About mapping

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   #1 2013-06-07 08:23 Hello, I have question regarding OEM licence enhancement. @ OneToMany ( fetch ...

 
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... ObjectDB 2 supports specifying metadata by: JPA XML Mapping Metadata JPA Annotations JPA 2 Annotations Reference ...

 
forum_thread

Stacktrace in Explorer when running query

Hello, whenever I run a query in Explorer I get the following stacktrace (cf. attached file). My environment is: macOS Sierra 10.12.1 with java version "1.8.0_112" Is there anything I can do to fix this? Many thanks in advance Alex ... The stack trace indicates a problem in mapping entity fields to an Explorer view. Try to remove (or move) the ...

 
api-jpa

MapKeyClass.value

(Required) The type of the map key.(Annotation Element of javax.persistence.MapKeyClass)

 
api-jpa

javax.persistence.PostLoad

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

 
api-jpa

javax.persistence.PreUpdate

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

 
api-jdo

putUserObject(key, val)

Put the specified key-value pair into the map of user objects.(Method of javax.jdo.PersistenceManager)

 
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; #1 2011-09-23 10:36 I have two classes a Container type class and another class that is 'contained' by that class. The co ...