Create persistence configuration.