object « Seam « JPA Q&A





1. Clone hibernate object within conversation still get LazyIn...    seamframework.org

I don't know how your model is organized, but generally you should be able to implement undo by reloading the root object from the DB. That way all intermediate state(adding/removing from collections, changing properties, etc.) will be lost, and you can start over. If you are saving intermediate results in your wizard, this gets tricky though: you have to trace your ...

3. Inject Hibernate Session object in EJB    seamframework.org

Hi every one.I have a problem.I cant inject Hibernate Session onject in Stateless EJB.I use Seam 2.2.0 and jBoss 5.1 AS.Here my configuration files.hibernate.cfg.xml` 10 com.mysql.jdbc.Driver jdbc:mysql://localhost/seam surly true org.hibernate.dialect.MySQLDialect true pojo java:comp:/hibernateSessionFactory seam_testDatasource org.hibernate.transaction.JBossTransactionManagerLookup org.hibernate.transaction.JTATransactionFactory ...

4. Update Hibernate Objects    seamframework.org