Expiration property of session factory not handled when configured via XML
Description
Environment
None
Attachments
1
Activity
Show:

Fabio Maulo May 29, 2009 at 8:50 PM
The new property is : cache.default_expiration
I'm going to fix the linked issue supporting the old and the new property.
Thanks to post this issue.
Fixed
Details
Details
Assignee
Unassigned
UnassignedReporter

Components
Fix versions
Affects versions
Priority
Who's Looking?
Open Who's Looking?
Created May 27, 2009 at 5:28 AM
Updated July 22, 2009 at 7:21 AM
Resolved May 29, 2009 at 8:50 PM
Who's Looking?
"expiration" property of session factory is used by cache providers (memcache, possibly others?) which read it programatically
and when setting it programatically it works.
However trying to set it via XML configuration of NHibernate cause an exception with NHibernate.Cfg.*.
Patch adds expiration property to XSD/Environment so it can be set via XML config.
NHibernate.Tests never caused this issue because test that specifically use expiration set its programatically.