1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
5 <!-- Generated by javadoc (version 1.7.0_55) on Mon Jun 02 10:34:34 CEST 2014 -->
6 <meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
7 <title>ValidationConfiguration (Hibernate 4 Maven Plugin 1.0.4 API)</title>
8 <meta name="date" content="2014-06-02">
9 <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
12 <script type="text/javascript"><!--
13 if (location.href.indexOf('is-external=true') == -1) {
14 parent.document.title="ValidationConfiguration (Hibernate 4 Maven Plugin 1.0.4 API)";
19 <div>JavaScript is disabled on your browser.</div>
21 <!-- ========= START OF TOP NAVBAR ======= -->
22 <div class="topNav"><a name="navbar_top">
24 </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
27 <ul class="navList" title="Navigation">
28 <li><a href="../../../../overview-summary.html">Overview</a></li>
29 <li><a href="package-summary.html">Package</a></li>
30 <li class="navBarCell1Rev">Class</li>
31 <li><a href="class-use/ValidationConfiguration.html">Use</a></li>
32 <li><a href="package-tree.html">Tree</a></li>
33 <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
34 <li><a href="../../../../index-all.html">Index</a></li>
35 <li><a href="../../../../help-doc.html">Help</a></li>
40 <li><a href="../../../../de/juplo/plugins/hibernate4/HelpMojo.html" title="class in de.juplo.plugins.hibernate4"><span class="strong">Prev Class</span></a></li>
44 <li><a href="../../../../index.html?de/juplo/plugins/hibernate4/ValidationConfiguration.html" target="_top">Frames</a></li>
45 <li><a href="ValidationConfiguration.html" target="_top">No Frames</a></li>
47 <ul class="navList" id="allclasses_navbar_top">
48 <li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
51 <script type="text/javascript"><!--
52 allClassesLink = document.getElementById("allclasses_navbar_top");
54 allClassesLink.style.display = "block";
57 allClassesLink.style.display = "none";
63 <ul class="subNavList">
64 <li>Summary: </li>
65 <li><a href="#nested_classes_inherited_from_class_org.hibernate.cfg.Configuration">Nested</a> | </li>
66 <li><a href="#fields_inherited_from_class_org.hibernate.cfg.Configuration">Field</a> | </li>
67 <li><a href="#constructor_summary">Constr</a> | </li>
68 <li><a href="#method_summary">Method</a></li>
70 <ul class="subNavList">
71 <li>Detail: </li>
72 <li>Field | </li>
73 <li><a href="#constructor_detail">Constr</a> | </li>
74 <li><a href="#method_detail">Method</a></li>
77 <a name="skip-navbar_top">
80 <!-- ========= END OF TOP NAVBAR ========= -->
81 <!-- ======== START OF CLASS DATA ======== -->
83 <div class="subTitle">de.juplo.plugins.hibernate4</div>
84 <h2 title="Class ValidationConfiguration" class="title">Class ValidationConfiguration</h2>
86 <div class="contentContainer">
87 <ul class="inheritance">
88 <li><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
90 <ul class="inheritance">
91 <li>org.hibernate.cfg.Configuration</li>
93 <ul class="inheritance">
94 <li>de.juplo.plugins.hibernate4.ValidationConfiguration</li>
100 <div class="description">
101 <ul class="blockList">
102 <li class="blockList">
104 <dt>All Implemented Interfaces:</dt>
105 <dd><a href="http://java.sun.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></dd>
109 <pre>public class <span class="strong">ValidationConfiguration</span>
110 extends org.hibernate.cfg.Configuration</pre>
111 <div class="block">This integration is usually performed by BeanValidationIntegrator.
112 Unfortunately, that integration will only be activated upon
113 initialization of the ServiceRegistry, which initializes
114 DatasourceConnectionProviderImpl, which looks up the datasource,
115 which requires a JNDI context ...
116 We therefore reimplement the relevant parts of BeanValidatorIntegrator.
117 Since that must occur after secondPassCompile(), which is invoked by
118 Configuration.generateSchemaCreationScript, which is invoked by
119 SchemaExport, some fancy subclassing is needed to invoke the integration
120 at the right time.</div>
121 <dl><dt><span class="strong">Author:</span></dt>
122 <dd>Mark Robinson <mark@mrobinson.ca>, Frank Schimmel <frank.schimmel@cm4all.com></dd>
123 <dt><span class="strong">See Also:</span></dt><dd><a href="../../../../serialized-form.html#de.juplo.plugins.hibernate4.ValidationConfiguration">Serialized Form</a></dd></dl>
127 <div class="summary">
128 <ul class="blockList">
129 <li class="blockList">
130 <!-- ======== NESTED CLASS SUMMARY ======== -->
131 <ul class="blockList">
132 <li class="blockList"><a name="nested_class_summary">
135 <h3>Nested Class Summary</h3>
136 <ul class="blockList">
137 <li class="blockList"><a name="nested_classes_inherited_from_class_org.hibernate.cfg.Configuration">
140 <h3>Nested classes/interfaces inherited from class org.hibernate.cfg.Configuration</h3>
141 <code>org.hibernate.cfg.Configuration.MappingsImpl, org.hibernate.cfg.Configuration.MetadataSourceQueue</code></li>
145 <!-- =========== FIELD SUMMARY =========== -->
146 <ul class="blockList">
147 <li class="blockList"><a name="field_summary">
150 <h3>Field Summary</h3>
151 <ul class="blockList">
152 <li class="blockList"><a name="fields_inherited_from_class_org.hibernate.cfg.Configuration">
155 <h3>Fields inherited from class org.hibernate.cfg.Configuration</h3>
156 <code>ARTEFACT_PROCESSING_ORDER, auxiliaryDatabaseObjects, classes, collections, columnNameBindingPerTable, DEFAULT_ARTEFACT_PROCESSING_ORDER, DEFAULT_CACHE_CONCURRENCY_STRATEGY, extendsQueue, fetchProfiles, filterDefinitions, imports, metadataSourceQueue, namedEntityGraphMap, namedProcedureCallMap, namedQueries, namedSqlQueries, namingStrategy, propertyReferences, secondPasses, settingsFactory, sqlFunctions, sqlResultSetMappings, tableNameBinding, tables, typeDefs, USE_NEW_ID_GENERATOR_MAPPINGS, xmlHelper</code></li>
160 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
161 <ul class="blockList">
162 <li class="blockList"><a name="constructor_summary">
165 <h3>Constructor Summary</h3>
166 <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
167 <caption><span>Constructors</span><span class="tabEnd"> </span></caption>
169 <th class="colOne" scope="col">Constructor and Description</th>
171 <tr class="altColor">
172 <td class="colOne"><code><strong><a href="../../../../de/juplo/plugins/hibernate4/ValidationConfiguration.html#ValidationConfiguration(java.lang.String)">ValidationConfiguration</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> dialectClass)</code> </td>
177 <!-- ========== METHOD SUMMARY =========== -->
178 <ul class="blockList">
179 <li class="blockList"><a name="method_summary">
182 <h3>Method Summary</h3>
183 <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
184 <caption><span>Methods</span><span class="tabEnd"> </span></caption>
186 <th class="colFirst" scope="col">Modifier and Type</th>
187 <th class="colLast" scope="col">Method and Description</th>
189 <tr class="altColor">
190 <td class="colFirst"><code>protected void</code></td>
191 <td class="colLast"><code><strong><a href="../../../../de/juplo/plugins/hibernate4/ValidationConfiguration.html#secondPassCompile()">secondPassCompile</a></strong>()</code> </td>
194 <ul class="blockList">
195 <li class="blockList"><a name="methods_inherited_from_class_org.hibernate.cfg.Configuration">
198 <h3>Methods inherited from class org.hibernate.cfg.Configuration</h3>
199 <code>add, addAnnotatedClass, addAttributeConverter, addAttributeConverter, addAttributeConverter, addAttributeConverter, addAttributeConverter, addAuxiliaryDatabaseObject, addCacheableFile, addCacheableFile, addCacheableFileStrictly, addClass, addDirectory, addDocument, addFetchProfile, addFile, addFile, addFilterDefinition, addInputStream, addJar, addPackage, addProperties, addResource, addResource, addSqlFunction, addURL, addXML, buildMapping, buildMappings, buildSessionFactory, buildSessionFactory, buildSettings, buildSettings, configure, configure, configure, configure, configure, createMappings, doConfigure, doConfigure, findPossibleExtends, generateDropSchemaScript, generateSchemaCreationScript, generateSchemaUpdateScript, generateSchemaUpdateScriptList, getClassMapping, getClassMappings, getCollectionMapping, getCollectionMappings, getConfigurationInputStream, getCurrentTenantIdentifierResolver, getEntityNotFoundDelegate, getEntityResolver, getEntityTuplizerFactory, getFilterDefinitions, getIdentifierGeneratorFactory, getImports, getInterceptor, getJaccPermissionDeclarations, getMappedSuperclassMappings, getMappedSuperclassMappingsCopy, getNamedEntityGraphs, getNamedProcedureCallMap, getNamedQueries, getNamedSQLQueries, getNamingStrategy, getProperties, getProperty, getReflectionManager, getSessionFactoryObserver, getSqlFunctions, getSqlResultSetMappings, getTableMappings, getTypeResolver, iterateFetchProfiles, iterateGenerators, mergeProperties, registerTypeContributor, registerTypeOverride, registerTypeOverride, registerTypeOverride, reset, secondPassCompileForeignKeys, setCacheConcurrencyStrategy, setCacheConcurrencyStrategy, setCacheConcurrencyStrategy, setCollectionCacheConcurrencyStrategy, setCollectionCacheConcurrencyStrategy, setCurrentTenantIdentifierResolver, setEntityNotFoundDelegate, setEntityResolver, setInterceptor, setNamingStrategy, setPrecedence, setProperties, setProperty, setSessionFactoryObserver, validateSchema</code></li>
201 <ul class="blockList">
202 <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
205 <h3>Methods inherited from class java.lang.<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
206 <code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
213 <div class="details">
214 <ul class="blockList">
215 <li class="blockList">
216 <!-- ========= CONSTRUCTOR DETAIL ======== -->
217 <ul class="blockList">
218 <li class="blockList"><a name="constructor_detail">
221 <h3>Constructor Detail</h3>
222 <a name="ValidationConfiguration(java.lang.String)">
225 <ul class="blockListLast">
226 <li class="blockList">
227 <h4>ValidationConfiguration</h4>
228 <pre>public ValidationConfiguration(<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> dialectClass)</pre>
233 <!-- ============ METHOD DETAIL ========== -->
234 <ul class="blockList">
235 <li class="blockList"><a name="method_detail">
238 <h3>Method Detail</h3>
239 <a name="secondPassCompile()">
242 <ul class="blockListLast">
243 <li class="blockList">
244 <h4>secondPassCompile</h4>
245 <pre>protected void secondPassCompile()
246 throws org.hibernate.metamodel.source.MappingException</pre>
248 <dt><strong>Overrides:</strong></dt>
249 <dd><code>secondPassCompile</code> in class <code>org.hibernate.cfg.Configuration</code></dd>
250 <dt><span class="strong">Throws:</span></dt>
251 <dd><code>org.hibernate.metamodel.source.MappingException</code></dd></dl>
260 <!-- ========= END OF CLASS DATA ========= -->
261 <!-- ======= START OF BOTTOM NAVBAR ====== -->
262 <div class="bottomNav"><a name="navbar_bottom">
264 </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
267 <ul class="navList" title="Navigation">
268 <li><a href="../../../../overview-summary.html">Overview</a></li>
269 <li><a href="package-summary.html">Package</a></li>
270 <li class="navBarCell1Rev">Class</li>
271 <li><a href="class-use/ValidationConfiguration.html">Use</a></li>
272 <li><a href="package-tree.html">Tree</a></li>
273 <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
274 <li><a href="../../../../index-all.html">Index</a></li>
275 <li><a href="../../../../help-doc.html">Help</a></li>
280 <li><a href="../../../../de/juplo/plugins/hibernate4/HelpMojo.html" title="class in de.juplo.plugins.hibernate4"><span class="strong">Prev Class</span></a></li>
284 <li><a href="../../../../index.html?de/juplo/plugins/hibernate4/ValidationConfiguration.html" target="_top">Frames</a></li>
285 <li><a href="ValidationConfiguration.html" target="_top">No Frames</a></li>
287 <ul class="navList" id="allclasses_navbar_bottom">
288 <li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
291 <script type="text/javascript"><!--
292 allClassesLink = document.getElementById("allclasses_navbar_bottom");
294 allClassesLink.style.display = "block";
297 allClassesLink.style.display = "none";
303 <ul class="subNavList">
304 <li>Summary: </li>
305 <li><a href="#nested_classes_inherited_from_class_org.hibernate.cfg.Configuration">Nested</a> | </li>
306 <li><a href="#fields_inherited_from_class_org.hibernate.cfg.Configuration">Field</a> | </li>
307 <li><a href="#constructor_summary">Constr</a> | </li>
308 <li><a href="#method_summary">Method</a></li>
310 <ul class="subNavList">
311 <li>Detail: </li>
312 <li>Field | </li>
313 <li><a href="#constructor_detail">Constr</a> | </li>
314 <li><a href="#method_detail">Method</a></li>
317 <a name="skip-navbar_bottom">
320 <!-- ======== END OF BOTTOM NAVBAR ======= -->
321 <p class="legalCopy"><small>Copyright © 2014. All Rights Reserved.</small></p>