Fixing spring hibernate wiring