Thick database bindings for MySQL, PostgreSQL and SQLite written in Ada.
This is the third release of AdaBase, an abstraction library that provides
a consistent interface to multiple database servers. Currently three
drivers are provided, MySQL, PostgreSQL and SQLite. It's extensible, so
support for other databases such as Firebird, Oracle and MSSQL would be
easily possible.
AdaBase offers unique features over similar frameworks. For starters,
it's limited to database support rather than including many other unwanted
components in a "kitchen sink" fashion, and unneeded drivers can be
excluded from the library as desired. It's got a developer and commerce
friend license (ICS), it comes with good documentation and working
examples, and the bindings are thick enough where database server backends
can be interchangeable.
AdaBase may seem familiar to some users as it was partially inspired by
PHP's PDO database framework and is a sequel of sorts to an earlier
project by the same author, Pascal Data Objects.
WWW: http://jrmarino.github.io/AdaBase/
===> The following configuration options are available for adabase-3.1_3:
DEBUG=off: Build with debugging support
====> Databases Supported: you have to choose at least one of them
MYSQL=on: MySQL database support
SQLITE=on: SQLite database support
PGSQL=on: PostgreSQL database support
===> Use 'make config' to modify these settings
cleanup: Remove ports depending on expired lang/gcc6-aux
Keep ports-mgmt/synth and dependencies (including lang/gcc6-aux itself)
for now as synth is the only Ada port still maintained and might be
somewhat high-profile.
Removed ports:
archivers/zip-ada
cad/ghdl
databases/adabase
databases/apq
databases/apq-mysql
databases/apq-odbc
databases/apq-pgsql
devel/ada-util
(Only the first 15 lines of the commit message are shown above )
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590
Return the ports mistakenly reset to ports@ in r433856 to John Marino.
The mistake was completely on my part, I somehow connected the dots the
wrong way in my head.
The only exceptions (for now) are archivers/zstd and ports-mgmt/synth
which were already picked up by new volunteers in the mean time.
databases/adabase: Upgrade version 3.0 => 3.1
This release adds support for three new types:
- Spatial Data / Geographic Objects (MySQL and PostGIS)
- UTF8 encoded strings
- True bit flags
The Spatial Data support allows direct querying of geometry without
having to pass it through database conversion functions. AdaBase will
convert the binary to Well-Known-Binary in order to construct the
native geometry support internally. It can output Well Known Text
so that manually constructed geometry can be inserted into the database
effortlessly. The support is documented here with real code examples:
https://jrmarino.github.io/AdaBase/geometry.html
databases/adabase: Upgrade version 2.0 => 3.0
This release brings the promised PostgreSQL driver, along with several
fixes to the MySQL and SQLite drivers. The API was changed based on
feedback from comp.lang.ada but chances nobody is really impacted yet
(meaning this is the time for breaking changes).
database/adabase: Upgrade version 1.0 => 2.0 (SQLite Driver)
This new release provides some minor fixes for MySQL driver and brings
in the SQLite3 driver. The now has options where MySQL and SQLite drivers
are built by default, but either (but not both) can be disabled. The
adabase.gpr was changed to a template and moved into the codebase.
Also, since the adabase library can't be linked without the database
libraries, they've been added as library dependencies through the options
framework.
Add new port database/adabase
Thick database bindings for MySQL, PostgreSQL and SQLite written in Ada.
This is the first release of AdaBase, an abstraction library that provides
a consistent interface to multiple database servers. Currently only one
driver for MySQL is provided, but additional ones for SQLite and
PostgreSQL are planned for the near term. It's extensible, so support
for others such as Firebird, Oracle and MSSQL would be easily possible.
AdaBase offers unique features over similar frameworks. For starters,
it's limited to database support rather than including many other unwanted
components in a "kitchen sink" fashion, and unneeded drivers can be
excluded from the library as desired. It's got a developer and commerce
friend license (ICS), it comes with good documentation and working
examples, and the bindings are thick enough where database server backends
can be interchangeable.
AdaBase may seem familiar to some users as it was partially inspired by
PHP's PDO database framework and is a sequel of sorts to an earlier
project by the same author, Pascal Data Objects.
WWW: http://jrmarino.github.io/AdaBase/