From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a0c:f8ce:: with SMTP id h14mr39416176qvo.91.1577443699648; Fri, 27 Dec 2019 02:48:19 -0800 (PST) X-Received: by 2002:a9d:3d0a:: with SMTP id a10mr53167684otc.327.1577443699315; Fri, 27 Dec 2019 02:48:19 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!weretis.net!feeder7.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!g89no761175qtd.0!news-out.google.com!w29ni217qtc.0!nntp.google.com!g89no761164qtd.0!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 27 Dec 2019 02:48:19 -0800 (PST) Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=91.244.183.5; posting-account=YB4WOgoAAABLG9D7qoJiPBc6EJSzsPDF NNTP-Posting-Host: 91.244.183.5 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: gnatcoll_db2ada problem "Database not supported:" From: George J Injection-Date: Fri, 27 Dec 2019 10:48:19 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:57764 Date: 2019-12-27T02:48:19-08:00 List-Id: Hi all! I'm trying to create an Ada app to work with database, so i've installed gn= atcoll-db, gnatcoll_db2ada. I have simple database created with sqlite3. I'= ve read tutorials on the adacore (https://docs.adacore.com/gnatcoll-docs/sq= l.html) but sorry, i can't understand one simple moment. I've got that we c= an create the representation of the database with the Ada package view. It'= s cool. But how can we get this? I can make this only using file as in exap= mle: | TABLE | customers | customer || The customer for the library | | id | AUTOINCREMENT | PK || Auto-generated id | | first | TEXT | NOT NULL || Customers' first name | | last | TEXT | NOT NULL, INDEX || Customers' last name | but when i'm tring to do with simple created database:=20 gnatcoll_db2ada -dbname test.db i'm getting :=20 Database not supported: And my question is. What if i already have some big database and want to cr= eate an Ada app to work with. Can i work with it in the same way? May be i = don't know something. Or i can work with db file with connecting to him and= send direct SQL queries? I've never worked with databases with Ada so this= theme is very difficult for me now. But interesting) Thanks!