How I can use searching by Hibernate with Java
Posted
by ruby
on Stack Overflow
See other posts from Stack Overflow
or by ruby
Published on 2010-03-29T19:56:53Z
Indexed on
2010/03/29
20:33 UTC
Read the original article
Hit count: 337
Hi All ; I want to make searching on my database with hibernate in Java, how can I do that?
Normally when I am using JDBC I wrote this code :
String Sql="select * from table1 where id like '"+jTextField1.getText()+"%'";
but I want to do that with hibernate database operation,
do I need to use session.load(..)
?
Thanks from now...
© Stack Overflow or respective owner