Home » Search

About delete

21-30 of 200Refresh
Forum
22

Cascading delete

Is there a configuration parameter to set this? You can set cascade delete using annotations (see also the Orphan Removal section). JDO defines similar annotations, and both JPA and JDO support ... . You cannot set global cascade delete since that will be too risky - you may delete the entire database. dmoshal
Forum
22

Delete class from DB - through Explorer

Hi! I was looking for ways to delete a class (entity/embedded) from a database through Explorer ... is to delete the whole db and make a new one, but that's not a good scenario ... . However, it only affects the list of classes in the Explorer, so you may just ignore the deleted class
Issue
22

Issue with cascade delete & add/remove

of Address which cascades deletes (orphanRemoval=true) to its children which is what we want ... it has never been deleted from the collection (at least, until the transaction is comitted ... Entities within the collection of a Contact when we delete the Contact? Is that cascaded or do we need
Forum
21

Cascade delete with unidirectional mapping

    Suppose entity A is referenced from entity B, like (A -> * B) but not actually having that reference, instead only B has @ManyToOne relationship to A and A has none. Is there a way to cascade delete of B's when deleting A? Or this should be done programatically with separate call to database
Forum
21

Need disk usage and delete some old files

    Hello , is it possible to get disk usage of database ? If disk usage becomes too high , delete old date files from database. And recalculate disk usage back ?   Since an ObjectDB database ... , please open a new forum thread, since this thread is titled "Need disk usage and delete some old files" and should be focus only on that subject. kadirbasol
Issue
21

delete of a collection in explorer changes type

accidently we used the option delete on a collection of type ArrayList. On doing so the type changed to List. we are using explorer version 2.7.1_02 How can we change that back again ? Is it only an issue with the type of the field as shown by the Explorer or
Forum
21

How to delete M2M relationship?

.ALL)     private Set timeslots = new HashSet(); And i would like to delete the timeslots..i've tried
Manual
18

JPA Query Structure (JPQL / Criteria)

(update and delete queries have a slightly different form). The other JPQL clauses, WHERE, GROUP BY, HAVING and ORDER BY are optional. The structure of JPQL DELETE and UPDATE queries is simpler: DELETE
Manual
15

Chapter 1 - Quick Tour

ObjectDB databases and perform basic CRUD operations (Create/Store, Retrieve, Update and Delete ... , retrieving, updating and deleting Point objects. To run the sample program of this chapter in
Manual
15

Database Connection using JPA

. drop - for deleting any existing database content (useful for tests). To connect to an ObjectDB server ... ); EntityTransaction Operations that affect the content of the database (store, update, delete