@@ -26,7 +26,8 @@ API changes will follow SEMVER and loosly the Spring Framework releases.
2626| ` spring-data-dynamodb ` version | Spring Framework compatibility |
2727| ------------- | ------------- |
2828| 1.0.x | >= 3.1 && < 4.2 |
29- | 4.2.x | >= 4.2 |
29+ | 4.2.x | >= 4.2 && < 4.3 |
30+ | 4.3.x | >= 4.3 |
3031
3132` spring-data-dynamodb ` depends directly on ` spring-context ` , ` spring-data ` and ` spring-tx ` .
3233
@@ -41,7 +42,7 @@ Download the jar though [Maven](http://mvnrepository.com/artifact/com.github.der
4142<dependency >
4243 <groupId >com.github.derjust</groupId >
4344 <artifactId >spring-data-dynamodb</artifactId >
44- <version >4.2 .0</version >
45+ <version >4.3 .0</version >
4546</dependency >
4647```
4748
@@ -125,33 +126,30 @@ public class User {
125126
126127 @DynamoDBHashKey
127128 @DynamoDBAutoGeneratedKey
128- public String getId ()
129- {
129+ public String getId () {
130130 return id;
131131 }
132132
133133 @DynamoDBAttribute
134- public String getFirstName ()
135- {
134+ public String getFirstName () {
136135 return firstName;
137136 }
138137
139138 @DynamoDBAttribute
140- public String getLastName ()
141- {
139+ public String getLastName () {
142140 return lastName;
143141 }
144142
145143 public void setId (String id ) {
146- this . id = id;
147- }
144+ this . id = id;
145+ }
148146
149147 public void setFirstName (String firstName ) {
150- this . firstName = firstName;
148+ this . firstName = firstName;
151149 }
152150
153151 public void setLastName (String lastName ) {
154- this . lastName = lastName;
152+ this . lastName = lastName;
155153 }
156154
157155 @Override
@@ -162,7 +160,6 @@ public class User {
162160 User user = (User ) o;
163161
164162 return id. equals(user. id);
165-
166163 }
167164
168165 @Override
@@ -216,7 +213,7 @@ And finally write a test client
216213 private AmazonDynamoDB amazonDynamoDB;
217214
218215 @Before
219- public void init () throws Exception {
216+ public void init () throws Exception {
220217
221218 ListTablesResult listTablesResult = amazonDynamoDB. listTables();
222219
@@ -260,3 +257,4 @@ And finally write a test client
260257
261258## Advanced topics ##
262259Advanced topics can be found in the [ wiki] ( https://github.com/derjust/spring-data-dynamodb/wiki ) .
260+
0 commit comments