object « JPA « JSF Q&A





1. JSF 2.0 and hibernate adding new objects to a postgresql database    stackoverflow.com

I'm writing a JSF 2.0 application with Hibernate and Postgresql database. My problem is quite poor understanding on how to handle session with Hibernate when inserting data into more than one ...

2. Getting count of objects in a Hibernate Criteria Query to display in JSF    stackoverflow.com

I have some Hibernate entities that I want to group by paramType and display the parameter type. Here is the controller.getAnalyticsCount() method:

public List<Analytic> getAnalyticCount() {
    Criteria criteria = ...