Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Entity
- @Table(name = "recipe", schema = "cookle", catalog = "")
- public class RecipeEntity {
- private int id;
- private String author;
- private Integer cookTime;
- @Id
- @Column(name = "id")
- @GeneratedValue(strategy = GenerationType.IDENTITY)
- public int getId() {
- return id;
- }
- ...
- }
Add Comment
Please, Sign In to add comment