Packages

  • package root
    Definition Classes
    root
  • package csw
    Definition Classes
    root
  • package database

    This module provides the client implementation of data access stored in postgres server.

    Database Service

    This module provides the client implementation of data access stored in postgres server. To access the database service, it is expected that developers create an instance of DatabaseServiceFactory.

    Example: DatabaseServiceFactory
    val system = ActorSystem(Behaviors.empty, "test") // in component handlers the ActorSystem should be provided from ActorContext e.g. ctx.system
    val dbFactory = new DatabaseServiceFactory(system)
    val dsl: DSLContext = dbFactory.makeDsl(locationService, "postgres") // postgres is a dbName here

    There are overloads of makeDsl() available. Once the DSLContext is created, it can be used to access data from postgres.

    Complete guide of different flavours of makeDsl() and how to use DSLContext to access data is available at: https://tmtsoftware.github.io/csw/services/database.html

    Definition Classes
    csw
  • package exceptions
    Definition Classes
    database
  • package javadsl
    Definition Classes
    database
  • package scaladsl
    Definition Classes
    database
  • JooqExtentions
p

csw.database

scaladsl

package scaladsl

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Value Members

  1. object JooqExtentions

    A scala extension, extending few of the Jooq operations.JOOQ is a library that provides the mechanism to communicate with Database server.

    A scala extension, extending few of the Jooq operations.JOOQ is a library that provides the mechanism to communicate with Database server. To know in detail about Jooq please refer https://www.jooq.org/learn/.

Ungrouped