Forums Register Login

is there any metod in hibernatetemplate like queryforobject in jdbctemplat?

+Pie Number of slices to send: Send
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
and POOF! You're gone! But look, this tiny ad is still here:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 709 times.
Similar Threads
Using bind variables in Spring
Can i filter Result set
Spring JdbcTemplate issue for calling stored procedure
small problem with query
Steps to execute a query
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 11:56:14.