Quantcast
Channel: Planet Apache
Viewing all articles
Browse latest Browse all 9364

Apache Wicket Community News: Detect attached models and entities in your component hierarchy

$
0
0
Adrian Cox asked a great question over at StackOverflow on how to prevent (Hibernate) entities from being attached to your Wicket component tree, thus generating all those nasty exceptions like StaleObjectException, LazyInitException and the like: JPA managed objects must not be stored in the session. Instead, JPA managed objects are loaded on each request through [...]

Viewing all articles
Browse latest Browse all 9364

Trending Articles