<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="https://web-engineering.info"  xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>web-engineering.info - Constraint Validation in Java EE</title>
 <link>https://web-engineering.info/taxonomy/term/5</link>
 <description></description>
 <language>en</language>
<item>
 <title>Constraint validation and bean validation</title>
 <link>https://web-engineering.info/node/36</link>
 <description>&lt;section class=&quot;field field-name-taxonomy-forums field-type-taxonomy-term-reference field-label-above view-mode-rss&quot;&gt;&lt;h2 class=&quot;field-label&quot;&gt;Forums:&amp;nbsp;&lt;/h2&gt;&lt;ul class=&quot;field-items&quot;&gt;&lt;li class=&quot;field-item even&quot; rel=&quot;sioc:has_container&quot;&gt;&lt;a href=&quot;/forum/5&quot; typeof=&quot;sioc:Container sioc:Forum&quot; property=&quot;rdfs:label skos:prefLabel&quot; datatype=&quot;&quot;&gt;Constraint Validation in Java EE&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/section&gt;&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden view-mode-rss&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot; property=&quot;content:encoded&quot;&gt;&lt;p&gt;I&#039;ve seen that for a specific property, such as &lt;code&gt;title&lt;/code&gt; from the &lt;code&gt;Book&lt;/code&gt; class, two annotations are used to specify a not-null constraint: &lt;code&gt;@Column( nullable = false)&lt;/code&gt; and &lt;code&gt;@NotNull&lt;/code&gt;. Is this really necessarily or it is sufficient to use just one of them? And in case that one is sufficient, then, which one should we use?&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
 <pubDate>Wed, 23 Sep 2015 07:36:41 +0000</pubDate>
 <dc:creator>J.Ava</dc:creator>
 <guid isPermaLink="false">36 at https://web-engineering.info</guid>
 <comments>https://web-engineering.info/node/36#comments</comments>
</item>
</channel>
</rss>
