• +91 9723535972
  • info@interviewmaterial.com

Hibernate Interview Questions and Answers

Question - How can I bind a dynamic list of values into an in query expression?

Answer - Query q = s.createQuery("from foo in class Foo where foo.id in (:id_list)");q.setParameterList("id_list", fooIdList);List foos = q.list();

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners