Hello,
we have following case:
All entities must be enhanced, because see Issue #303.
ToleranceDefinition and ResolverMapping are entities and have not any relations each other.
Before start transaction the ToleranceDefinition entities exist already in the database.
The transaction starts. All ResolverMapping entities are removed by a query (DELETE FROM ...), afterwards ResolverMapping entities are created and persisted again. The ResolverMapping entities are retrieved from database by a query with a result and after that a ToleranceDefinition entity is removed from database by entitymanager.remove(obj). Directly after remove we try to retrieve again the ResolverMapping entities from database and we get an empty result.
This is a data lost, why this behavior can occurs?