[jOOQ/jOOQ#14818] Add a remark on the Converter Javadoc that

implementations must be able to handle NULL
This commit is contained in:
Lukas Eder 2023-03-21 09:01:22 +01:00
parent 8e8e950ed4
commit 52145ed8f4

View File

@ -43,8 +43,6 @@ import static org.jooq.Converters.nullable;
import java.io.Serializable;
import java.util.function.Function;
import org.jooq.exception.DataTypeException;
import org.jooq.impl.AbstractConverter;
import org.jooq.impl.AbstractContextConverter;
import org.jooq.impl.SQLDataType;
@ -82,6 +80,10 @@ import org.jetbrains.annotations.NotNull;
* <li><code>converter.to(null) == null</code></li>
* </ul>
* <p>
* Irrespective of the <code>Converter</code>'s encoding of <code>null</code>
* values above, an implementation must be able to handle <code>null</code>
* values.
* <p>
* <h3>Creating user defined {@link DataType}s</h3>
* <p>
* jOOQ provides built in data types through {@link SQLDataType}. Users can