Uses of Class
org.litebridge.orm.exception.NonUniqueResultException
Packages that use NonUniqueResultException
Package
Description
Fluent API for constructing SQL queries (
SELECT statements)Common implementation classes for select operations.
Core common ORM API function services.
-
Uses of NonUniqueResultException in org.litebridge.orm.api.select
Methods in org.litebridge.orm.api.select that throw NonUniqueResultExceptionModifier and TypeMethodDescriptionSelectTerminal.one()Executes the query and returns exactly one result.@Nullable DTOSelectTerminal.oneOrNull()Executes the query and returns exactly one result, ornullif no row matches.SelectTerminal.oneOrThrow()Executes the query and returns exactly one result.SelectTerminal.oneOrThrow(Supplier<? extends X> exceptionSupplier) Executes the query and returns exactly one result. -
Uses of NonUniqueResultException in org.litebridge.orm.api.select.impl
Methods in org.litebridge.orm.api.select.impl that throw NonUniqueResultException -
Uses of NonUniqueResultException in org.litebridge.orm.engine
Methods in org.litebridge.orm.engine that throw NonUniqueResultExceptionModifier and TypeMethodDescription<DTO> Optional<DTO> SelectEngineTerminal.fetchOne(QueryNode node, LitebridgeContext litebridgeContext) Executes the query and returns exactly one result.<DTO> @Nullable DTOSelectEngineTerminal.fetchOneOrNull(QueryNode node, LitebridgeContext litebridgeContext) Executes the query and returns exactly one result, ornullif no row matches.