About modify

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. ... useful in situation when you are sure, that you won't modify those entities - like listing entities, paging, logging, reporting. ...

 
forum_thread

java.sql.Timestamp with milliseconds

Using JPA with other providers java.util.Date will not provide support to store milliseconds, this can usually be overcome using (see here http://docs.oracle.com/javase/1.5.0/docs/api/java/sql/Timestamp.html) @Id @Column(name = "STMP") @Temporal(TemporalType.TIMESTAMP) private Timestamp timestamp; However with ObjectDB the milliseconds are not being stored, as shown this is an ID field and I am encountering duplicate ID errors trying to create multiple entries in the same second. ... multiple entries in the same second. How can I modify my declaration to include milliseconds ? I am not particularly ...

 
forum_thread

ObjectDB version 2.2 has been released

ObjectDB 2.2 has been released and it includes important additions and fixes: #1 2011-04-03 09:11 ObjectDB 2.2 has been released and it includes important additions and fixes: Added full support o ...

 
api-jpa

select(expression)

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

 
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)

 
forum_thread

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 ... ? #1 2013-10-11 08:22 Hello, that's a strange error for me ... I have a detached object in my Java code and i just wanted t ...

 
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

makeDirty(pc, fieldName)

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

 
api-jdo

retrieveAll(useFetchPlan, pcs)

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

 
forum_thread

An ArrayIndexOutOfBoundsException with nested entities and enhanced entities

We have a new issue like the issue in the forum task http://www.objectdb.com/database/forum/1075. This issue is very important for us, because we want to create a release soon. ObjectDB version: 2.6.8_06 All our entities are enhanced. There are nested entities in following hierarchy: @Entity @Access (AccessType.FIELD) public abstract class ModifierImpl extends DataTypeImpl implements Modifier { #1 2016-08-01 15:17 We have a new issue like the issue in the forum task http://www.objectdb.com/database/forum/1075. This is ...