About delete

1-10 of 200Refresh
Manual
215

DELETE Queries in JPA/JPQL

As explained in chapter 2, entity objects can be deleted from the database by: Retrieving ... . Applying changes to the database by calling the commit method. JPQL DELETE queries provide an alternative way for deleting entity objects. Unlike SELECT queries, which are used to retrieve data from
Manual
202

Deleting JPA Entity Objects

Existing entity objects can be deleted from the database either explicitly by invoking the remove method or implicitly as a result of a cascade operation. Explicit Remove In order to delete an object ... transaction, it can be deleted using the remove method: Employee employee = em.find(Employee.class, 1
JDO Doc
53

InstanceLifecycleEvent.DELETE

Static Field javax.jdo.listener.InstanceLifecycleEvent int DELETE Since: JDO 2.0
JDO Doc
53

ObjectState.PERSISTENT_DELETED

Enum Constant javax.jdo.ObjectState PERSISTENT_DELETED Since: JDO 1.0
JDO Doc
53

ObjectState.PERSISTENT_NEW_DELETED

Enum Constant javax.jdo.ObjectState PERSISTENT_NEW_DELETED Since: JDO 1.0
Manual
42

Chapter 3 - Using JPA

Explains how to store, retrieve, update and delete entity objects using JPA.
Manual
25

CRUD Database Operations with JPA [2011-02-11]

it to store, retrieve, update and delete database objects. Storing New Entity Objects The following ... is a very powerful query language and chapter 4 of this manual describes it in detail. Updating and Deleting ... to retrieve them (e.g. as a Query factory). To delete an object from the database, you need to obtain
Manual
25

CRUD Database Operations with JPA

it to store, retrieve, update and delete database objects. Storing New Entity Objects The following ... is a very powerful query language and chapter 4 of this manual describes it in detail. Updating and Deleting ... to retrieve them (e.g. as a Query factory). To delete an object from the database, you need to obtain
Manual
25

Running JPA Queries [2011-09-21]

other case. In addition, the Query interface defines a method for running DELETE and UPDATE queries: Query.executeUpdate - for running only DELETE and UPDATE queries. Ordinary Query Execution ... and if there is any chance that these exceptions might be thrown they have to be caught and handled. DELETE
Manual
25

Running JPA Queries

other case. In addition, the Query interface defines a method for running DELETE and UPDATE queries: Query.executeUpdate - for running only DELETE and UPDATE queries. Ordinary Query Execution ... and if there is any chance that these exceptions might be thrown they have to be caught and handled. DELETE