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 ...

 
forum_thread

Nexus proxy repository with ObjectDB

I'm trying to setup a proxy repository in my local Nexus to retrieve artifacts from objectdb. Unfortunately I'm not able to get it configured properly and I'm not sure what is wrong. My repository config: ... org.sonatype.nexus.index.DefaultIndexerManager - Cannot fetch remote index for repository "ObjectDB" [id=objectdb] as it does not ...

 
api-jdo

hashCode()

Return the hashCode for this instance.(Method of javax.jdo.FetchGroup)

 
forum_thread

"Failed to serialize instance" of Set problem

Hi, I'm trying to persists objects defined as follows: @Entity @Inheritance(strategy = InheritanceType.SINGLE_TABLE) public abstract class AbstractContainer { ...   @OneToMany(fetch = FetchType.LAZY, mappedBy="parent")   private Set<AbstractContainer> abstractContainers = com.google.common.collect.Sets.newIdentityHashSet(); } Got the following exception: ... { ...   @ OneToMany ( fetch = FetchType . LAZY , mappedBy = "parent" ) ...

 
api-jdo

PersistenceCapable.READ_OK

If jdoFlags is set to READ_OK, then the fields in the default fetch group can be accessed for read without notifying the StateManager.(Static Field of javax.jdo.spi.PersistenceCapable)

 
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 ...

 
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)

 
api-jdo

fetchDoubleField(fieldNumber)

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