jsp « Fetch « JPA Q&A

1. Single fetch with sorted results    stackoverflow.com

I have a code like this.

String[] idList = request.getParameterValues("id");

List list = BookDao.getInstance().getBookList(idList); //select r from Book r where r.id in :idList (using hibernate)
How can I retrieve a list of
list.get(0).getId() == ...

2. Retrieve/Show image (blob) on JSP    forum.hibernate.org

3. How to Retrieve image from MySQL and display in jsp    forum.hibernate.org

Hello another time, the solution that comment this morning runs fine. I had problems with transaction because retrieve the object that contains Blob inside, and later can't acces to this lazy member :P. If when BD acces retrieve de Blob object directly, and open a new session would have no problem. Bye!