Now I have seen that using NHibernate 2.0.1GA it is not possible at
all to either use a property expiration or relativeExpiration in the
hibernate.cfg.xml because the Schema-File (nhibernate-
configuration.xsd) does not allow any of these values for the name
attribute of a property element:
<xs:element name="property">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="name"
use="required">
<xs:simpleType>
<xs:restriction
base="xs:string">
<xs:enumeration
value="connection.provider" />
<xs:enumeration
value="connection.driver_class" />
<xs:enumeration
value="connection.connection_string" />
<xs:enumeration
value="connection.isolation" />
<xs:enumeration
value="connection.release_mode" />
<xs:enumeration
value="connection.connection_string_name" />
<xs:enumeration
value="dialect" />
<xs:enumeration
value="default_schema" />
<xs:enumeration
value="show_sql" />
<xs:enumeration
value="max_fetch_depth" />
<xs:enumeration
value="current_session_context_class" />
<xs:enumeration
value="transaction.factory_class" />
<xs:enumeration
value="cache.provider_class" />
<xs:enumeration
value="cache.use_query_cache" />
<xs:enumeration
value="cache.query_cache_factory" />
<xs:enumeration
value="cache.use_second_level_cache" />
<xs:enumeration
value="cache.region_prefix" />
<xs:enumeration
value="cache.use_minimal_puts" />
<xs:enumeration
value="query.substitutions" />
<xs:enumeration
value="query.factory_class" />
<xs:enumeration
value="query.imports" />
<xs:enumeration
value="hbm2ddl.auto" />
<xs:enumeration
value="sql_exception_converter" />
<xs:enumeration
value="adonet.wrap_result_sets" />
<xs:enumeration
value="prepare_sql" />
<xs:enumeration
value="command_timeout" />
<xs:enumeration
value="adonet.batch_size" />
<xs:enumeration
value="use_proxy_validator" />
<xs:enumeration
value="use_outer_join" />
<xs:enumeration
value="xml.output_stylesheet" />
<xs:enumeration
value="generate_statistics" />
<xs:enumeration
value="query.startup_check" />
<xs:enumeration
value="default_catalog" />
<xs:enumeration
value="proxyfactory.factory_class" />
<xs:enumeration
value="adonet.factory_class" />
<xs:enumeration
value="default_batch_fetch_size" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
Is this intended or a bug? Do I have to config the default expiration
for syscache in the App.config/web.config?
Best,
Ronald
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---