Skip to content
Discussions/App Development/Connection to damlForum ↗

Connection to daml

App Development5 posts429 views5 likesLast activity May 2021
TI
Tiziano_SellaOP
May 2021

We are building a hybrid application based on local database and blockchain
where some fields of the local database contain references to the blockchain
we have to choose the db and we need to know which db is supported by the most used blockchain platforms (and supported by DAML)
therefore: 1. db with http access or jdbc?
2. what is the db most commonly supported by the platforms?
Tiziano

CO
cocreature
May 2021

Hi @Tiziano_Sella,
If you want to run Daml on top of a SQL database your best option is PostgreSQL at the moment. In addition to that, we are also working on the Daml Driver for Oracle if PostgreSQL is not an option.

There is no support for other databases at the moment.

Both the Daml Driver for PostgreSQL as well as the Daml Driver for Oracle connect via jdbc.

TI
Tiziano_Sella
May 2021

Grazie !

TI
Tiziano_Sella
May 2021
cocreature:

Hi @Tiziano_Sella,
If you want to run Daml on top of a SQL database your best option is PostgreSQL at the moment. In addition to that, we are also working on the Daml Driver for Oracle if PostgreSQL is not an option.

There is no support for other databases at the moment.

Both the Daml Driver for PostgreSQL as well as the Daml Driver for Oracle connect via jdbc.

are there ready examples?

CO
cocreature
May 2021

What specifically do you need examples for? The docs I linked above Daml Driver for PostgreSQL — Daml SDK 1.13.0 documentation show you how you can setup the Daml Driver for PostgreSQL.

← Back to Discussions