Module storm.foundation
Package st.orm
@NullMarked
package st.orm
Foundation of the data model: the mapping annotations and the record interfaces.
Null-marked: type uses are non-null unless annotated @Nullable.
-
ClassDescriptionExtension of
AbstractMetamodelthat implementsMetamodel.Key, indicating that the field has a uniqueness constraint.Implementation that is used by the generated models.Base implementation for generated navigation-only metamodels — nodes that navigate the entity graph beyond aRefforeign key.Marker interface used within an SQL template to indicate where bind variables (parameters) should be injected.A listener for record events within a SQL query context.Declares how aConvertershould be applied.Converter<D,E> Converts between an entity value type and a database column type.Marker interface for record-based data classes.Specifies the name of the database column.Annotation for specifying multiple database column names, e.g., for compound keys.Specifies how an enum should be mapped when reading or writing to a column.Suppresses schema validation for the annotated entity type or record component.Specifies the name of the database table or view, and optionally its schema.Default implementation of theJoinTypeinterface used to represent the default join types.Defines how dirty checking is performed for an entity.Configures discriminator behavior for sealed type hierarchies.The discriminator column types supported for sealed type hierarchies.Configures how changes are detected and how UPDATE statements are generated for a specific entity.Represents an element in a ST/ORM SQL query.Entity<ID>Optional marker interface for record-based entities.EntityCallback<E extends Entity<?>>Typed callback interface for entity lifecycle events.Defines the strategy to use when mapping enums.Marks a field as a foreign key.Indicates that a metamodel class should be generated for the annotated record or data class.Defines the strategy to use when generating values for primary keys.Indicates that the underlying fields of the record component are inlined in this record.Represents a join type in a SQL query.Marks a record component as a json object.The metamodel provides type-safe references to entity fields for use in queries.Marker interface for metamodel fields that correspond to columns known to be unique.Delegating wrapper that adds theMetamodel.Keymarker to an existingMetamodelinstance.Marks an annotation type to be represented as the specified type in theMetamodel.The navigational part of aMetamodel: everything needed to locate a field within the entity graph and use it in a query (filter, join, order, group, select), without exposing value extraction.Thrown whengetSingleResultis executed on a query and there is more than one result from the query.Thrown whengetSingleResultis executed on a query and there is no result to return.Represents a comparison operator in a SQL query.Thrown when an optimistic locking conflict occurs.Page<R>Represents a page of query results for offset-based pagination.Represents a pagination request with a zero-based page number, page size, and optional sort orders.Represents a sort order for a single metamodel field.Allows the persistence properties of a record component to be configured.Thrown when a database or sql problem occurs.Marks a field as the primary key of an entity.Specifies the inheritance strategy for a sealed entity hierarchy.The inheritance strategies for sealed entity hierarchies.Projection<ID>Marker interface for record-based projections.Projection records marked with this annotation type can specify a SQL query that represents the projection.Ref records are used to represent reference to records, allowing them to be fetched from the database.Enumeration of the different modes for resolving an alias.Scrollable<T extends Data>Represents a scroll request that captures the cursor state needed to fetch a window of results.Specifies how much data a query should select for an entity or projection.Slice<R>Represents a slice of query results — a chunk of data with informational navigation flags.Immutable, untyped configuration for the Storm ORM framework.Represents the type of a temporal attribute.Handle to the transaction a transactional block runs in: exposes the rollback-only state and registration of completion callbacks.Thrown when a transaction completion callback fails.Transaction isolation levels, mapping to the JDBC isolation constants.Options for a transactional block.Defines how a transaction block relates to a transaction that is already active when the block starts.Thrown when a transaction does not complete within its timeout.AMetamodelthat also carries the declared component type of the field it represents.Marks a field as a unique key.Thrown when a transaction completes with an unexpected rollback: the block finished normally, but the physical transaction was rolled back, for example because a joined inner scope marked it rollback-only.Controls how changes are detected and how UPDATE statements are generated for entities.Marks a record component as a version field to detect optimistic locking conflicts.Window<R>Represents a window of query results from a scrolling operation withScrollablenavigation tokens.Dependency-aware write operations over mixed-type sets of entities.