Yes, you can use POJO and dao pattern, which I've done most of the time with my Hibernate work. However, if you do that, then consider using springs "HibernateDaoSupport" instead of getCurrentSession for session management. You cannot use getCurrentSession unless you or the container has set up a JTA Transaction.
I hope that helps! - John View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882175#3882175 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882175 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
