This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

is there any metod in hibernatetemplate like queryforobject in jdbctemplat?  RSS feed

 
Nagaraju Boddu
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is there any possibility that can i use hibernatetemplate and jdbc template in single program .i am using hibernate template to store data and retrieve the data, but when it comes to check user name and password. i am unable to check it... i am bit confused could you please help me.....  here like this private JdbcTemplate template;int i= template.queryForObject("select count(*) from login where username=? and password=?",Integer.class,s1);...... thanks in advance
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!