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 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>
13 <script type="text/javascript"><!--
15 if (location.href.indexOf('is-external=true') == -1) {
16 parent.document.title="ValidationConfiguration (Hibernate 4 Maven Plugin 1.1.1 API)";
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";
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, 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--">ValidationConfiguration</a></span>()</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>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> </td>
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> </td>
214 <ul class="blockList">
215 <li class="blockList"><a name="methods.inherited.from.class.org.hibernate.cfg.Configuration">
218 <h3>Methods inherited from class 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>
221 <ul class="blockList">
222 <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
225 <h3>Methods inherited from class java.lang.Object</h3>
226 <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
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">
241 <h3>Constructor Detail</h3>
242 <a name="ValidationConfiguration--">
245 <ul class="blockListLast">
246 <li class="blockList">
247 <h4>ValidationConfiguration</h4>
248 <pre>public ValidationConfiguration()</pre>
253 <!-- ============ METHOD DETAIL ========== -->
254 <ul class="blockList">
255 <li class="blockList"><a name="method.detail">
258 <h3>Method Detail</h3>
259 <a name="secondPassCompile--">
262 <ul class="blockList">
263 <li class="blockList">
264 <h4>secondPassCompile</h4>
265 <pre>protected void secondPassCompile()
266 throws org.hibernate.metamodel.source.MappingException</pre>
268 <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
269 <dd><code>secondPassCompile</code> in class <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>
275 <a name="getTypeDefs--">
278 <ul class="blockListLast">
279 <li class="blockList">
281 <pre>public java.lang.String getTypeDefs()</pre>
290 <!-- ========= END OF CLASS DATA ========= -->
291 <!-- ======= START OF BOTTOM NAVBAR ====== -->
292 <div class="bottomNav"><a name="navbar.bottom">
295 <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
296 <a name="navbar.bottom.firstrow">
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>
312 <li><a href="../../../../de/juplo/plugins/hibernate4/HelpMojo.html" title="class in de.juplo.plugins.hibernate4"><span class="typeNameLink">Prev Class</span></a></li>
313 <li>Next Class</li>
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 Frames</a></li>
319 <ul class="navList" id="allclasses_navbar_bottom">
320 <li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
323 <script type="text/javascript"><!--
324 allClassesLink = document.getElementById("allclasses_navbar_bottom");
326 allClassesLink.style.display = "block";
329 allClassesLink.style.display = "none";
335 <ul class="subNavList">
336 <li>Summary: </li>
337 <li><a href="#nested.classes.inherited.from.class.org.hibernate.cfg.Configuration">Nested</a> | </li>
338 <li><a href="#fields.inherited.from.class.org.hibernate.cfg.Configuration">Field</a> | </li>
339 <li><a href="#constructor.summary">Constr</a> | </li>
340 <li><a href="#method.summary">Method</a></li>
342 <ul class="subNavList">
343 <li>Detail: </li>
344 <li>Field | </li>
345 <li><a href="#constructor.detail">Constr</a> | </li>
346 <li><a href="#method.detail">Method</a></li>
349 <a name="skip.navbar.bottom">
352 <!-- ======== END OF BOTTOM NAVBAR ======= -->
353 <p class="legalCopy"><small>Copyright © 2025. All Rights Reserved.</small></p>