layout hibernate integration