Home » Search

About update

91-100 of 200Refresh
Forum
3

Database Inconsistency or corruption

2.6.8_02 im embedded mode. The problem is that data gets lost when updating an entity. 1 ... to the referenced Attributes and from the Attributes to the Values. Updating an ObjectValue means updating the referenced Attributes. Updating an Attribute means replacing a referenced Value with a new Value
Forum
3

Query results are not up to date for entities, not primitives

updates. But, when using the JPQL Query, the list are refreshed, and, when I querying for primitive fields like Strings, the list of primitives are loading refreshed too. Any variations on update ... the queries and explain how updates are performed? Note that updates by queries bypass the cache
JDO Doc
3

Element.updateAction

Annotation Element javax.jdo.annotations.Element ForeignKeyAction updateAction Update action to apply to any foreign key for the element Returns: update action to apply to any foreign key for the element Default value: javax.jdo.annotations.ForeignKeyAction.UNSPECIFIED Since: JDO 2.1
JPA Doc
3

executeUpdate()

Method javax.persistence.Query int executeUpdate() Execute an update or delete statement. Returns: the number of entities updated or deleted Throws: IllegalStateException - if called for a Java Persistence query language SELECT statement or for a criteria query TransactionRequiredException
JDO Doc
3

ForeignKey.updateAction

Annotation Element javax.jdo.annotations.ForeignKey ForeignKeyAction updateAction The update action of this foreign key. Returns: the update action of this foreign key Default value: javax.jdo.annotations.ForeignKeyAction.RESTRICT Since: JDO 2.1
JDO Doc
3

javax.jdo.PersistenceManagerFactory

is to be considered read-only. ReadOnly set to false specifies that no updates can be performed to the datastore, and if updates are attempted a JDOReadOnlyException is thrown. Parameters: flag - Since: JDO 2
JPA Doc
3

javax.persistence.EntityManager

., for update or delete. Create an instance of Query for executing a native SQL statement, e.g., for update or delete. Parameters: sqlString - a native SQL query string Returns: the new query instance
JPA Doc
3

javax.persistence.FlushModeType

object, the persistence provider is responsible for ensuring that all updates to the state ... of updates made to entities in the persistence context upon queries is unspecified
JDO Doc
3

Key.updateAction

Annotation Element javax.jdo.annotations.Key ForeignKeyAction updateAction Update action to apply to the foreign key for the key. Returns: update action to apply to the foreign key for the key Default value: javax.jdo.annotations.ForeignKeyAction.UNSPECIFIED Since: JDO 2.1
JDO Doc
3

setReadOnly(flag)

Method javax.jdo.PersistenceManagerFactory void setReadOnly(   boolean flag ) Sets the value for whether the datastore is to be considered read-only. ReadOnly set to false specifies that no updates can be performed to the datastore, and if updates are attempted a JDOReadOnlyException is thrown. Parameters: flag - Since: JDO 2.2 See Also: getReadOnly()