1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
5 <!-- Generated by javadoc (1.8.0_342) on Thu May 07 21:40:29 UTC 2026 -->
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="2026-05-07">
9 <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
10 <script type="text/javascript" src="../../../../script.js"></script>
13 <script type="text/javascript"><!--
15 if (location.href.indexOf('is-external=true') == -1) {
16 parent.document.title="ValidationConfiguration (Hibernate 4 Maven Plugin 1.0.4 API)";
22 var methods = {"i0":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";
30 <div>JavaScript is disabled on your browser.</div>
32 <!-- ========= START OF TOP NAVBAR ======= -->
33 <div class="topNav"><a name="navbar.top">
36 <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
37 <a name="navbar.top.firstrow">
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>
53 <li><a href="../../../../de/juplo/plugins/hibernate4/HelpMojo.html" title="class in de.juplo.plugins.hibernate4"><span class="typeNameLink">Prev Class</span></a></li>
54 <li>Next Class</li>
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 Frames</a></li>
60 <ul class="navList" id="allclasses_navbar_top">
61 <li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
64 <script type="text/javascript"><!--
65 allClassesLink = document.getElementById("allclasses_navbar_top");
67 allClassesLink.style.display = "block";
70 allClassesLink.style.display = "none";
76 <ul class="subNavList">
77 <li>Summary: </li>
78 <li><a href="#nested.classes.inherited.from.class.org.hibernate.cfg.Configuration">Nested</a> | </li>
79 <li><a href="#fields.inherited.from.class.org.hibernate.cfg.Configuration">Field</a> | </li>
80 <li><a href="#constructor.summary">Constr</a> | </li>
81 <li><a href="#method.summary">Method</a></li>
83 <ul class="subNavList">
84 <li>Detail: </li>
85 <li>Field | </li>
86 <li><a href="#constructor.detail">Constr</a> | </li>
87 <li><a href="#method.detail">Method</a></li>
90 <a name="skip.navbar.top">
93 <!-- ========= END OF TOP NAVBAR ========= -->
94 <!-- ======== START OF CLASS DATA ======== -->
96 <div class="subTitle">de.juplo.plugins.hibernate4</div>
97 <h2 title="Class ValidationConfiguration" class="title">Class ValidationConfiguration</h2>
99 <div class="contentContainer">
100 <ul class="inheritance">
101 <li>java.lang.Object</li>
103 <ul class="inheritance">
104 <li>org.hibernate.cfg.Configuration</li>
106 <ul class="inheritance">
107 <li>de.juplo.plugins.hibernate4.ValidationConfiguration</li>
113 <div class="description">
114 <ul class="blockList">
115 <li class="blockList">
117 <dt>All Implemented Interfaces:</dt>
118 <dd>java.io.Serializable</dd>
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>
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>
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">
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">
156 <h3>Nested classes/interfaces inherited from class org.hibernate.cfg.Configuration</h3>
157 <code>org.hibernate.cfg.Configuration.MappingsImpl, org.hibernate.cfg.Configuration.MetadataSourceQueue</code></li>
161 <!-- =========== FIELD SUMMARY =========== -->
162 <ul class="blockList">
163 <li class="blockList"><a name="field.summary">
166 <h3>Field Summary</h3>
167 <ul class="blockList">
168 <li class="blockList"><a name="fields.inherited.from.class.org.hibernate.cfg.Configuration">
171 <h3>Fields inherited from class 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, namingStrategy, propertyReferences, secondPasses, settingsFactory, sqlFunctions, sqlResultSetMappings, tableNameBinding, tables, typeDefs, USE_NEW_ID_GENERATOR_MAPPINGS, xmlHelper</code></li>
176 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
177 <ul class="blockList">
178 <li class="blockList"><a name="constructor.summary">
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"> </span></caption>
185 <th class="colOne" scope="col">Constructor and Description</th>
187 <tr class="altColor">
188 <td class="colOne"><code><span class="memberNameLink"><a href="../../../../de/juplo/plugins/hibernate4/ValidationConfiguration.html#ValidationConfiguration-java.lang.String-">ValidationConfiguration</a></span>(java.lang.String dialectClass)</code> </td>
193 <!-- ========== METHOD SUMMARY =========== -->
194 <ul class="blockList">
195 <li class="blockList"><a name="method.summary">
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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
202 <th class="colFirst" scope="col">Modifier and Type</th>
203 <th class="colLast" scope="col">Method and Description</th>
205 <tr id="i0" class="altColor">
206 <td class="colFirst"><code>protected void</code></td>
207 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/juplo/plugins/hibernate4/ValidationConfiguration.html#secondPassCompile--">secondPassCompile</a></span>()</code> </td>
210 <ul class="blockList">
211 <li class="blockList"><a name="methods.inherited.from.class.org.hibernate.cfg.Configuration">
214 <h3>Methods inherited from class org.hibernate.cfg.Configuration</h3>
215 <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>
217 <ul class="blockList">
218 <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
221 <h3>Methods inherited from class java.lang.Object</h3>
222 <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
229 <div class="details">
230 <ul class="blockList">
231 <li class="blockList">
232 <!-- ========= CONSTRUCTOR DETAIL ======== -->
233 <ul class="blockList">
234 <li class="blockList"><a name="constructor.detail">
237 <h3>Constructor Detail</h3>
238 <a name="ValidationConfiguration-java.lang.String-">
241 <ul class="blockListLast">
242 <li class="blockList">
243 <h4>ValidationConfiguration</h4>
244 <pre>public ValidationConfiguration(java.lang.String dialectClass)</pre>
249 <!-- ============ METHOD DETAIL ========== -->
250 <ul class="blockList">
251 <li class="blockList"><a name="method.detail">
254 <h3>Method Detail</h3>
255 <a name="secondPassCompile--">
258 <ul class="blockListLast">
259 <li class="blockList">
260 <h4>secondPassCompile</h4>
261 <pre>protected void secondPassCompile()
262 throws org.hibernate.metamodel.source.MappingException</pre>
264 <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
265 <dd><code>secondPassCompile</code> in class <code>org.hibernate.cfg.Configuration</code></dd>
266 <dt><span class="throwsLabel">Throws:</span></dt>
267 <dd><code>org.hibernate.metamodel.source.MappingException</code></dd>
277 <!-- ========= END OF CLASS DATA ========= -->
278 <!-- ======= START OF BOTTOM NAVBAR ====== -->
279 <div class="bottomNav"><a name="navbar.bottom">
282 <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
283 <a name="navbar.bottom.firstrow">
286 <ul class="navList" title="Navigation">
287 <li><a href="../../../../overview-summary.html">Overview</a></li>
288 <li><a href="package-summary.html">Package</a></li>
289 <li class="navBarCell1Rev">Class</li>
290 <li><a href="class-use/ValidationConfiguration.html">Use</a></li>
291 <li><a href="package-tree.html">Tree</a></li>
292 <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
293 <li><a href="../../../../index-all.html">Index</a></li>
294 <li><a href="../../../../help-doc.html">Help</a></li>
299 <li><a href="../../../../de/juplo/plugins/hibernate4/HelpMojo.html" title="class in de.juplo.plugins.hibernate4"><span class="typeNameLink">Prev Class</span></a></li>
300 <li>Next Class</li>
303 <li><a href="../../../../index.html?de/juplo/plugins/hibernate4/ValidationConfiguration.html" target="_top">Frames</a></li>
304 <li><a href="ValidationConfiguration.html" target="_top">No Frames</a></li>
306 <ul class="navList" id="allclasses_navbar_bottom">
307 <li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
310 <script type="text/javascript"><!--
311 allClassesLink = document.getElementById("allclasses_navbar_bottom");
313 allClassesLink.style.display = "block";
316 allClassesLink.style.display = "none";
322 <ul class="subNavList">
323 <li>Summary: </li>
324 <li><a href="#nested.classes.inherited.from.class.org.hibernate.cfg.Configuration">Nested</a> | </li>
325 <li><a href="#fields.inherited.from.class.org.hibernate.cfg.Configuration">Field</a> | </li>
326 <li><a href="#constructor.summary">Constr</a> | </li>
327 <li><a href="#method.summary">Method</a></li>
329 <ul class="subNavList">
330 <li>Detail: </li>
331 <li>Field | </li>
332 <li><a href="#constructor.detail">Constr</a> | </li>
333 <li><a href="#method.detail">Method</a></li>
336 <a name="skip.navbar.bottom">
339 <!-- ======== END OF BOTTOM NAVBAR ======= -->
340 <p class="legalCopy"><small>Copyright © 2026. All Rights Reserved.</small></p>