Thanks Dominic.
I hope to be correct but what I have concluded by now is;
@Column(nullable = false) talks to underlying database to set the filed property to not-nullable and,
@Basic(optional = false) is just a held at persistence provider level to refuse null values.
After all, I am not sure about that.
[Message sent by forum member 'youness_teimoury' (youness126_at_gmail.com)]
http://forums.java.net/jive/thread.jspa?messageID=391455