Commit b4e9a491d2852678bfcb62faf09fee0415e3728a
1 parent
57fb694e
Améliorations de groupe
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
src/main/java/fr/plil/sio/persistence/jdbc/UserRepositoryJdbc.java
@@ -73,6 +73,7 @@ public class UserRepositoryJdbc implements UserRepository { | @@ -73,6 +73,7 @@ public class UserRepositoryJdbc implements UserRepository { | ||
73 | rs = stmt.getGeneratedKeys(); | 73 | rs = stmt.getGeneratedKeys(); |
74 | if (rs.next()) { | 74 | if (rs.next()) { |
75 | user.setId(rs.getLong(1)); | 75 | user.setId(rs.getLong(1)); |
76 | + | ||
76 | } else { | 77 | } else { |
77 | throw new UnsupportedOperationException("default in key access"); | 78 | throw new UnsupportedOperationException("default in key access"); |
78 | } | 79 | } |