openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Removing entity with Embedded field
Date Thu, 19 Feb 2009 12:37:02 GMT

I have a following beans:

class A {
int field1

class B {
long id;

int field2

A field3

When I trying to delete all instances of B entity from data storage by
"delete from B" I got:

1. Query ("select" statement) for all B instances
2. For each instance from 1. delete statement

Why this is not delete by simple "delete from B" sql statement?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message