Comparing the runtime database connections between c/s app and installable cloud app

The following diagram shows you the comparison of runtime database connections between native c/s app and installable cloud app (using option #2):