Uses of Record Class
jakarta.persistence.sql.ConstructorMapping
Packages that use ConstructorMapping
Package
Description
Defines an API for the programmatic definition of SQL result set
mappings to Java classes.
-
Uses of ConstructorMapping in jakarta.persistence.sql
Methods in jakarta.persistence.sql that return ConstructorMappingModifier and TypeMethodDescriptionstatic <T> ConstructorMapping<T> ResultSetMapping.constructor(Class<T> targetClass, MappingElement<?>... arguments) Construct a mapping to a constructor of a Java class.static <T> ConstructorMapping<T> ConstructorMapping.of(Class<T> targetClass, MappingElement<?>... arguments) Construct a new instance.Specify an alias for this constructor result in the result set.