About fetch

forum_thread

Help with 'not like/lower' query

Hi again,   Honestly, I'm fairly new with JPA2 Criteria queries - but as far as code effort goes, it has saved me a bit of pain. I'm writing a dynamic query builder (only 1 level deep for basic entities) - but  even though I get most queries to work, I am getting the following error. This is using Criteria with a combination of LOWER/UPPER - NOT LIKE: ... essence, I'm trying to do a count (with a subsequent fetch of a page of 20 results per table view on the UI) where a user belongs to ...

 
api-jdo

FetchGroup.ALL

For use with addCategory and removeCategory calls.(Static Field of javax.jdo.FetchGroup)

 
forum_thread

Retrieving Metamodel without connection

Hello! I use Spring Data JPA. It uses the Metamodel to create repository beans. This triggers a connection to the ObjectDB server. It happens on every start of the Context. If it fails the application isn't available at all. I had the situations multiple times that my database server took longer to boot after a power outage than the tomcat machine. This leads to an unusable application until i restart tomcat. ... i restart tomcat. Other JPA providers are able to fetch the Metamodel without connecting to the DB. I would appreciate it ...

 
api-jdo

FetchPlan.DETACH_UNLOAD_FIELDS

For use with PersistenceManager.detachCopy and setDetachmentOptions.(Static Field of javax.jdo.FetchPlan)

 
forum_thread

Does aggregate function "greatest" work on entity objects?

do not come to the function "compareTo" @Entity public class ChatHistoryItem extends AbstractObject implements Comparable {     private static final long serialVersionUID = 1L; ... ( targetClass = ChatAttachment. class , fetch = FetchType . EAGER ) private ...

 
issue

ArrayIndexOutOfBoundException

Hello, we got this exception when using ObjectDB: ... {   @ OneToOne ( fetch = FetchType . EAGER ) private CacheableJobInfo ji ;   @ OneToOne ( fetch = FetchType . EAGER ) private CacheableJobLog ...

 
api-jdo

fetchBooleanField(fieldNumber)

Fetch one field from the field manager.(Method of javax.jdo.spi.PersistenceCapable.ObjectIdFieldSupplier)

 
api-jdo

javax.jdo.Query

The Query interface allows applications to obtain persistent instances, values, and aggregate data from the data store.(Interface of JDO)

 
api-jdo

makeTransientAll(pcs, useFetchPlan)

Make instances transient, removing them from management by this PersistenceManager.(Method of javax.jdo.PersistenceManager)

 
api-jdo

fetchObjectField(fieldNumber)

Fetch one field from the field manager.(Method of javax.jdo.spi.PersistenceCapable.ObjectIdFieldSupplier)