About Id

manual

Shared (L2) Entity Cache

Explains how to set and use the EntityManagerFactory's shared cache (L2 / level 2) in JPA 2.... ( MyEntity. class , Long. valueOf ( id ) ) ; Cached entity objects can be removed from ... ( MyEntity. class , Long. valueOf ( id ) ) ;   // Remove all the instances of a specific ...

 
tutorial

Step 5: Add a JSP Page

Explains how to add a JSP to an Eclipse Spring MVC JPA web application project.... = "guest.*" % >   <jsp:useBean id = "guestDao" type = "guest.GuestDao" scope = "request" ...

 
api-jdo

unpin(oid)

Unpin the parameter instance from the second-level cache.(Method of javax.jdo.datastore.DataStoreCache)

 
api-jdo

evict(oid)

Evict the parameter instance from the second-level cache.(Method of javax.jdo.datastore.DataStoreCache)

 
issue

Cannot insert more than about 2^20 objects

Hi I have a DB with 4 entities and a total of 4 index. Once I reach 1048565 total objects in the whole DB, i am unable to insert more object, although i get NO error message nor exceptions. Doctor said Db is fine (see below) I notice that 1048565 objects + 4 entities + 4 ID indexes + 4 other indexes = 1048576 = 2^20 . Is this a coincidence? ... I notice that 1048565 objects + 4 entities + 4 ID indexes + 4 other indexes = 1048577 = 1+2^20 . Is this a ...

 
api-jdo

evictAll(oids)

Evict the parameter instances from the second-level cache.(Method of javax.jdo.datastore.DataStoreCache)

 
api-jpa

javax.persistence.JoinColumns

Defines mapping for composite foreign keys.(Annotation of JPA)

 
issue

Lazy retrieval by access not working correctly

I have a problem loading lazy associations by access/navigation with an @Embedded attribute containing an @ElementCollection which is lazy loaded.  I'm not sure if the same problem exists elsewhere.  Furthermore, if I set a breakpoint in the right spot in debug mode, everything works correctly.  Without the breakpoint, my lazy collection does not get loaded.  Here are code snippets which should reproduce the problem. ... = entityManager. find ( Locale. class , id ) ; locale. getNames ( ) . getValues ( ...

 
forum_thread

ODB IndexActivation NullPointerException

Hi, We have created indexes on an existing database, which has 4.3 million objects. As soon we create first query, NullPointerException is thrown: ... isse.   ODB-IndexActivation thread (id:427) -> waiting for MST   (owend by Thread: [pool-5-thread-3] ... ->  waiting for  Thread id:427  (ODB-IndexActivation)   the Thread.join() was called by ...

 
forum_thread

ObjectDB 2.6.9_06 (embedded): Cascading merge resulting in duplicate objects

This issue maybe related to issue #110 (http://www.objectdb.com/database/issue/110). Because that issue has been closed as "fixed", I am reporting this new issue. This is my class definition: ... I can see that the "detached" entity is created first (ID #... is 2 less than that of the entity related to the person's address ...