About Entity

issue

InternalException

Hi, 3 Days before our rollout.. We've just got this when trying to commit persist of a bunch of entities into the DB   Bug Version: 2.4.0 Priority: Normal Status: Closed Replies: 2 Type:  Bug ...

 
issue

NPE when doing a find()

I added a simple User entity during Tomcat startup: class User {  @Id @GeneratedValue private long id; @Basic(optional = false) private String firstName; private String middleName; @Basic(optional = false) private String lastName; } Everything works fine until I restart the server, which does a em.find(User.class, 1).  Then this happens: ... I added a simple User entity during Tomcat startup: class User {  @Id ...

 
forum_thread

large numbers of records

Hi, does anyone have experience with database with more than billion records (ie. more than 1000 million records) in one table. What is the limit of ObjectDB and is the database still fast. We are planing to do an application which handles document records and there metadata. ... largest test includes 2,000,000,000 instances of a simple entity class. ObjectDB is still fast, but obviously slower than when ...

 
forum_thread

problems using the explorer

we are currently evaluating objectDB. Environment OSX 10.9.2, JavaSE-1.7 Version: Kepler Service Release 2 Build id: 20140224-0627 ObjectDB 2.5.5 Maven project, objectDB relevant sections: ... ... created a small example that just writes and retrieves an entity, everything works fine (start several times, run...) as soon as ...

 
issue

NULL reference, how to remove

we have in our db these objects, how can we remove them (we did already a -cp Doctor):     ... What happens when you try to access the containing entity object? How many such null references do you have? Do you have any idea ...

 
issue

Query execution creates a wrong result

Hello, we analysed an unexpected behavior and find out that the result of an Query are wrong. We prepared an Example that shows the BUG. (see attachment) The Example executes two Queries. The first returns an expected result (one Entity). The second Query is the first Query with an additional WHERE condition. But than we get another (wrong) result.   ... two Queries. The first returns an expected result (one Entity). The second Query is the first Query with an additional WHERE ...

 
forum_thread

EntityManager.refresh takes a long time

EntityManager.refresh takes a long time for entity object Person in this code: ... EntityManager.refresh takes a long time for entity object Person in this code: logger. log ( Level. ...

 
api-jpa

javax.persistence.PostLoad

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

 
api-jpa

JoinTable.joinColumns

(Optional) The foreign key columns of the join table which reference the primary table of the entity owning the association.(Annotation Element of javax.persistence.JoinTable)

 
forum_thread

Cannot initialize db after inserting a java.util.List

Hi, I've spent some time trying to figure this out without success, so I'm asking for much appreciated help. I have an entity class like this: class Test { private List<String> list = new ArrayList<String>(); } I can persist and retrieve the obj just fine using standalone program, but whenever I access the db through a servlet container I get this error: objectdb.java.util.ArrayList cannot be cast to com.objectdb.spi.TrackableSysType This happens during EntityManagerFactory initialization.... so I'm asking for much appreciated help. I have an entity class like this: class Test { private ...