Skip to content

Commit 0e7153d

Browse files
Add missing cache setting
Fix #1650 in 5.0.x
1 parent 942b61b commit 0e7153d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/NHibernate/nhibernate-configuration.xsd

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,15 @@
9090
<xs:enumeration value="cache.region_prefix" />
9191
<xs:enumeration value="cache.use_minimal_puts" />
9292
<xs:enumeration value="cache.default_expiration" />
93+
<xs:enumeration value="cache.use_sliding_expiration">
94+
<xs:annotation>
95+
<xs:documentation>
96+
The use_sliding_expiration value is whether you wish to use a sliding expiration or not. Defaults
97+
to false. Not all providers support this setting, it may be ignored. Check their respective
98+
documentation.
99+
</xs:documentation>
100+
</xs:annotation>
101+
</xs:enumeration>
93102
<xs:enumeration value="query.substitutions" />
94103
<xs:enumeration value="query.factory_class" />
95104
<xs:enumeration value="query.linq_provider_class" />

0 commit comments

Comments
 (0)