# Issue: Adding new NotNull Attribute

**URL:** <https://forums.toadworld.com/t/issue-adding-new-notnull-attribute/2431>\
**Category:** Toad Data Modeler\
**Created:** [January 17, 2011, 9:39am UTC](https://forums.toadworld.com/t/issue-adding-new-notnull-attribute/2431 "2011-01-17T09:39:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Berthold](https://avatars.discourse-cdn.com/v4/letter/b/b2d939/32.png) [@Berthold](https://forums.toadworld.com/u/Berthold)\
**Post date:** [January 17, 2011, 9:39am UTC](https://forums.toadworld.com/t/issue-adding-new-notnull-attribute/2431/1 "2011-01-17T09:39:08Z")

</div>

If I use “add” to add a new attribute, set this attribute NotNull and click after this “apply”, close the window and reopen it: the attribute is Nullable!

I don’t why, but the Toad Modeler forget the NotNull information.

But if I use “add” to add a new attribute, click “apply”, and then I set this attribute NotNull and click after this “apply”, close the window and reopen it: the attribute is NotNull!

---

<div class="post-metadata">

**Author:** ![Vaclav\_Frolik](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/vaclav_frolik/32/12_2.png) [@Vaclav\_Frolik](https://forums.toadworld.com/u/Vaclav_Frolik)\
**Post date:** [January 18, 2011, 3:02pm UTC](https://forums.toadworld.com/t/issue-adding-new-notnull-attribute/2431/2 "2011-01-18T15:02:07Z")

</div>

Hi Berthold,

I am not able to reproduce this. When I create new attribute, set it to NotNull by checking the checkbox and click Apply, all changes seem to be correctly saved. Closing and reopening the Entity window doesn’t change anything.

Please write me more details, there are two buttons Add in entity window. I also wonder how you normally close the dialog. By pressing the red cross icon, by clicking OK or…?

Thanks,

Vaclav

---

<div class="post-metadata">

**Author:** ![dkretek](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/dkretek/32/42_2.png) [@dkretek](https://forums.toadworld.com/u/dkretek)\
**Post date:** [January 19, 2011, 5:54am UTC](https://forums.toadworld.com/t/issue-adding-new-notnull-attribute/2431/3 "2011-01-19T05:54:39Z")

</div>

Hi Berthold,  
this problem occurs in previous version (3.5) and was already fixed in TDM 3.6.

Dave
