Skip to content

Commit 50b518f

Browse files
add xml configuration validation
1 parent de5931a commit 50b518f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/NHibernate.Test/App.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
<property name="cache.use_query_cache">true</property>
3939

4040
<property name="query.startup_check">false</property>
41+
<property name="query.throw_never_cached">true</property>
4142
<property name="query.substitutions">true 1, false 0, yes 'Y', no 'N'</property>
4243

4344
<property name="adonet.batch_size">10</property>

src/NHibernate/nhibernate-configuration.xsd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@
149149
<xs:enumeration value="xml.output_stylesheet" />
150150
<xs:enumeration value="generate_statistics" />
151151
<xs:enumeration value="query.startup_check" />
152+
<xs:enumeration value="query.throw_never_cached" />
152153
<xs:enumeration value="default_catalog" />
153154
<xs:enumeration value="proxyfactory.factory_class" />
154155
<xs:enumeration value="adonet.factory_class" />

0 commit comments

Comments
 (0)