add hibernate metadata factory