|
| 1 | +description = "Ada Database Objects (Core library)" |
| 2 | +tags = ["database", "uml", "sql"] |
| 3 | +name = "ado" |
| 4 | +version = "2.1.1" |
| 5 | +licenses = ["Apache 2.0"] |
| 6 | +authors = ["Stephane.Carrez@gmail.com"] |
| 7 | +maintainers = ["Stephane.Carrez@gmail.com"] |
| 8 | +maintainers-logins = ["stcarrez"] |
| 9 | +project-files = [".alire/ado.gpr"] |
| 10 | +website = "https://gitlab.com/stcarrez/ada-ado" |
| 11 | +long-description = """ |
| 12 | +
|
| 13 | +[](https://jenkins.vacs.fr/job/Ada-ADO/) |
| 14 | +[](https://jenkins.vacs.fr/job/Ada-ADO/) |
| 15 | +[](https://codecov.io/gh/stcarrez/ada-ado) |
| 16 | +[](https://ada-ado.readthedocs.io/en/latest/?badge=latest) |
| 17 | +
|
| 18 | +Ada Database Objects is an Ada05 library that provides |
| 19 | +object relational mapping to access a database in Ada05. |
| 20 | +The library supports Postgresql, MySQL, SQLite as databases. |
| 21 | +Most of the concepts developped for ADO come from the Java Hibernate ORM. |
| 22 | +
|
| 23 | +The ORM uses an YAML, XML mapping file or an UML model, a code generator and a runtime library |
| 24 | +for the implementation. It provides a database driver for [Postgresql](https://www.postgresql.org/), |
| 25 | +[MySQL](https://www.mysql.com/) and [SQLite](https://www.sqlite.org/). The ORM helps your |
| 26 | +application by providing a mapping of your database tables directly in the target programming |
| 27 | +language: Ada05 in our case. The development process is the following: |
| 28 | +
|
| 29 | + * You design your database model either using a UML tool or by writing a YAML or XML description, |
| 30 | + * You generate the Ada05 mapping files by using the [Dynamo](https://github.com/stcarrez/dynamo) code generator, |
| 31 | + * You generate the SQL database tables by using the same tool, |
| 32 | + * You write your application on top of the generated code that gives you direct and simplified access to your database. |
| 33 | +
|
| 34 | + |
| 35 | +
|
| 36 | +You need at least one of these databases (or all of then). The configure script will now |
| 37 | +fail if no supported database was found. Check the [Database Drivers](#database-drivers) |
| 38 | +section to install them and run the configure again after the installation. |
| 39 | +
|
| 40 | +# Documentation |
| 41 | +
|
| 42 | + * [Ada Database Objects Programmer's Guide](https://ada-ado.readthedocs.io/en/latest/) |
| 43 | + * [Persistence with Ada Database Objects](https://fr.slideshare.net/StephaneCarrez1/persistence-with-ada-database-objects-ado) FOSDEM 2019 |
| 44 | +
|
| 45 | +""" |
| 46 | + |
| 47 | +[[depends-on]] |
| 48 | +utilada = "^2.3.0" |
| 49 | +utilada_xml = "^2.3.0" |
| 50 | + |
| 51 | +[gpr-externals] |
| 52 | +ADO_LIBRARY_TYPE = ["relocatable", "static", "static-pic"] |
| 53 | +BUILD = ["distrib", "debug", "optimize", "profile", "coverage"] |
0 commit comments