62 lines
2.9 KiB
TOML
62 lines
2.9 KiB
TOML
description = "Ada Database Objects (Core library)"
|
|
tags = ["database", "uml", "sql"]
|
|
name = "ado"
|
|
version = "2.3.0"
|
|
licenses = "Apache-2.0"
|
|
authors = ["Stephane.Carrez@gmail.com"]
|
|
maintainers = ["Stephane.Carrez@gmail.com"]
|
|
maintainers-logins = ["stcarrez"]
|
|
project-files = [".alire/ado.gpr"]
|
|
website = "https://gitlab.com/stcarrez/ada-ado"
|
|
long-description = """
|
|
|
|
[](https://jenkins.vacs.fr/job/Ada-ADO/)
|
|
[](https://jenkins.vacs.fr/job/Ada-ADO/)
|
|
[](https://codecov.io/gh/stcarrez/ada-ado)
|
|
[](https://ada-ado.readthedocs.io/en/latest/?badge=latest)
|
|
|
|
Ada Database Objects is an Ada05 library that provides
|
|
object relational mapping to access a database in Ada05.
|
|
The library supports Postgresql, MySQL, SQLite as databases.
|
|
Most of the concepts developped for ADO come from the Java Hibernate ORM.
|
|
|
|
The ORM uses an YAML, XML mapping file or an UML model, a code generator and a runtime library
|
|
for the implementation. It provides a database driver for [Postgresql](https://www.postgresql.org/),
|
|
[MySQL](https://www.mysql.com/) and [SQLite](https://www.sqlite.org/). The ORM helps your
|
|
application by providing a mapping of your database tables directly in the target programming
|
|
language: Ada05 in our case. The development process is the following:
|
|
|
|
* You design your database model either using a UML tool or by writing a YAML or XML description,
|
|
* You generate the Ada05 mapping files by using the [Dynamo](https://github.com/stcarrez/dynamo) code generator,
|
|
* You generate the SQL database tables by using the same tool,
|
|
* You write your application on top of the generated code that gives you direct and simplified access to your database.
|
|
|
|

|
|
|
|
You need at least one of these databases (or all of then). The configure script will now
|
|
fail if no supported database was found. Check the [Database Drivers](#database-drivers)
|
|
section to install them and run the configure again after the installation.
|
|
|
|
# Documentation
|
|
|
|
* [Ada Database Objects Programmer's Guide](https://ada-ado.readthedocs.io/en/latest/)
|
|
* [Persistence with Ada Database Objects](https://fr.slideshare.net/StephaneCarrez1/persistence-with-ada-database-objects-ado) FOSDEM 2019
|
|
|
|
"""
|
|
|
|
[[depends-on]]
|
|
utilada = "^2.5.0"
|
|
utilada_xml = "^2.5.0"
|
|
|
|
[gpr-externals]
|
|
ADO_LIBRARY_TYPE = ["relocatable", "static", "static-pic"]
|
|
BUILD = ["distrib", "debug", "optimize", "profile", "coverage"]
|
|
|
|
[configuration]
|
|
disabled = true
|
|
|
|
[origin]
|
|
commit = "a59fa70f33f842a76bbe68bfcdc97ada1add756c"
|
|
url = "git+https://gitlab.com/stcarrez/ada-ado.git"
|
|
|