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
Another interesting case is interacting with the DynamoDB service.
146
-
Here we can see code snippets of
147
-
a DynamoDB client inserting an entity of type `Person` into a table with the same name.
148
-
Once the object is in
149
-
the database, we would like to retrieve it as well.
150
-
Just like the example before, the scripts to create the AWS services on LocalStack can be found under
151
-
the `src/main/resources` folder of each module in the repository.
144
+
Here we can see code snippets of a DynamoDB client inserting an entity of type `Person` into a table with the same name.
145
+
Once the object is in the database, we would like to retrieve it as well.
146
+
Just like the example before, the scripts to create the AWS services on LocalStack can be found under the `src/main/resources` folder of each module in the repository.
152
147
153
148
Pay particular attention to the handling of the data model in the v2 example.
154
-
As part of improvements, some
155
-
boilerplate code can be abstracted with the help of specific annotations, which help label the Java bean, the
156
-
partition key and even specify converters for certain data types.
157
-
Unfortunately, the enhanced mapping in v2 does not support Date type, but a handwritten converter is enough to
158
-
cater to the application's needs.
159
-
The full list of supported converters can be found
As part of improvements, some boilerplate code can be abstracted with the help of specific annotations, which help label the Java bean, the partition key and even specify converters for certain data types.
150
+
Unfortunately, the enhanced mapping in v2 does not support Date type, but a handwritten converter is enough to cater to the application's needs.
151
+
The full list of supported converters can be found [here](https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/enhanced/dynamodb/internal/converter/attribute/package-summary.html).
In case of issues resolving S3 DNS record, we can fallback to `http://localhost:4566` in combination with the provider setting `forcePathStyle: true` (see the specific way of setting this parameter for each SDK above).
121
120
The S3 service endpoint is slightly different from the other service endpoints, because AWS is deprecating path-style based access for hosting buckets.
122
121
See [S3 documentation](user-guide/aws/s3) about endpoints. {/*TODO: fix link*/}
0 commit comments