• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

data not saved

 
jacob deiter
Ranch Hand
Posts: 584
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my application(spring-Hibernate) based,Data saved by spring template and retrieve the saved data from spring Template.But if check the data in the table,no data found.I used flush method of spring-Template ,but no use
 
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
This could be any number of things.

Do you have any methods accidentally returning null somewhere, or a shadow variable that is messing things up? Perhaps your chain of command accidentally short circuits somewhere.

Are your transactions clearly beginning and ending? Is there any stack trace anywhere?

How are you debugging your code? Step through your code until you get to a point where things short circuit.

Also, is there any error message for us to look at? Do you see any SQL being pushed out to any log files?

Help us help you!

-Cameron McKenzie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic