You are right Jaikiran,
The problem was not in id of hibernate entity.
I have following code in my hibernate entity
Following code in my seam facelet
Somehow my front was sending phoneNum ="" so whenever hibernate validation fails and drove me crazy, by showing
null id error
.
Unfortunately hibernate never sent appropriate error message. I figured out problem only when I went into debug mode.