]> juplo.de Git - website/blob
44b6fc00c472963f423f1769257d48b91be46778
[website] /
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <!-- NewPage -->
3 <html lang="en">
4 <head>
5 <!-- Generated by javadoc (1.8.0_342) on Fri Nov 07 14:12:31 UTC 2025 -->
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7 <title>ValidationConfiguration (Hibernate 4 Maven Plugin 1.1.1 API)</title>
8 <meta name="date" content="2025-11-07">
9 <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
10 <script type="text/javascript" src="../../../../script.js"></script>
11 </head>
12 <body>
13 <script type="text/javascript"><!--
14     try {
15         if (location.href.indexOf('is-external=true') == -1) {
16             parent.document.title="ValidationConfiguration (Hibernate 4 Maven Plugin 1.1.1 API)";
17         }
18     }
19     catch(err) {
20     }
21 //-->
22 var methods = {"i0":10,"i1":10};
23 var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
24 var altColor = "altColor";
25 var rowColor = "rowColor";
26 var tableTab = "tableTab";
27 var activeTableTab = "activeTableTab";
28 </script>
29 <noscript>
30 <div>JavaScript is disabled on your browser.</div>
31 </noscript>
32 <!-- ========= START OF TOP NAVBAR ======= -->
33 <div class="topNav"><a name="navbar.top">
34 <!--   -->
35 </a>
36 <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
37 <a name="navbar.top.firstrow">
38 <!--   -->
39 </a>
40 <ul class="navList" title="Navigation">
41 <li><a href="../../../../overview-summary.html">Overview</a></li>
42 <li><a href="package-summary.html">Package</a></li>
43 <li class="navBarCell1Rev">Class</li>
44 <li><a href="class-use/ValidationConfiguration.html">Use</a></li>
45 <li><a href="package-tree.html">Tree</a></li>
46 <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
47 <li><a href="../../../../index-all.html">Index</a></li>
48 <li><a href="../../../../help-doc.html">Help</a></li>
49 </ul>
50 </div>
51 <div class="subNav">
52 <ul class="navList">
53 <li><a href="../../../../de/juplo/plugins/hibernate4/HelpMojo.html" title="class in de.juplo.plugins.hibernate4"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
54 <li>Next&nbsp;Class</li>
55 </ul>
56 <ul class="navList">
57 <li><a href="../../../../index.html?de/juplo/plugins/hibernate4/ValidationConfiguration.html" target="_top">Frames</a></li>
58 <li><a href="ValidationConfiguration.html" target="_top">No&nbsp;Frames</a></li>
59 </ul>
60 <ul class="navList" id="allclasses_navbar_top">
61 <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
62 </ul>
63 <div>
64 <script type="text/javascript"><!--
65   allClassesLink = document.getElementById("allclasses_navbar_top");
66   if(window==top) {
67     allClassesLink.style.display = "block";
68   }
69   else {
70     allClassesLink.style.display = "none";
71   }
72   //-->
73 </script>
74 </div>
75 <div>
76 <ul class="subNavList">
77 <li>Summary:&nbsp;</li>
78 <li><a href="#nested.classes.inherited.from.class.org.hibernate.cfg.Configuration">Nested</a>&nbsp;|&nbsp;</li>
79 <li><a href="#fields.inherited.from.class.org.hibernate.cfg.Configuration">Field</a>&nbsp;|&nbsp;</li>
80 <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
81 <li><a href="#method.summary">Method</a></li>
82 </ul>
83 <ul class="subNavList">
84 <li>Detail:&nbsp;</li>
85 <li>Field&nbsp;|&nbsp;</li>
86 <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
87 <li><a href="#method.detail">Method</a></li>
88 </ul>
89 </div>
90 <a name="skip.navbar.top">
91 <!--   -->
92 </a></div>
93 <!-- ========= END OF TOP NAVBAR ========= -->
94 <!-- ======== START OF CLASS DATA ======== -->
95 <div class="header">
96 <div class="subTitle">de.juplo.plugins.hibernate4</div>
97 <h2 title="Class ValidationConfiguration" class="title">Class ValidationConfiguration</h2>
98 </div>
99 <div class="contentContainer">
100 <ul class="inheritance">
101 <li>java.lang.Object</li>
102 <li>
103 <ul class="inheritance">
104 <li>org.hibernate.cfg.Configuration</li>
105 <li>
106 <ul class="inheritance">
107 <li>de.juplo.plugins.hibernate4.ValidationConfiguration</li>
108 </ul>
109 </li>
110 </ul>
111 </li>
112 </ul>
113 <div class="description">
114 <ul class="blockList">
115 <li class="blockList">
116 <dl>
117 <dt>All Implemented Interfaces:</dt>
118 <dd>java.io.Serializable</dd>
119 </dl>
120 <hr>
121 <br>
122 <pre>public class <span class="typeNameLabel">ValidationConfiguration</span>
123 extends org.hibernate.cfg.Configuration</pre>
124 <div class="block">This integration is usually performed by BeanValidationIntegrator.
125  Unfortunately, that integration will only be activated upon
126  initialization of the ServiceRegistry, which initializes
127  DatasourceConnectionProviderImpl, which looks up the datasource,
128  which requires a JNDI context ...
129  We therefore reimplement the relevant parts of BeanValidatorIntegrator.
130  Since that must occur after secondPassCompile(), which is invoked by
131  Configuration.generateSchemaCreationScript, which is invoked by
132  SchemaExport, some fancy subclassing is needed to invoke the integration
133  at the right time.</div>
134 <dl>
135 <dt><span class="simpleTagLabel">Author:</span></dt>
136 <dd>Mark Robinson <mark@mrobinson.ca>, Frank Schimmel <frank.schimmel@cm4all.com></dd>
137 <dt><span class="seeLabel">See Also:</span></dt>
138 <dd><a href="../../../../serialized-form.html#de.juplo.plugins.hibernate4.ValidationConfiguration">Serialized Form</a></dd>
139 </dl>
140 </li>
141 </ul>
142 </div>
143 <div class="summary">
144 <ul class="blockList">
145 <li class="blockList">
146 <!-- ======== NESTED CLASS SUMMARY ======== -->
147 <ul class="blockList">
148 <li class="blockList"><a name="nested.class.summary">
149 <!--   -->
150 </a>
151 <h3>Nested Class Summary</h3>
152 <ul class="blockList">
153 <li class="blockList"><a name="nested.classes.inherited.from.class.org.hibernate.cfg.Configuration">
154 <!--   -->
155 </a>
156 <h3>Nested classes/interfaces inherited from class&nbsp;org.hibernate.cfg.Configuration</h3>
157 <code>org.hibernate.cfg.Configuration.MappingsImpl, org.hibernate.cfg.Configuration.MetadataSourceQueue</code></li>
158 </ul>
159 </li>
160 </ul>
161 <!-- =========== FIELD SUMMARY =========== -->
162 <ul class="blockList">
163 <li class="blockList"><a name="field.summary">
164 <!--   -->
165 </a>
166 <h3>Field Summary</h3>
167 <ul class="blockList">
168 <li class="blockList"><a name="fields.inherited.from.class.org.hibernate.cfg.Configuration">
169 <!--   -->
170 </a>
171 <h3>Fields inherited from class&nbsp;org.hibernate.cfg.Configuration</h3>
172 <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>
173 </ul>
174 </li>
175 </ul>
176 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
177 <ul class="blockList">
178 <li class="blockList"><a name="constructor.summary">
179 <!--   -->
180 </a>
181 <h3>Constructor Summary</h3>
182 <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
183 <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
184 <tr>
185 <th class="colOne" scope="col">Constructor and Description</th>
186 </tr>
187 <tr class="altColor">
188 <td class="colOne"><code><span class="memberNameLink"><a href="../../../../de/juplo/plugins/hibernate4/ValidationConfiguration.html#ValidationConfiguration--">ValidationConfiguration</a></span>()</code>&nbsp;</td>
189 </tr>
190 </table>
191 </li>
192 </ul>
193 <!-- ========== METHOD SUMMARY =========== -->
194 <ul class="blockList">
195 <li class="blockList"><a name="method.summary">
196 <!--   -->
197 </a>
198 <h3>Method Summary</h3>
199 <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
200 <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
201 <tr>
202 <th class="colFirst" scope="col">Modifier and Type</th>
203 <th class="colLast" scope="col">Method and Description</th>
204 </tr>
205 <tr id="i0" class="altColor">
206 <td class="colFirst"><code>java.lang.String</code></td>
207 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/juplo/plugins/hibernate4/ValidationConfiguration.html#getTypeDefs--">getTypeDefs</a></span>()</code>&nbsp;</td>
208 </tr>
209 <tr id="i1" class="rowColor">
210 <td class="colFirst"><code>protected void</code></td>
211 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/juplo/plugins/hibernate4/ValidationConfiguration.html#secondPassCompile--">secondPassCompile</a></span>()</code>&nbsp;</td>
212 </tr>
213 </table>
214 <ul class="blockList">
215 <li class="blockList"><a name="methods.inherited.from.class.org.hibernate.cfg.Configuration">
216 <!--   -->
217 </a>
218 <h3>Methods inherited from class&nbsp;org.hibernate.cfg.Configuration</h3>
219 <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>
220 </ul>
221 <ul class="blockList">
222 <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
223 <!--   -->
224 </a>
225 <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
226 <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
227 </ul>
228 </li>
229 </ul>
230 </li>
231 </ul>
232 </div>
233 <div class="details">
234 <ul class="blockList">
235 <li class="blockList">
236 <!-- ========= CONSTRUCTOR DETAIL ======== -->
237 <ul class="blockList">
238 <li class="blockList"><a name="constructor.detail">
239 <!--   -->
240 </a>
241 <h3>Constructor Detail</h3>
242 <a name="ValidationConfiguration--">
243 <!--   -->
244 </a>
245 <ul class="blockListLast">
246 <li class="blockList">
247 <h4>ValidationConfiguration</h4>
248 <pre>public&nbsp;ValidationConfiguration()</pre>
249 </li>
250 </ul>
251 </li>
252 </ul>
253 <!-- ============ METHOD DETAIL ========== -->
254 <ul class="blockList">
255 <li class="blockList"><a name="method.detail">
256 <!--   -->
257 </a>
258 <h3>Method Detail</h3>
259 <a name="secondPassCompile--">
260 <!--   -->
261 </a>
262 <ul class="blockList">
263 <li class="blockList">
264 <h4>secondPassCompile</h4>
265 <pre>protected&nbsp;void&nbsp;secondPassCompile()
266                           throws org.hibernate.metamodel.source.MappingException</pre>
267 <dl>
268 <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
269 <dd><code>secondPassCompile</code>&nbsp;in class&nbsp;<code>org.hibernate.cfg.Configuration</code></dd>
270 <dt><span class="throwsLabel">Throws:</span></dt>
271 <dd><code>org.hibernate.metamodel.source.MappingException</code></dd>
272 </dl>
273 </li>
274 </ul>
275 <a name="getTypeDefs--">
276 <!--   -->
277 </a>
278 <ul class="blockListLast">
279 <li class="blockList">
280 <h4>getTypeDefs</h4>
281 <pre>public&nbsp;java.lang.String&nbsp;getTypeDefs()</pre>
282 </li>
283 </ul>
284 </li>
285 </ul>
286 </li>
287 </ul>
288 </div>
289 </div>
290 <!-- ========= END OF CLASS DATA ========= -->
291 <!-- ======= START OF BOTTOM NAVBAR ====== -->
292 <div class="bottomNav"><a name="navbar.bottom">
293 <!--   -->
294 </a>
295 <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
296 <a name="navbar.bottom.firstrow">
297 <!--   -->
298 </a>
299 <ul class="navList" title="Navigation">
300 <li><a href="../../../../overview-summary.html">Overview</a></li>
301 <li><a href="package-summary.html">Package</a></li>
302 <li class="navBarCell1Rev">Class</li>
303 <li><a href="class-use/ValidationConfiguration.html">Use</a></li>
304 <li><a href="package-tree.html">Tree</a></li>
305 <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
306 <li><a href="../../../../index-all.html">Index</a></li>
307 <li><a href="../../../../help-doc.html">Help</a></li>
308 </ul>
309 </div>
310 <div class="subNav">
311 <ul class="navList">
312 <li><a href="../../../../de/juplo/plugins/hibernate4/HelpMojo.html" title="class in de.juplo.plugins.hibernate4"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
313 <li>Next&nbsp;Class</li>
314 </ul>
315 <ul class="navList">
316 <li><a href="../../../../index.html?de/juplo/plugins/hibernate4/ValidationConfiguration.html" target="_top">Frames</a></li>
317 <li><a href="ValidationConfiguration.html" target="_top">No&nbsp;Frames</a></li>
318 </ul>
319 <ul class="navList" id="allclasses_navbar_bottom">
320 <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
321 </ul>
322 <div>
323 <script type="text/javascript"><!--
324   allClassesLink = document.getElementById("allclasses_navbar_bottom");
325   if(window==top) {
326     allClassesLink.style.display = "block";
327   }
328   else {
329     allClassesLink.style.display = "none";
330   }
331   //-->
332 </script>
333 </div>
334 <div>
335 <ul class="subNavList">
336 <li>Summary:&nbsp;</li>
337 <li><a href="#nested.classes.inherited.from.class.org.hibernate.cfg.Configuration">Nested</a>&nbsp;|&nbsp;</li>
338 <li><a href="#fields.inherited.from.class.org.hibernate.cfg.Configuration">Field</a>&nbsp;|&nbsp;</li>
339 <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
340 <li><a href="#method.summary">Method</a></li>
341 </ul>
342 <ul class="subNavList">
343 <li>Detail:&nbsp;</li>
344 <li>Field&nbsp;|&nbsp;</li>
345 <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
346 <li><a href="#method.detail">Method</a></li>
347 </ul>
348 </div>
349 <a name="skip.navbar.bottom">
350 <!--   -->
351 </a></div>
352 <!-- ======== END OF BOTTOM NAVBAR ======= -->
353 <p class="legalCopy"><small>Copyright &#169; 2025. All Rights Reserved.</small></p>
354 </body>
355 </html>