I just started working in hibernate.
I have doubt in passing the object in criteria.
For example say, I have Product Model class.inside the Set<Bundle> bundles object.by passing the bundle object i want to get list of product class.
I passed like this,
product = (List<product>) criteria.list();
but i'm getting exception like this:
SEVERE: Servlet.service() for servlet [services] in context with path [/RJVServicesWeb] threw exception [Request processing failed; nested exception is org.hibernate.QueryTimeoutException: could not execute query] with root cause
java.sql.SQLException: ORA-01008: not all variables bound.