JPA guideline or "common sense" not allowed to use nullable fields for EmbeddebedId? If not, what annotions or logic do i need to add to make it work without adding another PK?
answer is as below
@EmbeddedIdprivate AttributePK attrPK;
does not allow the primary key to be null.
so to make it happen use another annotation like below
@IdClass(AttributePK.class) private AttributePK attrPK;