1. How do you create a DAO class for Seam / JPA (hibernate)? stackoverflow.comI'm learning Seam and JPA/Hibernate and while I could find some examples on how to build a DAO class with Hibernate I'm a bit confused on how to do the same ... |
2. Trouble Injecting DAO Into Hibernate Validator seamframework.orgOriginally my problem was injecting my DAO, but that seems to be working fine with the manual lookup. Everything seems to work fine until flush() is called on my EntityManager, at which point the process flow gets stuck in an infinite loop bouncing back and forth from my custom validator class to my DAO method, eventually resulting in a StackOverflowException. |