Skip to main content

4 docs tagged with "data access"

View all tags

Choosing and using a DB API

This page explains which Genesis database API to use in Genesis 10, which threads your code runs on, and how the API you choose uses database connections. For the operations each API offers, see Data access APIs (GPAL / Java).

Data access APIs

The data access APIs read and write your application's data, and let you subscribe to changes. There are two ways to do this:

Write operation listeners

A write operation listener is your own code that the database layer calls after each successful write, inside the same transaction as that write. Any writes the listener makes through the transaction object it receives commit or roll back together with the write that triggered it.