About delete

81-90 of 200Refresh
JPA Doc
4

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
4

ForeignKey.deleteAction

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

javax.jdo.ObjectState

ObjectState PERSISTENT_CLEAN Since: JDO 1.0 ObjectState PERSISTENT_DELETED Since: JDO 1.0 ObjectState ... _DELETED Since: JDO 1.0 ObjectState PERSISTENT_NONTRANSACTIONAL_DIRTY Since: JDO 1.0 ObjectState
JPA Doc
4

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
4

javax.persistence.LockModeType

. Another transaction T2 then modifies or deletes that row, before T1 has committed. Both transactions eventually ... reads a row. Another transaction T2 then modifies or deletes that row, before T1 has committed or rolled
JDO Doc
4

Join.deleteAction

Annotation Element javax.jdo.annotations.Join ForeignKeyAction deleteAction Delete action to be applied to any ForeignKey on this join. Returns: the delete action Default value: javax.jdo.annotations.ForeignKeyAction.UNSPECIFIED Since: JDO 2.1
JDO Doc
4

Key.deleteAction

Annotation Element javax.jdo.annotations.Key ForeignKeyAction deleteAction Delete action to apply to the foreign key for the key. Returns: delete action to apply to the foreign key for the key Default value: javax.jdo.annotations.ForeignKeyAction.UNSPECIFIED Since: JDO 2.1
JDO Doc
4

Key.dependent

Annotation Element javax.jdo.annotations.Key String dependent Whether the key is dependent on the owner (and will be deleted when the owner is deleted). Returns: whether the key is dependent on the owner Default value: "" Since: JDO 2.1
JDO Doc
4

Persistent.dependent

Annotation Element javax.jdo.annotations.Persistent String dependent Whether related object(s) of this member are dependent and so deleted when this object is deleted. Returns: whether the related object(s) of this member are dependent Default value: "" Since: JDO 2.1
JDO Doc
4

preDelete(event)

Method javax.jdo.listener.DeleteLifecycleListener void preDelete(   InstanceLifecycleEvent event ) Invoked whenever a persistent instance is deleted, for example during javax.jdo.PersistenceManager ... the instance callback DeleteCallback.jdoPreDelete. Parameters: event - the delete event. Since: JDO 2.0