You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now it's not obvious that Spring Data converts enum values to String. We should mention this explicitly and add an example how to register a Converter that forces enum values to be retained in their type so that the value is passed to the driver as-is.
The text was updated successfully, but these errors were encountered:
We now provide EnumWriteSupport as base class for enum write converters that should be written as-is to the driver.
R2dbcCustomConversions can now also be created from a dialect for easier R2dbcCustomConversions creation.
mp911de
changed the title
Improve documentation on how to use Postgres EnumCodec with Spring Data
Introduce EnumWriteSupport for simpler pass-thru of enum values
Aug 6, 2020
Right now it's not obvious that Spring Data converts
enum
values toString
. We should mention this explicitly and add an example how to register aConverter
that forcesenum
values to be retained in their type so that the value is passed to the driver as-is.The text was updated successfully, but these errors were encountered: