I am trying to retrieve data using hibernate criteria in my Spring application. I had it working with a query in the hbm file but I need to use the hibernate criteria. I am passing one of the values for the Family class (Lastname = "Jones").
Here is part of my service code:
SessionFactory sessionFactory = new Configuration().configure()