O'Reilly logo

Dart: Scalable Application Development by Ivo Balbaert, Sergey Akopkokhyants, Davy Mitchell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Storing data in Oracle

Oracle is the most popular commercial SQL database. Dart can talk to Oracle using the pub package oracledart by Alexander Aprelev (https://github.com/aam/oracledart). This is a Dart native extension of C++, using the dart_api interface to integrate into Dart. It requires Oracle Instant Client to be present on the machine, and its OCCI binaries must be included in the PATH variable.

In this section, we will demonstrate how to use this driver step by step. You can see it in action in the project using_oracle.

Getting ready

To get the database software, download and execute the Oracle installer from http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index-092322.html.

  • The database server is started through ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required