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_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">
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)";
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>java.lang.Object</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>java.io.Serializable</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, 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>(java.lang.String 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>java.lang.String</code></td>
191 <td class="colLast"><code><strong><a href="../../../../de/juplo/plugins/hibernate4/ValidationConfiguration.html#getTypeDefs()">getTypeDefs</a></strong>()</code> </td>
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> </td>
198 <ul class="blockList">
199 <li class="blockList"><a name="methods_inherited_from_class_org.hibernate.cfg.Configuration">
202 <h3>Methods inherited from class 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>
205 <ul class="blockList">
206 <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
209 <h3>Methods inherited from class java.lang.Object</h3>
210 <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
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">
225 <h3>Constructor Detail</h3>
226 <a name="ValidationConfiguration(java.lang.String)">
229 <ul class="blockListLast">
230 <li class="blockList">
231 <h4>ValidationConfiguration</h4>
232 <pre>public ValidationConfiguration(java.lang.String dialectClass)</pre>
237 <!-- ============ METHOD DETAIL ========== -->
238 <ul class="blockList">
239 <li class="blockList"><a name="method_detail">
242 <h3>Method Detail</h3>
243 <a name="secondPassCompile()">
246 <ul class="blockList">
247 <li class="blockList">
248 <h4>secondPassCompile</h4>
249 <pre>protected void secondPassCompile()
250 throws org.hibernate.metamodel.source.MappingException</pre>
252 <dt><strong>Overrides:</strong></dt>
253 <dd><code>secondPassCompile</code> in class <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>
258 <a name="getTypeDefs()">
261 <ul class="blockListLast">
262 <li class="blockList">
264 <pre>public java.lang.String getTypeDefs()</pre>
273 <!-- ========= END OF CLASS DATA ========= -->
274 <!-- ======= START OF BOTTOM NAVBAR ====== -->
275 <div class="bottomNav"><a name="navbar_bottom">
277 </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
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>
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>
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>
300 <ul class="navList" id="allclasses_navbar_bottom">
301 <li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
304 <script type="text/javascript"><!--
305 allClassesLink = document.getElementById("allclasses_navbar_bottom");
307 allClassesLink.style.display = "block";
310 allClassesLink.style.display = "none";
316 <ul class="subNavList">
317 <li>Summary: </li>
318 <li><a href="#nested_classes_inherited_from_class_org.hibernate.cfg.Configuration">Nested</a> | </li>
319 <li><a href="#fields_inherited_from_class_org.hibernate.cfg.Configuration">Field</a> | </li>
320 <li><a href="#constructor_summary">Constr</a> | </li>
321 <li><a href="#method_summary">Method</a></li>
323 <ul class="subNavList">
324 <li>Detail: </li>
325 <li>Field | </li>
326 <li><a href="#constructor_detail">Constr</a> | </li>
327 <li><a href="#method_detail">Method</a></li>
330 <a name="skip-navbar_bottom">
333 <!-- ======== END OF BOTTOM NAVBAR ======= -->
334 <p class="legalCopy"><small>Copyright © 2014. All Rights Reserved.</small></p>