Home » Search

About ORDER BY

81-90 of 200Refresh
Manual
6

Retrieving JPA Entity Objects

of entity classes and to keep them simple as possible. Retrieval by Class and Primary Key Every entity object can be uniquely identified and retrieved by the combination of its class and its primary key ... except that if the entity object is not already managed by the EntityManager a hollow object
JPA Doc
6

javax.persistence.ColumnResult

result by specifying this annotation in the metadata. Example: Query q = em.createNativeQuery( "SELECT o.id AS order_id, " + "o.quantity AS order_quantity, " + "o.item AS order_item, " + "i.name AS item_name, " + "FROM Order o, Item i
Result
6

Apache License, Version 2.0, January 2004

the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright ... and all other entities that control, are controlled by, or are under common control with that entity
Forum
6

Mapped By Fetch is very Slow

Well ! I think i pointed out a HUGE performance issue with mapped-by attribute (yeah ... , go the MyEntity class and remove "mapped-by". You obtain 1 second max of query fetch. So my performance issue ... .ALL,mappedBy = "myEntity") // Test by adding / remove "mappedBy" public MyEntityChild getEntityChild
Issue
5

Blocked by find

, Object obj)" method which is synchronized and attempts to load an object by id using the EntityManager ... .ObjectDbInstanceContainer@9c71a4 owned by: DEV1-WSAgent-1-Existing/3 Total blocked: 190 Total waited: 69 ... : BLOCKED on com.objectdb.o.LKM@254e85f4 owned by: ODB-FileWriter Total blocked: 789 Total waited: 616
Result
5

java.lang.Exception

is not initialized, and may subsequently be initialized by a call to initCause. Since: Java JDK1.0 ... be initialized by a call to initCause. Parameters: message - the detail message. The detail message is saved for later retrieval by the getMessage() method. Since: Java JDK1.0 Exception(Throwable cause
Forum
5

Suspected memleak caused by bad state of EntityManager

and using. We find a slow memleak in our application recently, and by trace of Entity construct and finalize, we found the problem is caused by bad state of EntityManager. After first throwing ... and retrieved by EntityManagerFactory, and the instances of Entity constructed by ObjectDB
Forum
5

Merge of entity classes with "mapped by" very slow

Hi, I have found a strange behavior when merging entities with "mapped by" set on @OneToMany ... - one with mapped by, second with adding entities list without "mapped by". The difference is huge event for such small objects - 2ms (without mapped by) vs ~50ms (with mapped by) Is there any chance
Issue
5

Bulk load of eager mapped by (inverse) relationships

When a collection of objects is retrieved by ObjectDB (e.g. by a query) ordinary referenced objects ... . However, inverse (mapped by) references that have to be loaded eagerly currently do not participate ... a separate client-server round trip. Future versions of ObjectDB should load eager mapped by (inverse
Forum
5

find repeated records by JPQL

.getResultList(JpaQuery.java:636) at image.cleanDB.main(cleanDB.java:19) Caused by: com.objectdb.o ... (QRR.java:197) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:627) ... 1 more Caused by ... MySQL? TIA Subqueries are not support by ObjectDB yet - see this feature request. Getting