configure basic hibernate support