About value


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). ... methods:  removeIf(predicate) and remove(key, value). ObjectDB Support ObjectDB - Fast Object ...



Whether the key is to be stored serialized (into a single column of a join table).(Annotation Element of javax.jdo.annotations.Key)



Create an aggregate expression applying the count operation.(Method of javax.persistence.criteria.CriteriaBuilder)



Name for a generated foreign key constraint.(Annotation Element of javax.jdo.annotations.Element)



Whether the query is unmodifiable.(Annotation Element of javax.jdo.annotations.Query)



(Optional) The entity class that is the target of the association.(Annotation Element of javax.persistence.OneToMany)



(Optional) The foreign key columns of the collection table which reference the primary table of the entity.(Annotation Element of javax.persistence.CollectionTable)


How to Persist a Map of beans to collections of beans?

Hello, I am trying to add a new persistable object to the package.jdo for persistence in a .odb file.  The class contains a field that is as follows: private Map<SomeKindaBean, List<SomeOtherTypeOfBean>> m_objectToPersist; I'm at a loss for how to format the xml in the .jdo file for this object.  How does one persist this in package.jdo xml?  Thanks in advance for your help. -A #1 2012-02-14 23:58 Hello, I am trying to add a new persistable object to the package.jdo for persistence in a .odb file ...



Instances of the type SetAttribute represent persistent java.util.Set-valued attributes.(Interface of JPA)


Refresh data in application after database data has changed

Hi, I have a Java program that can manage and create some Person objects. When I start my application and I want to add a person with the same national number as a person already in the database, my program has to block the creation. ... as a person I want to add. However when I change the value of the national number in the database explorer when the program is ...