Just a guess, but
@Column(nullable = true) allows to really set null, while @Basic(optional =
true) would simply not include it in the insert statement, thus falling back
to the default value of the column.
--
[url=http://www.dominikdorn.com]Dominik Dorn[/url]
Exchange your [url=http://www.studyguru.eu] studying materials [/url] on
[url=http://www.studyguru.eu] Study Guru [/url]!