This content has been marked as final.
Show 1 reply
-
1. Re: DAO and Entity Beans
wpernath May 18, 2007 6:16 PM (in response to anandnatraj)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