Storage
Relational databases
Doddle uses MyBatis for interacting with relational databases.
To get started, install the SQL storage dependency
<dependency>
<groupId>dev.doddle</groupId>
<artifactId>sql-storage</artifactId>
<version>${doddle.version}</version>
</dependency>Postgres
Provide the PostgreSQL dependency
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>${postgres.version}</version>
</dependency>Create the storage provider
Creating a simple datasource (just for demo purposes)
Populate the database
TODO - explain here
Now let's configure Doddle to use this storage provider!
Last updated
Was this helpful?