Skip to content

Commit

Permalink
docs: spanner support for float32 type
Browse files Browse the repository at this point in the history
Follow-up to #2662.
  • Loading branch information
meltsufin authored May 14, 2024
1 parent 3ab02b4 commit 26272d8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/src/main/asciidoc/spanner.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -468,10 +468,11 @@ Natively supported types:
* `com.google.cloud.Timestamp`
* `java.lang.Boolean`, `boolean`
* `java.lang.Double`, `double`
* `java.lang.Float`, `float`
* `java.lang.Long`, `long`
* `java.lang.Integer`, `int`
* `java.lang.String`
* `double[]`
* `float[]`
* `long[]`
* `boolean[]`
* `java.util.Date`
Expand Down Expand Up @@ -557,13 +558,15 @@ Custom converters can be used to extend the type support for user defined types.
* `com.google.cloud.Timestamp`
* `java.lang.Boolean`, `boolean`
* `java.lang.Double`, `double`
* `java.lang.Float`, `flaot`
* `java.lang.Long`, `long`
* `java.lang.String`
* `double[]`
* `float[]`
* `long[]`
* `boolean[]`
* `enum` types

Next
. An instance of both Converters needs to be passed to a `ConverterAwareMappingSpannerEntityProcessor`, which then has to be made available as a `@Bean` for `SpannerEntityProcessor`.

For example:
Expand Down

0 comments on commit 26272d8

Please sign in to comment.