DATAJDBC-327 - Polishing.

Extend Javadoc. Reorder constructors in the order of their parameter number. Add missing assertions. Introduce utility to create predicates. Remove unused fields. Add since tags. Reformat.

Original pull request: #123.
This commit is contained in:
Mark Paluch
2019-03-12 12:23:52 +01:00
parent 35d9bb6e57
commit 78f26aa0a7
13 changed files with 157 additions and 83 deletions

View File

@@ -190,9 +190,9 @@ Converters should be annotated with `@ReadingConverter` or `@WritingConverter` i
==== JdbcValue
When setting bind parameters with a JDBC driver one may opt to provide a `java.sql.Types` constant value to denote the type of the parameter.
If for a value this type need to be specified this can be done by using a writing converter as described in the previous section.
This converter should convert to `JdbcValue` which has a field for the value and one of for the `JDBCType`.
Value conversion uses `JdbcValue` to enrich values propagated to JDBC operations with a `java.sql.Types` type.
Register a custom write converter if you need to specify a JDBC-specific type instead of using type derivation.
This converter should convert the value to `JdbcValue` which has a field for the value and for the actual `JDBCType`.
[[jdbc.entity-persistence.naming-strategy]]
=== `NamingStrategy`