I am using the new UI Automation in xCode 7/iOS 9 and I would like to verify some results in an Oracle Database. Is this possible to do in Swift? If not what are my other solutions?
Accepted Reply
FYI for those wondering:
In most environments, direct DB access from a mobile device is discouraged (to put it mildly). Because of this, there is almost no pressure to create direct database access libraries for the mobile platforms.
The *suggested* models are to implement the data access as web services and to consume them on mobile via https:// and JSON or XML. I don't agree with this but.. what can you do
Replies
FYI for those wondering:
In most environments, direct DB access from a mobile device is discouraged (to put it mildly). Because of this, there is almost no pressure to create direct database access libraries for the mobile platforms.
The *suggested* models are to implement the data access as web services and to consume them on mobile via https:// and JSON or XML. I don't agree with this but.. what can you do
you can use Vapor backend for API. Here is an example you can follow https://github.com/iliasaz/vapor-oracle In addition to that you have to install several libraries, follow this link for guidance https://stackoverflow.com/questions/42960601/connecting-to-oracle-database-using-server-side-swift
Now generate API and use it in your app