About modified

forum_thread

Optimistic lock

Hello When I get an optimistic lock on an object, refresh(), start trans and persist?  Will the changes made to the object before the violation be retained or must they be duplicated in the retry code?  Assuming it affects only one object.  tia. #1 2015-02-12 20:31 Hello When I get an optimistic lock on an object, refresh(), start trans and persist?  Will the chan ...

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

 
forum_thread

WORM (Write once read many) support

Hello, we would like to propose a feature in the objectdb if this is not already available. We use objectdb in our product development and deployment in high secure environments like police, military and government agencies. We have developed a specialized hardware device in a form of appliance which acts as archiving device for processing and storing logs, records and transactions. Hardware is specific in a way that it has a mechanism for preventing the data to be changed once they are written. ... are written. Our questions is, can objectdb be modified to work on such a storage device, ie. hard drive which is a WORM ...

 
api-jdo

jdoPostLoad()

Called after the values are loaded from the data store into this instance.(Method of javax.jdo.listener.LoadCallback)

 
api-jpa

groupBy(grouping)

Specify the expressions that are used to form groups over the subquery results.(Method of javax.persistence.criteria.Subquery)

 
api-jpa

groupBy(grouping)

Specify the expressions that are used to form groups over the query results.(Method of javax.persistence.criteria.CriteriaQuery)

 
api-jdo

javax.jdo.listener.ClearCallback

This interface is used to notify instances of clear events.(Interface of JDO)

 
forum_thread

Primary key generation problem after changing entity package

Hi, I changed package name for some of my entities in database. I added info in <schema><package... /></schema> of my configuration file - and the changes have been succesfully made in database. Unfortunately, sequences have been probably lost for changed entity classes. After schema change I keep getting errors : Attempt to reuse an existing primary key value... My primary keys are annotated as shown below : #1 2012-03-14 09:42 Hi, I changed package name for some of my entities in database. I added info in <schema><package ...

 
api-jdo

retrieveAll(pcs, useFetchPlan)

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

 
api-jdo

setStringField(pc, field, currentValue, newValue)

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