Internal Website Search

11-20 of 200 resultsRefresh

Slave server not getting deletes

, but when I do a delete query, the records don't get deleted "delete from TestTable t " When I insert a record, then delete it, then re-insert it again, the slave server will give this error because the record did not get deleted.  It got deleted on the master

Handling deleted references

Hi support team, I have a problem when using DELETE query to delete ... run a DELETE query on the old profile , hoping that this would lead to the field "profile" set ... if the profile instance is such a "intermediate/deleted" instance. Is there a way to safely

Unable to delete the .odb file programatically

the delete the odb file using objectd2.x. I see the folder there are two files created test.odb ... to delete the file using the followng code     File ... ;      boolean deleted = file.delete(); // getting false value

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. The attachment also contains an update test which has similar memory

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 gzdillon Lai Yang You can execute a DELETE query:     em.createQuery("DELETE FROM MyEntity e

Running JPA Queries

> In addition, the Query interface defines a method for running DELETE and UPDATE ... - for running only DELETE and UPDATE queries. DELETE and UPDATE Query Execution

CRUD Database Operations with JPA

it to store, retrieve, update and delete database objects. Storing New Entity Objects Updating and Deleting Entities JPA refers to entity objects ... to retrieve them (e.g. as a Query factory). To delete an object from the database

I can't get cascading delete to work in JDO

works, but cascading delete does not, leaving orphan objects. sjzlondon Steve Zara Thank you for this report. Apparently cascading delete has never been implemented in ObjectDB (see also "Deleting Dependent Objects" on deleting_persistent_objects

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 ... uses delete queries to implement repository.deleteAll() public static

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 ... are archived, is deleted, the exceptions occur: [2014-01-08 18:53:55