The Ada Database Objects is a library that allows to easily access database contents for Ada applications.
Ada Database Objects 1.0.0 is available
By Stephane Carrez2014-04-27 15:52:00
From a UML class diagram model, the Dynamo code generator generates the Ada mapping files for UML classes. A UML class represents a database table and the generator defines an Ada tagged record in the mapping file to give access to the table. Saving a database record is as simple as invoking the Set
procedure generated for each class attribute and calling the Save
operation to persist the record in the database.
with Samples.User.Model;
with ADO.Sessions;
...
DB : ADO.Sessions.Master_Session
User : Samples.User.Model.User_Ref;
...
User.Set_Name (Name);
User.Set_Email (Email);
User.Set_Description ("My friend " & Name);
User.Set_Status (0);
User.Save (DB);
The version 1.0.0 of the library brings the following improvements:
- Support to load query results in Ada bean datasets
- Added support to load dynamic database drivers
- Port on FreeBSD
- Support for the creation of Debian packages
Debian packages are provided in the http://apt.vacs.fr/ubuntu-raring and http://apt.vacs.fr/ubuntu-precise repository.
You can download the new version at http://download.vacs.fr/ada-ado/ada-ado-1.0.0.tar.gz
Tags
- Facelet
- NetBSD
- framework
- Mysql
- generator
- files
- application
- gcc
- ReadyNAS
- Security
- binutils
- ELF
- JSF
- Java
- bacula
- Tutorial
- Apache
- COFF
- collaboration
- planning
- project
- upgrade
- AWA
- C
- EL
- J2EE
- UML
- php
- symfony
- Ethernet
- Ada
- FreeBSD
- Go
- KVM
- MDE
- Proxy
- STM32
- Servlet
- backup
- lvm
- multiprocessing
- web
- Bean
- Jenkins
- release
- OAuth
- ProjectBar
- REST
- Rewrite
- Sqlite
- Storage
- USB
- Ubuntu
- bison
- cache
- crash
- Linux
- firefox
- performance
- interview
Add a comment
To add a comment, you must be connected. Login