| Author |
Problem in getting data
|
Tarun Kumar
Greenhorn
Joined: Apr 30, 2008
Posts: 26
|
|
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.
|
Tarun Kumar
|
 |
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Joined: Aug 26, 2006
Posts: 4967
|
|
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
|
Author of Hibernate Made Easy, What is WebSphere???, JSF 2.0 Made Easy and the SCJA Certification Guides
|
 |
Tarun Kumar
Greenhorn
Joined: Apr 30, 2008
Posts: 26
|
|
|
Thanks Cameron
|
 |
 |
|
|
subject: Problem in getting data
|
|
|