TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
"Robert C. Leif, Ph.D." <[log in to unmask]>
Reply To:
Robert C. Leif, Ph.D.
Fri, 19 Feb 1999 20:59:26 -0800
text/plain (37 lines)
From: Bob Leif, Ph.D.
To: Phil Johnson et al.

I use Ada.Direct_Io to store a Positive number (1..100) and every time the
data is saved, the number is increase by 1. At midnight, the number is reset
to 1. This number is concatenated as a suffix with the date to produce a
file name. These unique file names are used to store data from individual
experiments. I actually have two versions, one for DOS where the month is
expressed as 2 numbers and the other where the month is expressed by a 3
letter abbreviation.

However instead of the trivial example I have given, the real problem is to
create the persistent objects used in databases. The actual data type should
be generic. I tried for several years to convince my friends at INEEL to
restructure AdaSAGE by employing the object functionality and improved
generics of Ada '95. I might add that when we refer to object technology, we
should just consider Ada generics to be a very advanced part of object

> -----Original Message-----
> From: Team Ada: Ada Advocacy Issues (83 & 95)
> [mailto:[log in to unmask]]On Behalf Of Phil Johnson
> Sent: Friday, February 19, 1999 12:31 PM
> To: [log in to unmask]
> Subject: persistant object in Ada
> Is there a Ada-specific method to add persistant data capabilities
> to an application?
> Any hints or comments are welcomed.
> Phil Johnson
> Phil Johnson
> [log in to unmask]