About modified

manual

What's next?

References to further reading about JPA and ObjectDB. This chapter introduced the basic principles of using JPA with ObjectDB. You can dive into the details by reading the other chapters of this manual. If you prefer to get started using ObjectDB right away you can follow one of these tutorials to creat ...

 
forum_thread

String Encoding Issue

Hi all Encounter a character encoding issue when i try to retrieve a String column containing Chinese character. Retrieve a String column on odb file.  em = emf.createEntityManager(); Query query = em.createQuery("SELECT fu FROM FarmUnit fu"); But, when try to print the value out as: #1 2011-06-23 04:30 Hi all Encounter a character encoding issue when i try to retrieve a String column containing Chinese cha ...

 
issue

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

 
page

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

 
api-jdo

preDirty(event)

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)

 
api-jpa

multiselect(selectionList)

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

 
api-jdo

retrieveAll(useFetchPlan, pcs)

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

 
api-jdo

setRestoreValues(restoreValues)

Set the default value for the RestoreValues property.(Method of javax.jdo.PersistenceManagerFactory)

 
api-jdo

setCharField(pc, field, currentValue, newValue)

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

 
api-jdo

setStringField(pc, field, currentValue, newValue)

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