Commit b4e9a491d2852678bfcb62faf09fee0415e3728a

Authored by msahmane
1 parent 57fb694e

Améliorations de groupe

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 }