I'm new to Flex and Adobe AIR, but I'm writing a desktop application that will need to connect and query commercial databases such as DB2, SQL Server and Oracle. How do I connect to these type of databases from ActionScript in an AIR application?
Sql – Connecting to commercial databases from an Adobe AIR application
actionscript-3airapache-flexdb2sql server
Best Answer
You really can't do it nicely, AIR is meant to use web servers as data sources not DBs, and there are no DB drivers in actionscript ready. That being said there are a few things that you can try:
All in all, if you want to use DB-s as data sources AIR should probably not be your choice for a project.