JPA thinks I'm deleting a detached object
- by Steve
So, I've got a DAO that I used to load and save my domain objects using JPA. I finally managed to get the transaction stuff working (with a bunch of help from the folks here...), now I've got another issue.
In my test case, I call my DAO to load a domain object with a given id, check that it got loaded and then call the same DAO to delete the…