Browse Source

Fix entity id type

master
Kirill Nikolaev 3 months ago
parent
commit
d0392ee860
Signed by: sokket <sokket@oceancraft.ru> GPG Key ID: 082FDA12D688C5C1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main/java/com/example/demo/Person.java

+ 1
- 1
src/main/java/com/example/demo/Person.java View File

@@ -15,7 +15,7 @@ public class Person {

@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private int id;
private Long id;
private String name;
private String surname;



Loading…
Cancel
Save