Since the "open session in view" pattern have some drawbacks (see Why is hibernate open session in view considered a bad practice?), I am wondering what is considered the best approach in displaying results from a hibernate query to a jsp page? One method I thought of is put a list object in the request and output the contents to the jsp page. Are there other/better methods?
Aucun commentaire:
Enregistrer un commentaire