I was going through the @Embeddable and @Embedded annotation in JPA. I used only @Embeddable annotation and still got the same result as for using the both annotation.
So what's the purpose of using the @Embedded annotation specifically.
I was going through the @Embeddable and @Embedded annotation in JPA. I used only @Embeddable annotation and still got the same result as for using the both annotation.
So what's the purpose of using the @Embedded annotation specifically.