Ans:
Embedded annotation can be specified on top of the attribute inside the POJO class. which tells the specified attribute is a component to that POJO class.:
public class Address
{ ………
@Embedded
private Employee emp;
…}
Embedded annotation can be specified on top of the attribute inside the POJO class. which tells the specified attribute is a component to that POJO class.:
public class Address
{ ………
@Embedded
private Employee emp;
…}