Projekt-Dokumentation (Aktueller Stand von juplo.de) hinzugefĆ¼gt
[website] / dist / hibernate4-maven-plugin-1.0.5 / apidocs / de / juplo / plugins / hibernate4 / ValidationConfiguration.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <!-- NewPage -->
3 <html lang="de">
4 <head>
5 <!-- Generated by javadoc (version 1.7.0_65) on Tue Nov 11 15:47:19 CET 2014 -->
6 <meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
7 <title>ValidationConfiguration (Hibernate 4 Maven Plugin 1.0.5 API)</title>
8 <meta name="date" content="2014-11-11">
9 <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
10 </head>
11 <body>
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.5 API)";
15     }
16 //-->
17 </script>
18 <noscript>
19 <div>JavaScript is disabled on your browser.</div>
20 </noscript>
21 <!-- ========= START OF TOP NAVBAR ======= -->
22 <div class="topNav"><a name="navbar_top">
23 <!--   -->
24 </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
25 <!--   -->
26 </a>
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>
36 </ul>
37 </div>
38 <div class="subNav">
39 <ul class="navList">
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>
41 <li>Next Class</li>
42 </ul>
43 <ul class="navList">
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>
46 </ul>
47 <ul class="navList" id="allclasses_navbar_top">
48 <li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
49 </ul>
50 <div>
51 <script type="text/javascript"><!--
52   allClassesLink = document.getElementById("allclasses_navbar_top");
53   if(window==top) {
54     allClassesLink.style.display = "block";
55   }
56   else {
57     allClassesLink.style.display = "none";
58   }
59   //-->
60 </script>
61 </div>
62 <div>
63 <ul class="subNavList">
64 <li>Summary:&nbsp;</li>
65 <li><a href="#nested_classes_inherited_from_class_org.hibernate.cfg.Configuration">Nested</a>&nbsp;|&nbsp;</li>
66 <li><a href="#fields_inherited_from_class_org.hibernate.cfg.Configuration">Field</a>&nbsp;|&nbsp;</li>
67 <li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
68 <li><a href="#method_summary">Method</a></li>
69 </ul>
70 <ul class="subNavList">
71 <li>Detail:&nbsp;</li>
72 <li>Field&nbsp;|&nbsp;</li>
73 <li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
74 <li><a href="#method_detail">Method</a></li>
75 </ul>
76 </div>
77 <a name="skip-navbar_top">
78 <!--   -->
79 </a></div>
80 <!-- ========= END OF TOP NAVBAR ========= -->
81 <!-- ======== START OF CLASS DATA ======== -->
82 <div class="header">
83 <div class="subTitle">de.juplo.plugins.hibernate4</div>
84 <h2 title="Class ValidationConfiguration" class="title">Class ValidationConfiguration</h2>
85 </div>
86 <div class="contentContainer">
87 <ul class="inheritance">
88 <li>java.lang.Object</li>
89 <li>
90 <ul class="inheritance">
91 <li>org.hibernate.cfg.Configuration</li>
92 <li>
93 <ul class="inheritance">
94 <li>de.juplo.plugins.hibernate4.ValidationConfiguration</li>
95 </ul>
96 </li>
97 </ul>
98 </li>
99 </ul>
100 <div class="description">
101 <ul class="blockList">
102 <li class="blockList">
103 <dl>
104 <dt>All Implemented Interfaces:</dt>
105 <dd>java.io.Serializable</dd>
106 </dl>
107 <hr>
108 <br>
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>
124 </li>
125 </ul>
126 </div>
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">
133 <!--   -->
134 </a>
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">
138 <!--   -->
139 </a>
140 <h3>Nested classes/interfaces inherited from class&nbsp;org.hibernate.cfg.Configuration</h3>
141 <code>org.hibernate.cfg.Configuration.MappingsImpl, org.hibernate.cfg.Configuration.MetadataSourceQueue</code></li>
142 </ul>
143 </li>
144 </ul>
145 <!-- =========== FIELD SUMMARY =========== -->
146 <ul class="blockList">
147 <li class="blockList"><a name="field_summary">
148 <!--   -->
149 </a>
150 <h3>Field Summary</h3>
151 <ul class="blockList">
152 <li class="blockList"><a name="fields_inherited_from_class_org.hibernate.cfg.Configuration">
153 <!--   -->
154 </a>
155 <h3>Fields inherited from class&nbsp;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, propertyReferences, secondPasses, settingsFactory, sqlFunctions, sqlResultSetMappings, tableNameBinding, tables, typeDefs, USE_NEW_ID_GENERATOR_MAPPINGS, xmlHelper</code></li>
157 </ul>
158 </li>
159 </ul>
160 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
161 <ul class="blockList">
162 <li class="blockList"><a name="constructor_summary">
163 <!--   -->
164 </a>
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">&nbsp;</span></caption>
168 <tr>
169 <th class="colOne" scope="col">Constructor and Description</th>
170 </tr>
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>(java.lang.String&nbsp;dialectClass)</code>&nbsp;</td>
173 </tr>
174 </table>
175 </li>
176 </ul>
177 <!-- ========== METHOD SUMMARY =========== -->
178 <ul class="blockList">
179 <li class="blockList"><a name="method_summary">
180 <!--   -->
181 </a>
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">&nbsp;</span></caption>
185 <tr>
186 <th class="colFirst" scope="col">Modifier and Type</th>
187 <th class="colLast" scope="col">Method and Description</th>
188 </tr>
189 <tr class="altColor">
190 <td class="colFirst"><code>java.lang.String</code></td>
191 <td class="colLast"><code><strong><a href="../../../../de/juplo/plugins/hibernate4/ValidationConfiguration.html#getTypeDefs()">getTypeDefs</a></strong>()</code>&nbsp;</td>
192 </tr>
193 <tr class="rowColor">
194 <td class="colFirst"><code>protected void</code></td>
195 <td class="colLast"><code><strong><a href="../../../../de/juplo/plugins/hibernate4/ValidationConfiguration.html#secondPassCompile()">secondPassCompile</a></strong>()</code>&nbsp;</td>
196 </tr>
197 </table>
198 <ul class="blockList">
199 <li class="blockList"><a name="methods_inherited_from_class_org.hibernate.cfg.Configuration">
200 <!--   -->
201 </a>
202 <h3>Methods inherited from class&nbsp;org.hibernate.cfg.Configuration</h3>
203 <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, getNamingStrategyDelegator, 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, setNamingStrategyDelegator, setPrecedence, setProperties, setProperty, setSessionFactoryObserver, validateSchema</code></li>
204 </ul>
205 <ul class="blockList">
206 <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
207 <!--   -->
208 </a>
209 <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
210 <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
211 </ul>
212 </li>
213 </ul>
214 </li>
215 </ul>
216 </div>
217 <div class="details">
218 <ul class="blockList">
219 <li class="blockList">
220 <!-- ========= CONSTRUCTOR DETAIL ======== -->
221 <ul class="blockList">
222 <li class="blockList"><a name="constructor_detail">
223 <!--   -->
224 </a>
225 <h3>Constructor Detail</h3>
226 <a name="ValidationConfiguration(java.lang.String)">
227 <!--   -->
228 </a>
229 <ul class="blockListLast">
230 <li class="blockList">
231 <h4>ValidationConfiguration</h4>
232 <pre>public&nbsp;ValidationConfiguration(java.lang.String&nbsp;dialectClass)</pre>
233 </li>
234 </ul>
235 </li>
236 </ul>
237 <!-- ============ METHOD DETAIL ========== -->
238 <ul class="blockList">
239 <li class="blockList"><a name="method_detail">
240 <!--   -->
241 </a>
242 <h3>Method Detail</h3>
243 <a name="secondPassCompile()">
244 <!--   -->
245 </a>
246 <ul class="blockList">
247 <li class="blockList">
248 <h4>secondPassCompile</h4>
249 <pre>protected&nbsp;void&nbsp;secondPassCompile()
250                           throws org.hibernate.metamodel.source.MappingException</pre>
251 <dl>
252 <dt><strong>Overrides:</strong></dt>
253 <dd><code>secondPassCompile</code>&nbsp;in class&nbsp;<code>org.hibernate.cfg.Configuration</code></dd>
254 <dt><span class="strong">Throws:</span></dt>
255 <dd><code>org.hibernate.metamodel.source.MappingException</code></dd></dl>
256 </li>
257 </ul>
258 <a name="getTypeDefs()">
259 <!--   -->
260 </a>
261 <ul class="blockListLast">
262 <li class="blockList">
263 <h4>getTypeDefs</h4>
264 <pre>public&nbsp;java.lang.String&nbsp;getTypeDefs()</pre>
265 </li>
266 </ul>
267 </li>
268 </ul>
269 </li>
270 </ul>
271 </div>
272 </div>
273 <!-- ========= END OF CLASS DATA ========= -->
274 <!-- ======= START OF BOTTOM NAVBAR ====== -->
275 <div class="bottomNav"><a name="navbar_bottom">
276 <!--   -->
277 </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
278 <!--   -->
279 </a>
280 <ul class="navList" title="Navigation">
281 <li><a href="../../../../overview-summary.html">Overview</a></li>
282 <li><a href="package-summary.html">Package</a></li>
283 <li class="navBarCell1Rev">Class</li>
284 <li><a href="class-use/ValidationConfiguration.html">Use</a></li>
285 <li><a href="package-tree.html">Tree</a></li>
286 <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
287 <li><a href="../../../../index-all.html">Index</a></li>
288 <li><a href="../../../../help-doc.html">Help</a></li>
289 </ul>
290 </div>
291 <div class="subNav">
292 <ul class="navList">
293 <li><a href="../../../../de/juplo/plugins/hibernate4/HelpMojo.html" title="class in de.juplo.plugins.hibernate4"><span class="strong">Prev Class</span></a></li>
294 <li>Next Class</li>
295 </ul>
296 <ul class="navList">
297 <li><a href="../../../../index.html?de/juplo/plugins/hibernate4/ValidationConfiguration.html" target="_top">Frames</a></li>
298 <li><a href="ValidationConfiguration.html" target="_top">No Frames</a></li>
299 </ul>
300 <ul class="navList" id="allclasses_navbar_bottom">
301 <li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
302 </ul>
303 <div>
304 <script type="text/javascript"><!--
305   allClassesLink = document.getElementById("allclasses_navbar_bottom");
306   if(window==top) {
307     allClassesLink.style.display = "block";
308   }
309   else {
310     allClassesLink.style.display = "none";
311   }
312   //-->
313 </script>
314 </div>
315 <div>
316 <ul class="subNavList">
317 <li>Summary:&nbsp;</li>
318 <li><a href="#nested_classes_inherited_from_class_org.hibernate.cfg.Configuration">Nested</a>&nbsp;|&nbsp;</li>
319 <li><a href="#fields_inherited_from_class_org.hibernate.cfg.Configuration">Field</a>&nbsp;|&nbsp;</li>
320 <li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
321 <li><a href="#method_summary">Method</a></li>
322 </ul>
323 <ul class="subNavList">
324 <li>Detail:&nbsp;</li>
325 <li>Field&nbsp;|&nbsp;</li>
326 <li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
327 <li><a href="#method_detail">Method</a></li>
328 </ul>
329 </div>
330 <a name="skip-navbar_bottom">
331 <!--   -->
332 </a></div>
333 <!-- ======== END OF BOTTOM NAVBAR ======= -->
334 <p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
335 </body>
336 </html>