Hi, Im uable to remove an object/post from database by using EntityManager.remove(). The console says Removing a detached instance. But post remainsin db. Is it even possible to remove a detached object? Im not getting why its detached, my code is simple.
| User user = (User) service.getUserById(34); | service.deleteUser(user); | where would my session/EntityManager be lost? Thanks for your time. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000523#4000523 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000523 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
