About delete

manual

DELETE Queries in JPA/JPQL

Explains how to apply server side bulk delete using a JPA/JPQL query.... by calling the commit method. JPQL DELETE queries provide an alternative way for deleting entity ... which are used to retrieve data from the database, DELETE queries do not retrieve data from the database, but when executed, delete specified entity objects from the database. Removing entity ...

 
manual

Deleting JPA Entity Objects

Explains how to use JPA to delete (remove) entity objects from the database.... Remove Orphan Removal DELETE Queries Explicit Remove In order to delete an object from the database it has to first be retrieved (no matter ...

 
forum_thread

Delete object from collection versus delete from JPQL

I'm a newbie, so this is a pretty fundamental question. I'm not sure if there is a bi-directional relationship between the objects in memory and ObjectDB.  I know I can modify the objects and use persist() to write them to the database.  But does running a JPQL update or delete alter the in-memory objects? There are cases where the JPQL syntax is more expressive than operating on a collection, but I'm not sure if that will alter my program state.  Will it? Thanks, Lee  ... to the database.  But does running a JPQL update or delete alter the in-memory objects? There are cases where the JPQL ... edit delete greymatter ...

 
manual

CRUD Operations with JPA

Explains how to use JPA for CRUD database operations (persist, retrieve, update, remove). The following subsections explain how to use JPA for CRUD database operations: Storing JPA Entity Objects Retrieving JPA Entity Objects Updating JPA Entity Objects Deleting JPA Entity Objects ...

 
manual

Chapter 3 - Using JPA

Explains how to store, retrieve, update and delete entity objects using JPA. This chapter explains how to manage ObjectDB databases using the Java Persistence API (JPA). The first two pages introduce basic JPA interfaces and concepts: Database Connection using JPA Working with JPA Entity Objects ...

 
forum_thread

Unable to delete the .odb file programatically

Hi, I created the test.odb file, read the contents and now trying the delete the odb file using objectd2.x. I see the folder there are two files created test.odb and test.odb$. Using the following code to delte the odb files ... the test.odb file, read the contents and now trying the delete the odb file using objectd2.x. I see the folder there are two ...   After executing the above code, when i am trying to delete the file using the followng code File [ ] files ...

 
forum_thread

Attempt to open a non existing file '/tmp/objectdb_xxxx/SortQueryItr_6.mrg'

Hi, I came across an error - but i have not been able to create a simple reproducible case - the error does not happen often and does not happen always -  Let me explain: 1/ I run 5 java applications at the same time on one machine - each application is using an ODB file (each one is using a different one). Basically each application does a sorted query ( qqq = em.createQuery("SELECT bk FROM OBN bk ORDER BY bk.time ASC", OBN); ) 2/ after a little while - some of the applications throws this error message: ... edit delete EKK EKK ... When a process starts it tries to delete temporary files of other processes that are not locked (active temporary ...

 
forum_thread

Handling deleted references

Hi support team, I have a problem when using DELETE query to delete Entity instances. We use the following hierarchy: ... Hi support team, I have a problem when using DELETE query to delete Entity instances. We use the following hierarchy: class ...

 
forum_thread

Is there a function of "drop table" or "delete from table"?

Besides the em.remove() one by one, is there a function of "drop table" or "delete from table"? TIA ... one by one, is there a function of "drop table" or "delete from table"? TIA Institute of Computer ... edit delete gzdillon ...

 
issue

JPQL Update & Delete (JPA 1.0)

The JPQL (Java Persistence Query Language) supports updating and deleting database objects by queries. Currently ObjectDB supports only JPQL SELECT queries.Delete queries are supported for JDOQL (JDO Query Language).... ObjectDB supports only JPQL SELECT (retrieval) queries. Delete queries are supported for JDOQL (JDO Query Language). ... edit delete support ...