Q14 - Standards Development Plan, Ada Interfaces to SQL: Analysis and Recommendations
Abstract
This report provides a description of the SQL Ada Module Extension approach to providing an interface from Ada to SQL. The SAME is recommended to STARS (Software Technology for Adaptable Reliable Systems) as the best available means of providing this interface. The SAME is an extension of the SQL module approach, which is based upon the premise that Ada and SQL are separate languages, and should be programmed in separate source streams and compiled in their native environments. The interface between Ada applications and SQL queries is just that: an abstract interface, rather than the more murky interfaces presented by the popular embedded approaches. Perhaps the single most compelling advantage of the module approach is that it neatly bypasses many of the conceptual difficulties created by source level interweaving of languages (Ada and SQL) of significantly different typing and computational models. At this time a working SAME support library is available, and has been used in Q14 to develop Ada-SQL applications using an INGRES relational DBMS. There is reason to believe that the SAME could be used today in the development of Ada applications requiring access to SQL databases. Further, the SEI is currently developing a SAME compiler which will automate the construction of the Ada-SQL interfaces which characterize the module approach. Also included in this report is a detailed description of the criteria by which the SAME approach was compared with the WIS Ada/SQL approach. (kr)
Document Details
- Document Type
- Technical Report
- Publication Date
- Mar 20, 1989
- Accession Number
- ADA228824