Home » Search

About delete

11-20 of 200Refresh
Manual
23

Database Explorer

window) and then pasted on a reference that has to be set. The functionality of the Edit > Delete command depends on the context. Deleting a reference field sets the value to null without deleting any referenced entity object. On the other hand, deleting an entity object that is represented by a child
Manual
23

Server User List

" ip="127.0.0.1" admin="true">
Manual
21

Working with JPA Entity Objects

requires using entity objects for many operations, including storing, retrieving, updating and deleting ... . A managed entity object can also be retrieved from the database and marked for deletion, by using ... Managed to Removed, and is physically deleted from the database during commit. More details on object
Forum
20

Handling deleted references

Hi support team, I have a problem when using DELETE query to delete Entity instances. We use ... has a profile. To reset a profile I run a DELETE query on the old profile , hoping that this would lead ... , which simply checks if the profile instance is such a "intermediate/deleted" instance. Is there a way
Forum
20

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 ... , when i am trying to delete the file using the followng code     File[] files = parentDir.listFiles();     for (File temp : files ) {         boolean deleted = file.delete(); // getting false
Issue
20

I can't get cascading delete to work in JDO

, but cascading delete does not, leaving orphan objects. Thank you for this report. Apparently cascading delete has never been implemented in ObjectDB (see also "Deleting Dependent Objects" on this old documentation page). Build 2.7.5_04 implements cascading delete in JDO. Your NetBeans project was converted
Issue
19

JPQL Update & Delete (JPA 1.0)

JPQL (Java Persistence Query Language) supports updating and deleting database objects by queries. Currently ObjectDB supports only JPQL SELECT (retrieval) queries. Delete queries are supported for JDOQL (JDO Query Language). spring-data-jpa uses delete queries to implement repository.deleteAll
Forum
19

Bulk Delete and Update - best practice?

The attached test creates 1000 large objects and then attempts to delete them all in one go using a DELETE statement. I'm trying to run with -Xmx512m but the test runs out of memory during the delete ... both tests with the default objectdb.conf. In general is an UPDATE/DELETE statement the most efficient way
Issue
19

Deleting archive log folder causes exception

Hello, we have observed strange behaviour when we delete odb archive log directory. We are running long term tests and during it we are deleting all logs that are not needed keeping the system running. When the "archive/" folder, where odb logs are archived, is deleted, the exceptions occur
Forum
19

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 You can execute a DELETE query:     em.createQuery("DELETE FROM MyEntity e").executeUpdate ... . The code “createQuery("DELETE FROM MyEntity e").executeUpdate();” works, but it can not reset id to zero