About mapping

forum_thread

Objectdb Doctor

Hi, I have deleted an instance of ClassA. However, if I try to access ClassB, which has a field of type ClassA, ClassB.classA, then, rather than getting a null pointer for classB.classA, I get an enormous exception. How does the ObjectDB Doctor help?   #1 2011-01-10 07:07 Hi, I have deleted an instance of ClassA . However, if I try to access ClassB , which has a field o ...

 
forum_thread

Possible Bug in MEMBER OF

Hello! I maybe found another bug in version 2.3.3. I'll send you a test DB via support ticket. Try the following query in explorer: SELECT u FROM Unit u WHERE :user MEMBER OF u.users Set user to TrackerUser#8 If i run this quey i get: Invalid operand type at.co.pjm.tracker.persistence.TrackerUser for operator MEMBER OF SELECT u FROM Unit u WHERE :user MEMBER OF u. ==> users <== In my opinion the result should be Unit#4004 #1 2011-11-11 17:45 Hello! I maybe found another bug in version 2.3.3. I'll send you a test DB via support ticket ...

 
api-jdo

Joins.value

The join definitions used for the mapping of this type.(Annotation Element of javax.jdo.annotations.Joins)

 
issue

New Java 8 (JDK 1.8) Collection Methods

ObjectDB version 2.5.5 (and above) supports Java 8 (JDK 1.8). Tracking changes to collections and maps using some new Java 8 methods is currently not fully supported. The main known issue is that orphan removal does not happen as a result of removing a reference to an object (which becomes an orphan) using the new methods: removeIf(predicate) and remove(key, value). Feature Request Version: 2.5.5 Priority: Normal Status: Active Replies: 0 Type:  Feature Request ...

 
forum_thread

Using of ConcurrentHashMap as attribute

Hello, it is possible to use an entity attribute of type java.util.concurrent.ConcurrentHashMap Your web site http://www.objectdb.com/object/db/database/features 'Object Model & Data Types' has no guidelines about this data type. Best regards #1 2015-05-13 06:26 Hello, it is possible to use an entity attribute of type java.util.concurrent.ConcurrentHashMap Y ...

 
api-jpa

MapKeyColumn.unique

(Optional) Whether the column is a unique key.(Annotation Element of javax.persistence.MapKeyColumn)

 
api-jpa

MapKeyTemporal.value

(Required) The type used in mapping java.util.Date or java.util.Calendar.(Annotation Element of javax.persistence.MapKeyTemporal)

 
api-jpa

javax.persistence.CollectionTable

Specifies the table that is used for the mapping of collections of basic or embeddable types.(Annotation of JPA)

 
api-jdo

getUserObject(key)

Get the value for the specified key from the map of user objects.(Method of javax.jdo.PersistenceManager)

 
api-jpa

javax.persistence.NamedNativeQueries

Used to specify multiple native SQL named queries.(Annotation of JPA)