JPA « Session « JSF Q&A





1. Hibernate Session closed problem!    stackoverflow.com

The function below is the actionListener for a button I have in my web application, I am deleting the old chosen rows from a table in a database and inserting the ...

3. Error while accessing hibernate session through JSF    coderanch.com

Hi, I am new to JSF as well as Hibernate. What I am trying to do is as follows: I have a Java app, which is using Hibernate to access a database. The Java app itself is running fine, I have tested it. Now, I want to develop a Web App, with UI using JSF. I will accept 2 input parameters ...

4. JSF/Hibernate: How do i manage hibernate sessions in JSF?    forum.hibernate.org

Hello, to solve this kind of issues the Seam framework was created, standardized now as CDI (Seam 3 core is named Weld, the reference implementation of CDI). please see http://www.seamframework.org. Alternatively if you're using JPA in JavaEE6 look for the extended persistence context, that's the same pattern used in Seam: you get a persistence context (similar to Session) associated to your ...