About modified


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.setHint("odb.read-only", "true"); This could be useful in situation when you are sure, that you won't modify those entities - like listing entities, paging, logging, reporting. Feature Request Version: Priority: Normal Status: Active Replies: 0 Type:  Feature Request ...


ObjectDB version 2.2 has been released

ObjectDB 2.2 has been released and it includes important additions and fixes: ... Fixed a critical bug in schema evolution of modified ancestor classes. Fixed a bug in handling indexes in a ...



Specify the item that is to be returned as the subquery result.(Method of javax.persistence.criteria.Subquery)


ObjectDB Web Site - Terms and Conditions of Use

1. Terms By accessing and using this web site, you agree to be bound by these web site Terms and Conditions of Use, all applicable laws and regulations, and agree that you are responsible for compliance with any applicable local laws. If you ...



Invoked whenever a persistent instance is first made dirty, during an operation that modifies the value of a persistent or transactional field.(Method of javax.jdo.listener.DirtyLifecycleListener)


Attempt to remove a detached entity object (error 613)

Hello, that a strange error for me ... I have a detached object in my Java code and i just wanted to merge it ... Unfortunatly, i get this error : Failed to commit transaction: Attempt to remove a detached entity object (error 613)      at com.objectdb.jpa.EMImpl.commit(EMImpl.java:290) We see in this stack trace that is a commit operation, all right ... So why does it try to remove the object ... ? ... child ( a list ) with OneToMany and orphanRemoval has been modified ( one element removed ). And objectdb maybe tries to remove the ...



Specify the selection items that are to be returned in the query result.(Method of javax.persistence.criteria.CriteriaQuery)


makeDirty(pc, fieldName)

Explicitly mark the parameter instance and field dirty.(Static Method of javax.jdo.JDOHelper)


retrieveAll(useFetchPlan, pcs)

Retrieve field values of instances from the store.(Method of javax.jdo.PersistenceManager)


setCharField(pc, field, currentValue, newValue)

Mark the field as modified by the user.(Method of javax.jdo.spi.StateManager)