Skip to content

HttpMarco/evelon

Repository files navigation

evelon

This application provides seamless object mapping between a local application and a database, along with a straightforward synchronization process between them.

icon database abstractLayer id required version implemented
-
cache LocalStorageLayer -.-.- no
mysql - -.-.- no
h2 H2Layer 2.2.224 in progress
postgresql - -.-.- no
mariadb MariaDbLayer 3.3.3 in progress
cassandra - -.-.- no
mongodb - -.-.- no
couchdb - -.-.- no
-
json - -.-.- no
-
yml - -.-.- no
-
aeon - -.-.- no
redis - -.-.- in progress
arangodb - -.-.- no
scylladb - -.-.- no

Snapshots:

repositories {
    maven(url = "https://s01.oss.sonatype.org/content/repositories/snapshots/")
}

Current module types: common, h2, mariadb

compile "dev.httpmarco.evelon:evelon-MODULE:VERSION"
implementation("dev.httpmarco.evelon:evelon-MODULE:VERSION")
<dependency>
    <groupId>dev.httpmarco.evelon</groupId>
    <artifactId>evelon-MODULE</artifactId>
    <version>VERSION</version>
</dependency>

Change path of credentials configuartion

To change the path, there are two options. The first option would be to set the path in an environment variable, using the keyword evelon.credentials.path. Another option would be to set it programmatically with:

ConnectionAuthenticationPath.set("home/my-credentials");

Todo query methods

  • min - Find the minimum value of the given field.
  • max - Find the maximum value of the given field.
  • createIfNotExists - Create an entity if it does not exist.
  • upsert - Create an entity if it does not exist, otherwise update it.

Another todos

  • row transformer
  • implement Arrays
  • sql word blacklist
  • maps
  • implement duplicated id check (Warning)

Blacklisted words:

  • user