METAGEN-50, METAGEN-63 Added processor option to add @SupressWarnings annotation

Updated documentation and made sure that documentation and implementation related to ormXml is in sync
This commit is contained in:
Hardy Ferentschik 2012-01-16 15:54:16 +01:00 committed by Strong Liu
parent 54411e47b6
commit 1cfdb8a67d
1 changed files with 10 additions and 0 deletions

View File

@ -557,6 +557,16 @@ cq.where( cb.equal(itemNode.get(Item_.id), 5 ) ).distinct(true);
you are using a JDK 6 you can force the generation of this
annotation using this flag.</entry>
</row>
<row>
<entry>addSuppressWarningsAnnotation</entry>
<entry>if set to <literal>true</literal> the processor will
add <emphasis>@SuppressWarnings("all")</emphasis> to the
generated Java source file. Per default this annotation is not
generated. See also <ulink
url="https://hibernate.onjira.com/browse/METAGEN-50">METAGEN-50</ulink>.</entry>
</row>
</tbody>
</tgroup>
</table></para>