• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in getting data

 
Tarun Kumar
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Help us help you!

-Cameron McKenzie
 
Tarun Kumar
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Cameron
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic