ObjectDB ObjectDB

Internal Website Search

1-10 of 20 resultsRefresh
41

Deleting JPA Entity Objects

object references, if any). Orphan Removal JPA 2 supports an additional and more aggressive remove ... of orphan removal this feature should only be enabled for fields that hold private non shared dependent objects. Orphan removal can also be set for collection and map fields. For example: @Entity class
20

How to Remove records from many to many relationship tables in JPA

searching some forums i got syntax like @Cascade(org.hibernate.annotations.CascadeType.DELETE_ORPHAN ... , CascadeType.REMOVE}) @Cascade(org.hibernate.annotations.CascadeType.DELETE_ORPHAN) private List ... = CascadeType.ALL) @Cascade(org.hibernate.annotations.CascadeType.DELETE_ORPHAN) private
16

Issue with orphanRemoval and multiple EntityManagers

. Detecting orphan objects in reflection mode. This is fixed now in build 2.3.7_13. Notice that the test ... . But since the 2 modes use separate code in many areas (e.g. detecting orphan entities) bugs are not
16

OrphanRemoval not working?

this has no effect... Is there any mistake? Thank you Michael anaq x Orphan removal was not handled by ObjectDB ... modifications should be done on the owner side, but in the case of orphan removal the remove
16

How best to unbind all names?

(); The volumes of items could be large so I am concerned that I will get a build-up of "orphan ... . This will also solve the orphan problem. support Support Yes, I was using Utilities.bind. The reason
16

Question: remove and recreate an object, do the references survive ?

that would remove the orphane references) ? hgzwicker Hans-Georg Zwicker References should survive ... Doctor without cleaning the orphane objects ? hgzwicker Hans-Georg Zwicker Currently not
11

Optimistic locking: prevent version increment on entity collection attribute

the Document entity removes the Readings from the DB as if I had a cascading remove with orphan remove
11

Handling deleted references

you may consider using orphan removal. support Support Hi, yes I know that the application
3

ClassCastException thrown when running count query

will be produced. support Support The orphan Position records are there because i deleted some Units ... DELETE. I then tried to delete the orphans. Without success. Try this query: DELETE FROM Position
3

New Java 8 (JDK 1.8) Collection Methods

is that orphan removal does not happen as a result of removing a reference to an object (which becomes an orphan) using the new methods: removeIf(predicate) and remove(key, value). support Support

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