comp.lang.ada
 help / color / mirror / Atom feed
From: "Matthew Heaney" <matthew_heaney@acm.org>
Subject: Re: Gnat & Linux & Ada & DB2
Date: 1999/11/02
Date: 1999-11-02T00:00:00+00:00	[thread overview]
Message-ID: <381efa78_3@news1.prserv.net> (raw)
In-Reply-To: m6yT3.627$Q3.2740@ozemail.com.au

In article <m6yT3.627$Q3.2740@ozemail.com.au> , "Chris Miller" 
<chrismil@ozemail.com.au> wrote:

> I have just received the free IBM evaluation DB2 for Linux CD and was
> wondering what would be involved in  calling DB2 from Gnat Ada.
>
> I know there have been previous attempts to provide bindings / preprocessors
> to SQL from Ada but these seem quite old (?). What is the current position
> ?. Has anyone else got DB2 and Ada to talk to each other ?.

I haven't used DB2, so I can't help you in that department.

However, if you're in need of persistent storage for items that you can
read and write according to an arbitrary key, then one alternative is to
use an indexed I/O file.

<http://www.adapower.com/reuse/indexed_io.html>

The indexed I/O packages should be portable across all compilers.

It's probably not as slick as a real database, but the price is right.

Matt

--
Creationists attempt to draw a line between evolutionary biology and the
rest of science by remarking that large-scale evolution cannot be
observed.  This tactic fails.  Large-scale evolution is no more
inaccessible to observation than nuclear reactions or the molecular
composition of water.

Abusing Science: The Case Against Creationism
Philip Kitcher




      parent reply	other threads:[~1999-11-02  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-02  0:00 Gnat & Linux & Ada & DB2 Chris Miller
1999-11-02  0:00 ` Ted Dennison
1999-11-02  0:00 ` Matthew Heaney [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox