About @Id

forum_thread

Is there any faster select method?

SELECT: TypedQuery<Point> query = em.createQuery("SELECT p FROM Point p WHERE p.id = " + element.getId(), Point.class); List<Point> points = query.getResultList();   WRITE: em.persist(p);   ** the Point class is of the tutorial.   I found the above select method is ten times slower than the write method, in my very simple benchmark. I guess the reason there is no SQL in the write method.   #1 2011-02-19 04:40 SELECT: TypedQuery<Point> query = em. createQuery ( "SELECT p FROM Point p WHERE ...

 
api-jdo

unpinAll(oids)

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

 
forum_thread

Bug when posting threads with Firefox 34.0.5

#1 2014-12-10 11:03 I can't see the textarea when creating forum threads or tickets with Firefox 34.0.5? ...

 
api-jpa

TableGenerator.table

(Optional) Name of table that stores the generated id values.(Annotation Element of javax.persistence.TableGenerator)

 
forum_thread

EntityManager.merge gives EntityNotFoundException

Just started using objectdb (2.3.4). Calling EntityManager.merge for a new (non-managed) object gives EntityNotFoundException. I am perplexed by this. See attached test case. Thanks for your assistance. Full error output is: Exception in thread "main" [ObjectDB 2.3.4] javax.persistence.EntityNotFoundException Entity is not found: classdb.Test#'id' (error 631) at com.objectdb.jpa.EMImpl.merge(EMImpl.java:456) at classdb.Test.main(Test.java:32) #1 2011-11-29 12:06 Just started using objectdb (2.3.4). Calling EntityManager.merge for a new (non-managed) object gives EntityNotFo ...

 
api-jpa

javax.persistence.PrimaryKeyJoinColumns

Groups PrimaryKeyJoinColumn annotations.(Annotation of JPA)

 
issue

not possible to add an existing object to an array via explorer

when trying to add an existing object via context menu/add existing object an entering the id the attached message appears Bug Version: 1.04 Priority: Normal Status: Fixed Replies: 1 Type:  Bug ...

 
api-jdo

jdoGetTransactionalObjectId()

Return a copy of the JDO identity associated with this instance.(Method of javax.jdo.spi.PersistenceCapable)

 
api-jdo

copyKeyFieldsToObjectId(pcClass, fm, oid)

Copy fields from an outside source to the key fields in the ObjectId.(Method of javax.jdo.spi.JDOImplHelper)

 
api-jdo

jdoCopyKeyFieldsFromObjectId(fm, oid)

Copy fields to an outside consumer from the key fields in the ObjectId.(Method of javax.jdo.spi.PersistenceCapable)