[jboss-user] [J2EE Design Patterns] - Re: DAO and Entity Beans
wpernath
do-not-reply at jboss.com
Fri May 18 18:16:34 EDT 2007
Hi,
there are some things you should keep in mind when you are doing things like this. ;-)
- Are you mixing user transactions with CMT?
- Is SomeDAO.insert() committing the data to the database?
- What are the CMT settings of the findByPrimaryKey() method?
- And what are the CMT settings of the createSomeInfoMethod()?
What I want to say is: Only if the DAO method has really committed the data, you are able to read them using an entity finder.
HTH,
Wanja
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046949#4046949
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046949
More information about the jboss-user
mailing list