Internal Website Search

91-100 of 200 resultsRefresh

Mapped By Fetch is very Slow

Well ! I think i pointed out a HUGE performance issue with mapped-by attribute (yeah ... "mapped-by". You obtain 1 second max of query fetch. So my performance issue ... ") // Test by adding / remove "mappedBy" public MyEntityChild getEntityChild() {   return entityChild

Pre-detach loading: retrieval by navigation not working in if statement

-loading-why-retrieval-by-navigation-and-access">https://stackoverflow.com/questions/35359676/java-jpa-objectdb-pre-detach-loading-why-retrieval-by-navigation-and-access webel Dr Darren ... that can be referenced by ID, and meets a uniform and powerful IElement interface.

Strange behaviour with ORDER BY and IN

by its speed and overall performance I noticed a strange behaviour where an ORDER BY - directive ... > Ordering seems to be ignored if we order by a simple member (e.g. a String) being the Entity-ID ... ;    System.out.println("Locations without selection criterion in descending order (by

ORDER BY problem, when String starts with language specific character

Dear all, I have a problem with ORDER BY clause. I have a simple query: select u from User u order by u.name When the name starts ... ="code">ORDER BY clause. However, if you have to sort a large result list

Suspected memleak caused by bad state of EntityManager

after every creating 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 ... , but it can be closed and retrieved by EntityManagerFactory, and the instances of Entity constructed by

javax.persistence.metamodel.EntityType

> JPA 2.0 group-header" class="group-header"> Return the attribute declared by the managed type that corresponds to the specified name ... declared by the managed type that corresponds to the specified name.

javax.persistence.metamodel.MappedSuperclassType

group-header" class="group-header"> Return the attribute declared by the managed type ... ="description"> Return the attribute declared by the managed type that corresponds to the specified

javax.persistence.metamodel.IdentifiableType

> Since: JPA 2.0 group-header" class="group-header"> Return the attribute declared by the managed type that corresponds to the specified name.

Removed entities can be found by query in the same transaction

this entity by em.remove(). Afterwards the entity can be load again by query ... . Every snapshot represents a picture of the database as seen by a particular transaction. When changes ... was that as soon as flush was called and a snapshot was generated, changes to the database by

javax.jdo.spi.JDOImplHelper

to register metadata for persistence-capable classes and to perform common operations needed by implementations, not by end users. JDOImplHelper allows construction of instances ... . JDO implementations get access to the functions provided by this class only if they are authorized