Module org.tentackle.sql
Package org.tentackle.sql
SQL backend layer.
-
Interface Summary Interface Description Backend A database backend.
Defines the backend specifics.
There is only one instance per database type.
Implementations must not maintain any state except for the whole of all connections to the specific kind of database.BackendFactory The backend factory.BackendPreparedStatement Just an interface to decouple dependency from PreparedStatementWrapper.DataType<T> The data type.
Describes a type from the model perspective and maps it to one or moreSqlTypes, each corresponding to a database column.DataTypeFactory Loads all datatypes and creates singletons of each type. -
Class Summary Class Description BackendInfo Configuration info for a backend.DefaultBackendFactory Default implementation of a backend factory.DefaultDataTypeFactory DynamicDriver Loads a JDBC driver dynamically at runtime via a URL.
Because DriverManager will refuse to use a driver not loaded by the system-classloader, we must wrap the URL-loaded driver by such a class.NonStandardCommons Holds non-SQL-standard common features supported by most backends. -
Enum Summary Enum Description JoinType Join type.MigrationStrategy Defines the methods to use for migration.SqlNameType SQL name type.SqlType The sql types used when talking to the database backend. -
Exception Summary Exception Description BackendException Runtime exception thrown for database backend configuration errors.