Fast Object Database for Java - with JPA/JDO support

About delete

1-10 of 200 resultsRefresh
277

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
265

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
64

ObjectState.PERSISTENT_NEW_DELETED

Enum Constant javax.jdo.ObjectState PERSISTENT_NEW_DELETED Since: JDO 1.0
64

ObjectState.PERSISTENT_DELETED

Enum Constant javax.jdo.ObjectState PERSISTENT_DELETED Since: JDO 1.0
64

InstanceLifecycleEvent.DELETE

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

[ODB1] Chapter 6 - Persistent Objects

is automatically stored in the database when the transaction is committed (unless it is being deleted ... the object exists in the database. If an object is deleted from the database, its unique ID ... operation of bind(...), because the object is not deleted from the database, just its name is removed
32

[ODB1] Chapter 9 - ObjectDB Explorer

Explorer. In this way, the edited script will not be deleted when extracting files of a newer ... the context menus), you can copy, cut, paste, delete and rename directories and files. You can also use ... the same "File | Load New Classes" command. You can also delete or rename a selected persistent class using
30

Delete object from collection versus delete from JPQL

persist() to write them to the database. But does running a JPQL update or delete alter the in-memory ... and DELETE queries bypass the EntityManager entity object management, and accordingly break the synchronization between memory and database objects. See these manual pages for more details: DELETE
30

Deletion of an entry via the table window always deletes the last entry not the selected one

and prex "Del" or use right click "Delete" the last entry of the table is removed and not the selected ... you for your report but unfortunately we cannot reproduce it (e.g. deleting the first row in a table of two rows deletes the first row as expected). More information about this issue may help. support
29

[ODB1] Chapter 8 - ObjectDB Server

. In this way, the edited script will not be deleted when extracting the files of a newer ObjectDB ... ="+" delete="+" /> The server ... .0.1"> delete

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support