The vlingo/PLATFORM implementation of vlingo/symbio for JDBC.
The StateStore
is a simple object storage mechanism that can be run against a number of persistence engines.
Available JDBC storage implementations:
- General-purpose JDBC:
JDBCStateStoreActor
The JDBCTextStateStoreActor
has these database delegate implementations:
- HSQLDB:
HSQLDBStorageDelegate
- PostgresSQL:
PostgresStorageDelegate
Adding additional JDBC storage delegates is a straightforward process requiring a few hours of work.
We welcome you to add support for your favorite database!
Postrgres must be run for some tests. See the pgbounce.sh
. This shell script can be used to bounce the Postgres volume named in docker-compose.yml
:
vlingo-symbio-jdbc-postgres
Run the server using the following, which both stops the current instance and then starts a new instance.
$ ./pgbounce.sh
<repositories>
<repository>
<id>jcenter</id>
<url>https://jcenter.bintray.com/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>io.vlingo</groupId>
<artifactId>vlingo-symbio</artifactId>
<version>0.9.2-RC3</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>io.vlingo</groupId>
<artifactId>vlingo-symbio-jdbc</artifactId>
<version>0.9.2-RC3</version>
<scope>compile</scope>
</dependency>
</dependencies>
dependencies {
compile 'io.vlingo:vlingo-symbio:0.9.2-RC3'
compile 'io.vlingo:vlingo-symbio-jdbc:0.9.2-RC3'
}
repositories {
jcenter()
}
Copyright © 2012-2018 Vaughn Vernon. All rights reserved.
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.