Kengkaj Sathianpantarit wrote:
BlogDao should save blog, not save post.
It should be like this:
Kengkaj Sathianpantarit wrote:
Are you sure you have data in database?
Can you also post your mapping file?
Mark Spritzler wrote:
Can you remote debug and check line 9 where you call blogDao.getBlog(blogId) and stop past the line and examine the blog object in your debugger.
Mark Spritzler wrote:
Also can you post your code that is in the getBlog() method so that we can see your query you are running, but only if you find after you remote debug that the blog object returned doesn't have the correct data.