hibernate template support