Home » Search

About removal

31-40 of 200Refresh
Forum
19

Removing entity class

into 10 entities limit. My question is: Is it possible to remove entity/table completely from ... Regards Milan Unfortunately removing a class is currently unsupported. You will have to create a new
Forum
19

The exception "Attempt to remove a detached entity object" have no information about the entity

Hello, the exception "Attempt to remove a detached entity object" have no information about the detached entity. It is very hard, especially if the involved entities uses cascading, to find the removed call for the detached entity.   It would be very helpful if you can add a few information
Issue
19

Allow removal of entity class from ObjectDB & Explorer

to its data structure. When an entity class becomes unnecessary, we should be able to remove
Issue
19

Persist & remove in same transaction

Remove the entity object, EntityManager is flushed & cleared, Transaction is not committed Count
Manual
18

Shared (L2) Entity Cache

can be removed from the cache by one of the evict methods: // Remove a specific entity object from the shared cache: cache.evict(MyEntity.class, Long.valueOf(id)); // Remove all the instances ... by removing all the cached entity objects: cache.evictAll(); The Cache interface and its methods are unnecessary in most applications.
Manual
18

CRUD Database Operations with JPA

a managed object (usually by retrieval) and invoke the remove method within the context of an active transaction: em.getTransaction().begin(); em.remove(p); // delete entity em.getTransaction ... object is marked for deletion by the remove method and is physically deleted from the database
Manual
13

Database Schema Evolution

Modifications to entity classes that do not change their persistent field definitions (their schema) are transparent to ObjectDB. This includes adding, removing and modifying constructors, methods ... the hierarchy, removing an intermediate class in the hierarchy, etc.). Convertible Types When an old