Skip to content

Commit

Permalink
Lazy-load in settings
Browse files Browse the repository at this point in the history
Disable sql logging
Start version 2.1.2.0
  • Loading branch information
ivanovnikolay committed Nov 18, 2009
1 parent 9bf5cec commit d604353
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DebtPro/trunk/DebtPro/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<property name="connection.driver_class">NHibernate.Driver.SQLite20Driver, NHibernate</property>
<property name="connection.connection_string">Data Source=|DataDirectory|\db\debt.sqlite3;Version=3;Journal Mode=Persist;</property>
<property name="query.substitutions">true=1;false=0</property>
<property name="show_sql">true</property>
<property name="show_sql">false</property>
<mapping assembly="Debt" />
</session-factory>
</hibernate-configuration>
Expand Down
5 changes: 5 additions & 0 deletions DebtPro/trunk/DebtPro/ChangeHistory.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
Версия 2.1.1.0
==============
- Ленивая загрузка субъкта в настройках
- Отключено логирование SQL запросов

Версия 2.1.1.0
==============
- Добавлена история изменений
- В инсталляторе файл базы данных выставлен в Permanent (при обновлении не изменяется)

Expand Down
2 changes: 1 addition & 1 deletion DebtPro/trunk/DebtPro/DAO/hbm/DebtSettings.hbm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<id name="Id">
<generator class="assigned" />
</id>
<many-to-one name="DefaultSubject" not-found="ignore"/>
<many-to-one name="DefaultSubject" not-found="ignore" lazy="proxy" fetch="select" outer-join="false"/>
<property name="IsAutoPasteClassifier"/>
<property name="FilterBudget"/>
</class>
Expand Down
4 changes: 2 additions & 2 deletions DebtPro/trunk/DebtPro/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
// Build Number
// Revision
//
[assembly: AssemblyVersion("2.1.1.0")]
[assembly: AssemblyFileVersion("2.1.1.0")]
[assembly: AssemblyVersion("2.1.2.0")]
[assembly: AssemblyFileVersion("2.1.2.0")]
[assembly: NeutralResourcesLanguageAttribute("ru-RU")]

0 comments on commit d604353

Please sign in to comment.