Hi Giulio, Yes, that is what I'm looking for. The only reason I can't commit it at this point is due to validation exceptions. My root entity does have many others related.
here's a snippet of my root entity. @Entity public class PurchaseRequest { @Id @GeneratedValue @NonVisual private Long id; @Transient private long tempId = UUID.randomUUID().getLeastSignificantBits(); @OneToMany(mappedBy = "purchaseRequest", cascade=CascadeType.ALL, orphanRemoval=true) private List<LineItem> lineItems; and some of my page code. private PurchaseRequest pr; @Inject //hibernate session private Session session; Class<?> onActivate(PurchaseRequest pr) { this.pr = pr; } void onValidate() { if (form.getHasErrors()) { session.persist(pr); } } -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-Hibernate-session-reattach-tp5584040p5586326.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org