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 ...
I have some Hibernate entities that I want to group by paramType and display the parameter type. Here is the controller.getAnalyticsCount() method:
paramType
controller.getAnalyticsCount()
public List<Analytic> getAnalyticCount() { Criteria criteria = ...