---
title: "Comment by vigrahala praveen on \"Develop a basic Java SpringBoot application in 10mins!\" | Hashnode"
description: "why we need to use Id while giving Entity"
url: "https://hashnode.com/posts/develop-a-basic-java-springboot-application-in-10mins/621cea18085330c3f79c633a/comment/6220fba2d1601f3d285cbcee"
---

[Discussion](https://hashnode.com/posts/develop-a-basic-java-springboot-application-in-10mins/621cea18085330c3f79c633a)

Comment [Develop a basic Java SpringBoot application in 10mins!](https://hashnode.com/posts/develop-a-basic-java-springboot-application-in-10mins/621cea18085330c3f79c633a)

[vigrahala praveen](https://hashnode.com/@prawin)

[Mar 3, 2022](https://hashnode.com/posts/develop-a-basic-java-springboot-application-in-10mins/621cea18085330c3f79c633a/comment/6220fba2d1601f3d285cbcee)

why we need to use Id while giving Entity

[Shashank Shet](https://hashnode.com/@Shashankshet)

[Mar 3, 2022](https://hashnode.com/posts/develop-a-basic-java-springboot-application-in-10mins/621cea18085330c3f79c633a/comment/6220fba2d1601f3d285cbcee#reply-6220fe48d1601f3d285cbd5f)

@Id annotation is used to specifies the primary key of the entity.
