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.