I've seen it written that the Hibernate second-level cache is only used when invoking the load
method. I can't find any conclusive answers about whether it's used when calling get
, which the GenericDAO project we've integrated with uses primarily.
Is the second-level cache used when calling org.hibernate.Session.get(Class clazz, Serializable id)
?