Is it possible in Hibernate/Spring to detach a JPA entity automatically and have it reattach if needed or is that not allowed by the spec.
At present in my code when I do