About detached

151-158 of 158Refresh
Issue
1

Read only hint for query

Second thing after @FetchGroup I've found is read-only hint for EM. You can specify this hint to EM when executing query meaning that returned data will never be edited or persisted. My understanding of this is that each entity returned from query is in detached state as default state. query
Forum
1

Removing an entity throws exception

more   After this exception is the entity detached (why?). When I merge it, I can remove it without problems
Forum
1

Removing entity class

how to do it, for example with ObjectDB Explorer? You can retrieve all your objects, detach
Forum
1

Significant I/O costs during batch update or insert data.

Our application has some complex entities. We do batch update(merge detached entity) every 2 minutes. We find the period significant IO costs these days, and disappeared when turn off the batch updating. 1.ObjectDB is in embedded mode. 2.ObjectDB version is 2.3.7 3.Database file size is nearly
Issue
1

Unexpected exception (Error 990) - Merge with no Transaction

I am frequently having an error when merging a detached object outside of a transaction. (Is this allowed? I am not trying to modify the object, just read data from it.) Here is a test case: package com.experiments; import javax.persistence.*; import java.util.HashMap; public class
Issue
1

Use temporary files to enable very large transactions

flush() and detach()). But an array of bytes, any ObjectDB memory, still allocates a lot of memory
Issue
1

Fetch a whole entity graph eager

Hello, I have two question at you. Are you provided JPA 2.1 annotation @NamedEntityGraph in next version ObjectDB 3.0? And do you know an easy possibility to get an entirely eager entity graph with all depended entities which we can use as a detached full accessible entity graph outside
Forum
1

Fetch Set from DB only works on debug mode

the data before closing the EntityManager. Read about detached entities in the manual