I am trying to get data from mysql table with hibernate. The problem is that in some column data is being fetched correctly but in some some null is the result. can any body provide me the solution for this.
Download the MySQL Gui tools and see what is in your database. Is the right information coming back?
My signature links lead to a variety of tutorials, all of which were tested on MySQL and Tomcat. You might want to go through them if you're learning.
Perhaps posting a snippet of your code, your annotations or your mapping file might give us a little more to work with. As of now, we know that sometimes it's null, sometimes it's not null. That's not alot to work with.