Skip to content

Cannot use cache.use_sliding_expiration in hibernate.cfg.xml #1650

Closed
@boypula

Description

@boypula

When I include <property name="cache.use_sliding_expiration">true</property> in a hibernate.cfg.xml file, I received the following exception:

An exception occurred parsing configuration :The 'name' attribute is invalid - The value 'cache.use_sliding_expiration' is invalid according to its datatype 'String' - The Enumeration constraint failed.

When I checked the source, cache.use_sliding_expiration is not defined in nhibernate-configuration.xsd

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions