About mapped

manual

Index Definition

Describes how to define indexes in JPA entity classes and explains how indexes are used in JPQL queries. Querying without indexes requires iteration over entity objects in the database one by one. This may take a significant amount of time if many entity objects have to be examined. Using proper indexes the iteration can be avoided and complex queries ov ...

 
forum_thread

Optimization Question

One of our uses for your ObjectDB software is in maintaining the current state of a large number of data objects called tracks. These tracks change very frequently over time (every 10-15 seconds is not unreasonable), but they are also very large complex data structures so it's extremely difficult to identify exactly what fields have changed from one update to the next. Currently the following sequence executes when a track update comes in: - If it’s a new track simply add it to the database. #1 2010-06-16 15:41 One of our uses for your ObjectDB software is in maintaining the current state of a large number of data objects cal ...

 
forum_thread

Error 363 - Failed to read value of inverse relationship

I've got two objects: @Entity public class EEvent { @Id @GeneratedValue(strategy = GenerationType.AUTO) private long id; @ManyToOne(optional=false) private ETown town; public ETown getTown() { return town; } public void setTown(ETown town) { this.town = town; } } And: ... Some times other field is the problem that inverse mapped like possibleFriends. What's the problem? ...

 
forum_thread

Upgrade to Java 8 won't run

I've been using ObjectDB with Groovy 2.1 and Java 7 for nearly a year.  Today, I updated everything to the latest revs (Groovy 2.3.6, Java 1.8.0_25, and ObjectDB 2.5.7_05), and now my application fails when opening the database. It's dying on one of these lines:   emf = Persistence.createEntityManagerFactory (dbName)   em = emf.createEntityManager()   em.setFlushMode(FlushModeType.AUTO)   ObjectDB.em = em   #1 2014-11-16 20:44 I've been using ObjectDB with Groovy 2.1 and Java 7 for nearly a year.  Today, I updated everything to t ...

 
forum_thread

NegativeArraySizeException on commiting a transaction

Hi, we started to get a java.lang.NegativeArraySizeException from ObjectDB upon changing an object in the DB and committing the transaction. I tried to repair the DB file with Database Doctor, but the same error is happening also on the fixed DB file. Btw. during fixing the DB file an Internal error was thrown (details here: http://www.objectdb.com/database/issue/285 ), but the fixing went on and created a new file. ... has a HashMap with a few dozens of entries which are mapped via String keys. So a rough estimation gives around ...

 
forum_thread

Roadmap - no progress - any plans - transparency?

Hi! I have been using ObjectDB for some time, and I'm relatively glad about it. What I'm not so satisfied is that there is no road map for ObjectDB. We see bug fixes and minor adjustments, which is great, but there's nothing about the future. We need to know in which direction ObjectDB is heading, and if it's heading anywhere or just staying in this state forever, as I see it. It would be nice to have more transparency about this topic. I know there are feature requests already made, but they seem to be ignored. #1 2014-05-11 19:51 Hi! I have been using ObjectDB for some time, and I'm relatively glad about it. What I'm ...

 
release

2.2.1

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

 
forum_thread

Missing Data on Retrieval (0, null values)

I try  to export all Objects in an Flatfile-Hiearchy (.csv). But only the first exported Table contains all necessary Data. Most of the others  contains all  Object-Rows', but most Values of the Columns are missing. With a  em.clear() inside the Loop, all tables are exported correctly but the Enity-Keys do not match. I can't get the point - what am i doing wrong?   emf = Persistence.createEntityManagerFactory(dbFile); em = emf.createEntityManager(); #1 2016-04-13 07:07 I try  to export all Objects in an Flatfile-Hiearchy (.csv). But only the first exported Table contains ...

 
issue

Doctor bug?

Please see the attached .odb file. It was freshly created by my web application, and just very few entries have been posted to the database yet. But still the doctor reports a whole bunch of errors. My application seems to function properly though. I guess this is a bug in the doctor? Using version 2.4.1. I get  ... false alarm. There was a problem in handling a mapped super class with no primary key, and that caused the Doctor errors. ...

 
manual

Deleting JPA Entity Objects

Explains how to use JPA to delete (remove) entity objects from the database. Existing entity objects can be deleted from the database either explicitly by invoking the remove remove(entity) EntityManager's method Remove the entity instance. See JavaDoc Reference Page... method or implicitly ...