|Nullable does not work [message #616020]
||Thu, 27 March 2008 20:24
| Manfred Hahn
Registered: July 2009
I try to set a column to not-null="true" in the hibernate mapping file by
setting an @Column annotation.
In the ecore file it looks like this:
<details key="appinfo" value="@Column(name="test"
The property is a simple field in an abstract superclass. The name
attribute I set for test purposes (as the value implies..;-).
The hibernate mapping looks like this:
<column not-null="false" unique="false" name="`test`"/>
So the name attribute has been taken over, but the nullable attribute
didn't change anything.
I have tried the 'false' attribute value both with and without quotes.
Did I do something wrong?
Powered by FUDForum
. Page generated in 0.01265 seconds