About delete

91-100 of 200Refresh
JDO Doc
4

Value.deleteAction

Annotation Element javax.jdo.annotations.Value ForeignKeyAction deleteAction Delete action to apply to any foreign key for the value. Returns: delete action to apply to any foreign key for the value Default value: javax.jdo.annotations.ForeignKeyAction.UNSPECIFIED Since: JDO 2.1
JDO Doc
4

Value.dependent

Annotation Element javax.jdo.annotations.Value String dependent Whether the value is dependent on the owner (and will be deleted when the owner is deleted). Returns: whether the value is dependent on the owner Default value: "" Since: JDO 2.1
Issue
3

Removing of an entity removes also another entity type

. All ResolverMapping entities are removed by a query (DELETE FROM ...), afterwards ResolverMapping entities ... a query (DELETE FROM ...) then it performs. The data is not lost. This workaround prevent ... . Please note that mixing direct DELETE / UPDATE database queries with EntityManager's operations is known as
Forum
3

Date field Index is corrupted due to time change

Hi, can you shed some light on why we cannot delete data from the attached DB file. A delete ... that you got on an attempt to delete objects could happen with other operations as well. The common ... ).   The delete query we run is: DELETE FROM RecordingMetaData The exception is the same
Forum
3

Performance and memory usage of queries

requires so much memory. In the implementation of our UnitTests we have used "DELETE FROM Object" to delete ... .setFlushMode(FlushModeType.AUTO);   em.getTransaction().begin();   Query q = em.createQuery("DELETE ... had an issue several times with deleting many object at once. I didn't have time to report it, but I
Forum
3

Server closes if large query runs out of memory

if you can provide a memory heap snapshot. The memory problem occurred during JDO deletion query, and the temp threshold was set and was low (64mb).  There is an easy work-around, which is to divide up the deletion into smaller number of objects.  I understand that JPA bulk delete doesn't involve any object
Issue
3

Removed entities can be found by query in the same transaction

__odbtracker/m (type STA, value=Persistent-Deleted-Flushed) which shows that the entity is deleted ... what is the problem? best regards BTC If an entity was deleted from the database and the change ... - one with the deleted object and the other without the deleted object. Apparently the query
Issue
2

Blocked by find

to clear data for a particular id. The code looks like:    Query query = em.createQuery("DELETE FROM ... . Then it starts up 2 groups of 10 threads, one group is persisting more data, the other group is deleting the first set of data via delete statements. Eventually the test seems to grid to a halt - it needs
Issue
2

ClassCastException thrown when running count query

i have inserted. I'm currently evaluating your product. So i insert and delete a lot of data. I ... responsibility to avoid deletion from the database of objects that are still referenced by other objects ... a new build with the fix will be produced. The orphan Position records are there because i deleted some
JPA Doc
2

createNativeQuery(sqlString)

Method javax.persistence.EntityManager Query createNativeQuery(   String sqlString ) Create an instance of Query for executing a native SQL statement, e.g., for update or delete. Parameters: sqlString - a native SQL query string Returns: the new query instance Since: JPA 1.0