Thread:
 Keep it simple 
 christian   31 Oct 2006, 00:25 

Comment
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
From: christian (31 Oct 2006, 00:25) Replies: 0, Views: 24138
Subject: Keep it simple
Of course, DAOs should not include programmatic transaction demarcation, 
no matter which pattern-of-the-day you use to hide it.

At most, a DAO _can_ require a transaction context for particular methods. 
This is best expressed with metadata, e.g. EJB 3.0 annotations.
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
© Copyright 2006, Red Hat Middleware, LLC. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc. [Privacy Policy]