Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.

package com.codename1.backend.sql

The database engines a backend talks to, and what they spell differently.

Postgres and MySql speak their engines’ wire protocols directly, so a server binary needs no JDBC driver. Dialect renders one portable statement form for whichever engine a connection reaches. Most applications use them through com.codename1.backend.Database and never name these classes.

Server code: this package is not available in the app.

Types

class DialectWhat the three engines spell differently, in one place.
class MySqlA MySQL client speaking the client/server protocol directly, for the same reason as Postgres: a translated server binary has no JDBC.
class PostgresA PostgreSQL client speaking the v3 frontend/backend protocol directly.