- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
An SPI that can be used to provide
java.beans
style constructor
properties to the DefaultRecordMapper
.
Starting with jOOQ 3.20 and https://github.com/jOOQ/jOOQ/issues/7585,
the ConstructorProperties
annotation support has been
moved out of the core library to the jOOQ-beans-extensions
module, to allow for:
- Removal of the dependency on the
java.beans
JDK module from the core library - Maintenance of backwards compatibility for those users using the annotation
Implementations can be provided to
Configuration.constructorPropertiesProvider()
.
- Author:
- Lukas Eder
-
Method Summary
Modifier and TypeMethodDescription@Nullable String @Nullable []
properties
(Constructor<?> constructor) Provide the constructor properties on the argument constructor, likeConstructorProperties.value()
.
-
Method Details
-
properties
Provide the constructor properties on the argument constructor, likeConstructorProperties.value()
.- Returns:
- The constructor properties, if applicable, or
null
if the argumentConstructor
does not expose any constructor properties.
-