Internal Website Search

111-120 of 172 resultsRefresh

Unable to update a OneToMany Set

> after every operation your Company instance becomes detached. A detached entity

"Attempt to lock a non entity object" error

> "The following operations clear the entire persistence context and detach all managed entity objects: It is correct. All the entity objects are detached on rollback.

EM.find() is suddenly slower

.DETACH }) private ModelElementImpl element; @OneToMany (fetch = FetchType.EAGER, cascade = {CascadeType.REFRESH, CascadeType.DETACH }) private HashMap<String, List<

Fetching Collections Puzzle

the Node object is detach">detached

Query only works correctly when debug printing results

. You should make data available before entity objects are detach">detached

Fetch Set from DB only works on debug mode

/jpa/persistence/detach">detached entities in the manual and also see the discussion

Dirty checking

are automatically set to 'Detached' state.  However, unless the relevant parts of the object graph have already been retrieved, they won't be retrieved for the detached object. I'm not sure

JDO sequences from ORM file

$DetachablePersistenceCapable" detachable="true" />   <class name="JdoTypes$NonDetachablePersistenceCapable" detachable="false" />   <class name="JdoTypes$CacheableClass" cacheable="true" />  

evictAll() behavior

interfaces PersistenceCapable and Detachable after postprocesing and they do not. I spoted that I did ... .spi.TrackableUserType but they do not implement PersistenceCapable and Detachable as Isaid earlier

Possible issue with Spring JPA and Embedded

Edwards The difference between the two tests is that Spring JPA returns detached objects ... after detach. Your Spring JPA test passes if you set eager fetch for that collection: