Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:
1.0.4
Mapping documents:
<class
name="ObjectModel.Config.AppConfig, ObjectModel"
table="Config_AppConfig"
where="arbitrary sql where condition">
<id name="Id" type="Int32" column="Id" access="field.pascalcase-m-underscore">
<generator class="hilo">
<param name="table">NH_Key_Config</param>
<param name="column">Config_AppConfig</param>
<param name="max_lo">0</param>
</generator>
</id>
<version name="RowVersion" column="RowVersion" type="Int32" unsaved-value="negative" />
<property name="Description" column="Description" type="String" />
</class>
-------------------------------
I have defined a where condition (as you can see above).
How can I override at runtime the where condition?