About collection

release

2.0.5

... Added support for serialization of inverse (mapped by) collection fields. Fixed some activations issues. ...

 
release

2.0.3

... Added support for serialization of inverse (mapped by) collection fields. Fixed some activations issues. ...

 
forum_thread

Retrieval by Access bug?

Dear Sirs, I have an object A, that has a OneToMany FetchType.EAGER List of objects B, that has a field with a reference to an object C. I have this code: ClassA objectA = em.find(ClassA.class, 1); for (ClassB objectB : objectA.getListB()) {     ClassC objectC = objectB.getObjectC(); } em is an open Entity Manager with a running transaction. ... in ObjectDB when I retrieve by navigation a field from a collection? Thanks in advance. Pablo. ...

 
forum_thread

Garbage Free Persistence?

Hi, I am trying to make my application garbage free. I noticed ObjectDB is not garbage free - I noticed that by persisting the same object 1mio times - and I can see the java garbage collector kicking and the usedHeap increasing. Is there a way to persist entities in a garbage free manner? Thanks EKK #1 2016-08-09 10:31 Hi, I am trying to make my application garbage free. I noticed ObjectDB is not garbage free - I n ...

 
forum_thread

ObjectDB Explorer very slow with remote con

Hi! I started to use ObjectDB Explorer to administrate a remote DB (on a server), but it seems to be very slow. The database is quite empty now, just between 5-20 records / entity, but it's still very very slow. That's the only thing that is slow on my server... How can I speed it up? #1 2013-07-24 08:21 Hi! I started to use ObjectDB Explorer to administrate a remote DB (on a server), but it seems to be very ...

 
forum_thread

Server closes if large query runs out of memory

We are using ObjectDB in production, and have found what we thing to be a serious problem:  the objectdb server can run out of memory and stop if a query deals with too many objects. This isn't the behaviour we expected for a product that we want to use to deliver 24/7 high-volume data collection. ObjectDB surely has some idea of the sizes of objects that it persists and retrieves, and so should be able to fail safely if it finds too many objects being retrieved to fit into memory. There must be some alternative to crashing! ... that we want to use to deliver 24/7 high-volume data collection. ObjectDB surely has some idea of the sizes of objects that ...

 
api-jpa

javax.persistence.MapKeyEnumerated

Specifies the enum type for a map key whose basic type is an enumerated type.(Annotation of JPA)

 
issue

Feature Request: Adding map entries to DB in Explorer

Currently, collections can be edited but maps cannot be edited. For a database model that has a lot of static data that need to be entered into the database on multiple edits this presents as an inconvenience. It would be great, therefore, if we can edit maps straight from the explorer. Feature Request Version: 2.5.5 Priority: Normal Status: Active Replies: 0 Type:  Feature Request ...

 
forum_thread

How to creat a Query with Sql which returns a List<Mark> marks

How can i get out of the db my Athlete Objekt his list<Mark> marks collection with a createQuery Sql-Statement. the Mark and Athlete Object do not really have a primary or secondary key together, the list mark is just stored in the athletes object, not as an embeddable but as an entity. ... out of the db my Athlete Objekt his list<Mark> marks collection with a createQuery Sql-Statement. the Mark and Athlete Object do not ...

 
api-jpa

Attribute.PersistentAttributeType.ELEMENT_COLLECTION

Element collection(Enum Constant of javax.persistence.metamodel.Attribute.PersistentAttributeType)