Add integration tests based on features in Spring.Testing.NUnit

This commit is contained in:
markpollack
2008-06-13 16:42:17 +00:00
parent a8728b97d6
commit 054ec02736
12 changed files with 716 additions and 764 deletions

View File

@@ -44,6 +44,18 @@ namespace Spring.Northwind.Dao.NHibernate
return HibernateTemplate.LoadAll(typeof (Customer));
}
// Note that the transaction demaraction is here only for the case when
// the DAO object is being used directly, i.e. not as part of a service layer
// call. This would be commonly only when creating an application that contains
// no business logic and is essentially a table maintenance application.
// These applications are affectionaly known as 'CRUD' applications, the acronym
// refering to Create, Retrieve, Update, And Delete and the only operations
// performed by the application.
// If called from a transactional service layer, typically with the transaction
// propagation setting set to REQUIRED, then any DAO operations will use the
// same settings as started from the transactional layer.
[Transaction(ReadOnly = false)]
public Customer Save(Customer customer)
{

View File

@@ -32,7 +32,7 @@ namespace Spring.Northwind.Dao.NHibernate
{
public class HibernateOrderDao : HibernateDaoSupport, IOrderDao
{
public Order FindById(long orderId)
public Order FindById(int orderId)
{
return HibernateTemplate.Load(typeof(Order), orderId) as Order;

View File

@@ -3,7 +3,7 @@
<class name="Spring.Northwind.Domain.Customer, Spring.Northwind.Dao" table="Customers" lazy="false">
<id name="Id" type="String" unsaved-value="null">
<column name="CustomerID" length="5" sql-type="nchar" not-null="true" unique="true" index="PK_Customers"/>
<generator class="native" />
<generator class="assigned" />
</id>
<property name="CompanyName" type="String">
<column name="CompanyName" length="40" sql-type="nvarchar" not-null="true" index="CompanyName"/>

View File

@@ -97,6 +97,9 @@
<ItemGroup>
<EmbeddedResource Include="Mappings\OrderDetail.hbm.xml" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Dao\Dao.xml" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.

View File

@@ -30,7 +30,7 @@ namespace Spring.Northwind.Dao
{
public interface IOrderDao
{
Order FindById(long orderId);
Order FindById(int orderId);
IList FindAll();
Order Save(Order order);
Order SaveOrUpdate(Order order);

View File

@@ -28,9 +28,9 @@ namespace Spring.Northwind.Domain
#region Fields
protected int id;
protected DateTime orderDate;
protected DateTime requiredDate;
protected DateTime shippedDate;
protected DateTime? orderDate;
protected DateTime? requiredDate;
protected DateTime? shippedDate;
protected decimal freight;
protected string shipName;
protected string shipAddress;
@@ -80,19 +80,19 @@ namespace Spring.Northwind.Domain
set { id = value; }
}
public DateTime OrderDate
public DateTime? OrderDate
{
get { return orderDate; }
set { orderDate = value; }
}
public DateTime RequiredDate
public DateTime? RequiredDate
{
get { return requiredDate; }
set { requiredDate = value; }
}
public DateTime ShippedDate
public DateTime? ShippedDate
{
get { return shippedDate; }
set { shippedDate = value; }

View File

@@ -56,6 +56,9 @@
<Name>Spring.Northwind.Dao</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Service\Services.xml" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.

View File

@@ -1,186 +1,138 @@
2008-04-04 17:21:13,343 [8] DEBUG Spring.Data.NHibernate.HibernateTemplate [(null)] - Not closing pre-bound Hibernate Session after HibernateTemplate
2008-04-04 17:21:13,390 [8] DEBUG Spring.Objects.Factory.Support.WebObjectFactory [(null)] - disposing 'request'-scoped item cache
2008-04-04 17:21:13,390 [8] DEBUG Spring.Data.NHibernate.Support.OpenSessionInViewModule [(null)] - Trying to close SessionScope
2008-04-04 17:21:13,390 [8] DEBUG Spring.Data.NHibernate.Support.OpenSessionInViewModule [(null)] - Closing single Hibernate Session in SessionScope
2008-04-04 17:21:13,390 [8] DEBUG Spring.Transaction.Support.TransactionSynchronizationManager [(null)] - Removed value [Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder@F15783] for key [NHibernate.Impl.SessionFactoryImpl@294C2AB] from thread [8]
2008-04-04 17:21:13,390 [8] DEBUG Spring.Data.NHibernate.SessionFactoryUtils [(null)] - Closing Hibernate Session
2008-04-04 17:21:13,390 [8] DEBUG Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder [(null)] - Closed LazySessionHolder
2008-04-04 17:21:13,390 [4] DEBUG Spring.Data.NHibernate.Support.OpenSessionInViewModule [(null)] - Opening single Hibernate Session in SessionScope
2008-04-04 17:21:13,390 [4] DEBUG Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder [(null)] - Created LazySessionHolder
2008-04-04 17:21:13,390 [4] DEBUG Spring.Transaction.Support.TransactionSynchronizationManager [(null)] - Bound value [Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder@1EA711C] for key [NHibernate.Impl.SessionFactoryImpl@294C2AB] to thread [4]
2008-04-04 17:21:13,406 [4] DEBUG Spring.Web.Support.PageHandlerFactory [(null)] - GetHandler():resolving url '/Spring.Northwind.Web/CustomerOrders.aspx'
2008-04-04 17:21:13,406 [4] DEBUG Spring.Web.Support.PageHandlerFactory [(null)] - GetHandler():resolved url '/Spring.Northwind.Web/CustomerOrders.aspx' from reusable handler cache
2008-04-04 17:21:13,406 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Creating instance of Object '/CustomerOrders.aspx' with merged definition [Root web object with class [/Spring.Northwind.Web/CustomerOrders.aspx] defined in file [L:\projects\Spring.Net\examples\Spring\Spring.Data.NHibernate.Northwind\src\Spring.Northwind.Web\Web.xml]].
2008-04-04 17:21:13,406 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IInstantiationAwareObjectPostProcessors before the instantiation of '/CustomerOrders.aspx'.
2008-04-04 17:21:13,406 [4] DEBUG Spring.Objects.Factory.Support.WebObjectUtils [(null)] - creating page instance '/Spring.Northwind.Web/CustomerOrders.aspx'
2008-04-04 17:21:13,406 [4] DEBUG Spring.Objects.Factory.Support.WebObjectUtils [(null)] - page vpath is /Spring.Northwind.Web/CustomerOrders.aspx
2008-04-04 17:21:13,406 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - configuring object 'ASP.customerorders_aspx' using definition '/CustomerOrders.aspx'
2008-04-04 17:21:13,406 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Resolving reference from property 'CustomerEditController' in object '/CustomerOrders.aspx' to object 'CustomerEditController'.
2008-04-04 17:21:13,406 [4] DEBUG Spring.Objects.Factory.Support.WebObjectFactory [(null)] - Returning cached instance of singleton object 'CustomerEditController'.
2008-04-04 17:21:13,406 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IObjectPostProcessors before initialization of object '/CustomerOrders.aspx'
2008-04-04 17:21:13,406 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IObjectPostProcessors after initialization of object '/CustomerOrders.aspx'
2008-04-04 17:21:13,406 [4] DEBUG Spring.Transaction.Support.TransactionSynchronizationManager [(null)] - Retrieved value [Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder@1EA711C] for key [NHibernate.Impl.SessionFactoryImpl@294C2AB] bound to thread [4]
2008-04-04 17:21:13,406 [4] DEBUG Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder [(null)] - session instance requested - opening new session
2008-04-04 17:21:13,406 [4] DEBUG Spring.Data.NHibernate.SessionFactoryUtils [(null)] - Opening Hibernate Session
2008-04-04 17:21:13,406 [4] INFO NHibernate.Loader.Loader [(null)] - SELECT orders0_.CustomerID as CustomerID__1_, orders0_.OrderID as OrderID1_, orders0_.OrderID as OrderID0_0_, orders0_.OrderDate as OrderDate0_0_, orders0_.RequiredDate as Required3_0_0_, orders0_.ShippedDate as ShippedD4_0_0_, orders0_.ShipName as ShipName0_0_, orders0_.ShipAddress as ShipAddr6_0_0_, orders0_.ShipCity as ShipCity0_0_, orders0_.ShipRegion as ShipRegion0_0_, orders0_.ShipPostalCode as ShipPost9_0_0_, orders0_.ShipCountry as ShipCou10_0_0_ FROM Orders orders0_ WHERE orders0_.CustomerID=@p0
2008-04-04 17:21:13,453 [4] DEBUG Spring.Objects.Factory.Support.WebObjectFactory [(null)] - disposing 'request'-scoped item cache
2008-04-04 17:21:13,453 [4] DEBUG Spring.Data.NHibernate.Support.OpenSessionInViewModule [(null)] - Trying to close SessionScope
2008-04-04 17:21:13,453 [4] DEBUG Spring.Data.NHibernate.Support.OpenSessionInViewModule [(null)] - Closing single Hibernate Session in SessionScope
2008-04-04 17:21:13,453 [4] DEBUG Spring.Transaction.Support.TransactionSynchronizationManager [(null)] - Removed value [Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder@1EA711C] for key [NHibernate.Impl.SessionFactoryImpl@294C2AB] from thread [4]
2008-04-04 17:21:13,453 [4] DEBUG Spring.Data.NHibernate.SessionFactoryUtils [(null)] - Closing Hibernate Session
2008-04-04 17:21:13,453 [4] DEBUG Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder [(null)] - Closed LazySessionHolder
2008-04-04 17:21:14,703 [4] DEBUG Spring.Data.NHibernate.Support.OpenSessionInViewModule [(null)] - Opening single Hibernate Session in SessionScope
2008-04-04 17:21:14,703 [4] DEBUG Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder [(null)] - Created LazySessionHolder
2008-04-04 17:21:14,703 [4] DEBUG Spring.Transaction.Support.TransactionSynchronizationManager [(null)] - Bound value [Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder@30FCBCE] for key [NHibernate.Impl.SessionFactoryImpl@294C2AB] to thread [4]
2008-04-04 17:21:14,703 [4] DEBUG Spring.Web.Support.PageHandlerFactory [(null)] - GetHandler():resolving url '/Spring.Northwind.Web/CustomerList.aspx'
2008-04-04 17:21:14,703 [4] DEBUG Spring.Web.Support.PageHandlerFactory [(null)] - GetHandler():resolved url '/Spring.Northwind.Web/CustomerList.aspx' from reusable handler cache
2008-04-04 17:21:14,703 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Creating instance of Object '/CustomerList.aspx' with merged definition [Root web object with class [/Spring.Northwind.Web/CustomerList.aspx] defined in file [L:\projects\Spring.Net\examples\Spring\Spring.Data.NHibernate.Northwind\src\Spring.Northwind.Web\Web.xml]].
2008-04-04 17:21:14,703 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IInstantiationAwareObjectPostProcessors before the instantiation of '/CustomerList.aspx'.
2008-04-04 17:21:14,703 [4] DEBUG Spring.Objects.Factory.Support.WebObjectUtils [(null)] - creating page instance '/Spring.Northwind.Web/CustomerList.aspx'
2008-04-04 17:21:14,703 [4] DEBUG Spring.Objects.Factory.Support.WebObjectUtils [(null)] - page vpath is /Spring.Northwind.Web/CustomerList.aspx
2008-04-04 17:21:14,703 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - configuring object 'ASP.customerlist_aspx' using definition '/CustomerList.aspx'
2008-04-04 17:21:14,703 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Resolving reference from property 'CustomerEditController' in object '/CustomerList.aspx' to object 'CustomerEditController'.
2008-04-04 17:21:14,703 [4] DEBUG Spring.Objects.Factory.Support.WebObjectFactory [(null)] - Returning cached instance of singleton object 'CustomerEditController'.
2008-04-04 17:21:14,703 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Resolving reference from property 'CustomerDao' in object '/CustomerList.aspx' to object 'CustomerDao'.
2008-04-04 17:21:14,703 [4] DEBUG Spring.Objects.Factory.Support.WebObjectFactory [(null)] - Returning cached instance of singleton object 'CustomerDao'.
2008-04-04 17:21:14,703 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IObjectPostProcessors before initialization of object '/CustomerList.aspx'
2008-04-04 17:21:14,703 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IObjectPostProcessors after initialization of object '/CustomerList.aspx'
2008-04-04 17:21:14,703 [4] DEBUG Spring.Transaction.Support.TransactionSynchronizationManager [(null)] - Retrieved value [Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder@30FCBCE] for key [NHibernate.Impl.SessionFactoryImpl@294C2AB] bound to thread [4]
2008-04-04 17:21:14,703 [4] DEBUG Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder [(null)] - session instance requested - opening new session
2008-04-04 17:21:14,703 [4] DEBUG Spring.Data.NHibernate.SessionFactoryUtils [(null)] - Opening Hibernate Session
2008-04-04 17:21:14,703 [4] DEBUG Spring.Transaction.Support.TransactionSynchronizationManager [(null)] - Retrieved value [Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder@30FCBCE] for key [NHibernate.Impl.SessionFactoryImpl@294C2AB] bound to thread [4]
2008-04-04 17:21:14,703 [4] DEBUG Spring.Data.NHibernate.HibernateTemplate [(null)] - Found thread-bound Session for HibernateTemplate
2008-04-04 17:21:14,703 [4] DEBUG Spring.Transaction.Support.TransactionSynchronizationManager [(null)] - Retrieved value [Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder@30FCBCE] for key [NHibernate.Impl.SessionFactoryImpl@294C2AB] bound to thread [4]
2008-04-04 17:21:14,703 [4] INFO NHibernate.Loader.Loader [(null)] - SELECT this_.CustomerID as CustomerID1_0_, this_.CompanyName as CompanyN2_1_0_, this_.ContactName as ContactN3_1_0_, this_.ContactTitle as ContactT4_1_0_, this_.Address as Address1_0_, this_.City as City1_0_, this_.Region as Region1_0_, this_.PostalCode as PostalCode1_0_, this_.Country as Country1_0_, this_.Phone as Phone1_0_, this_.Fax as Fax1_0_ FROM Customers this_
2008-04-04 17:21:14,718 [4] DEBUG Spring.Data.NHibernate.HibernateTemplate [(null)] - Not closing pre-bound Hibernate Session after HibernateTemplate
2008-04-04 17:21:14,734 [4] DEBUG Spring.Objects.Factory.Support.WebObjectFactory [(null)] - disposing 'request'-scoped item cache
2008-04-04 17:21:14,734 [4] DEBUG Spring.Data.NHibernate.Support.OpenSessionInViewModule [(null)] - Trying to close SessionScope
2008-04-04 17:21:14,734 [4] DEBUG Spring.Data.NHibernate.Support.OpenSessionInViewModule [(null)] - Closing single Hibernate Session in SessionScope
2008-04-04 17:21:14,734 [4] DEBUG Spring.Transaction.Support.TransactionSynchronizationManager [(null)] - Removed value [Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder@30FCBCE] for key [NHibernate.Impl.SessionFactoryImpl@294C2AB] from thread [4]
2008-04-04 17:21:14,734 [4] DEBUG Spring.Data.NHibernate.SessionFactoryUtils [(null)] - Closing Hibernate Session
2008-04-04 17:21:14,734 [4] DEBUG Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder [(null)] - Closed LazySessionHolder
2008-04-04 17:21:16,062 [8] DEBUG Spring.Data.NHibernate.Support.OpenSessionInViewModule [(null)] - Opening single Hibernate Session in SessionScope
2008-04-04 17:21:16,062 [8] DEBUG Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder [(null)] - Created LazySessionHolder
2008-04-04 17:21:16,062 [8] DEBUG Spring.Transaction.Support.TransactionSynchronizationManager [(null)] - Bound value [Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder@16799F8] for key [NHibernate.Impl.SessionFactoryImpl@294C2AB] to thread [8]
2008-04-04 17:21:16,062 [8] DEBUG Spring.Web.Support.PageHandlerFactory [(null)] - GetHandler():resolving url '/Spring.Northwind.Web/CustomerList.aspx'
2008-04-04 17:21:16,062 [8] DEBUG Spring.Web.Support.PageHandlerFactory [(null)] - GetHandler():resolved url '/Spring.Northwind.Web/CustomerList.aspx' from reusable handler cache
2008-04-04 17:21:16,062 [8] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Creating instance of Object '/CustomerList.aspx' with merged definition [Root web object with class [/Spring.Northwind.Web/CustomerList.aspx] defined in file [L:\projects\Spring.Net\examples\Spring\Spring.Data.NHibernate.Northwind\src\Spring.Northwind.Web\Web.xml]].
2008-04-04 17:21:16,062 [8] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IInstantiationAwareObjectPostProcessors before the instantiation of '/CustomerList.aspx'.
2008-04-04 17:21:16,062 [8] DEBUG Spring.Objects.Factory.Support.WebObjectUtils [(null)] - creating page instance '/Spring.Northwind.Web/CustomerList.aspx'
2008-04-04 17:21:16,062 [8] DEBUG Spring.Objects.Factory.Support.WebObjectUtils [(null)] - page vpath is /Spring.Northwind.Web/CustomerList.aspx
2008-04-04 17:21:16,062 [8] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - configuring object 'ASP.customerlist_aspx' using definition '/CustomerList.aspx'
2008-04-04 17:21:16,062 [8] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Resolving reference from property 'CustomerEditController' in object '/CustomerList.aspx' to object 'CustomerEditController'.
2008-04-04 17:21:16,062 [8] DEBUG Spring.Objects.Factory.Support.WebObjectFactory [(null)] - Returning cached instance of singleton object 'CustomerEditController'.
2008-04-04 17:21:16,062 [8] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Resolving reference from property 'CustomerDao' in object '/CustomerList.aspx' to object 'CustomerDao'.
2008-04-04 17:21:16,062 [8] DEBUG Spring.Objects.Factory.Support.WebObjectFactory [(null)] - Returning cached instance of singleton object 'CustomerDao'.
2008-04-04 17:21:16,062 [8] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IObjectPostProcessors before initialization of object '/CustomerList.aspx'
2008-04-04 17:21:16,062 [8] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IObjectPostProcessors after initialization of object '/CustomerList.aspx'
2008-04-04 17:21:16,062 [8] DEBUG Spring.Transaction.Support.TransactionSynchronizationManager [(null)] - Retrieved value [Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder@16799F8] for key [NHibernate.Impl.SessionFactoryImpl@294C2AB] bound to thread [8]
2008-04-04 17:21:16,062 [8] DEBUG Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder [(null)] - session instance requested - opening new session
2008-04-04 17:21:16,062 [8] DEBUG Spring.Data.NHibernate.SessionFactoryUtils [(null)] - Opening Hibernate Session
2008-04-04 17:21:16,062 [8] DEBUG Spring.Transaction.Support.TransactionSynchronizationManager [(null)] - Retrieved value [Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder@16799F8] for key [NHibernate.Impl.SessionFactoryImpl@294C2AB] bound to thread [8]
2008-04-04 17:21:16,062 [8] DEBUG Spring.Data.NHibernate.HibernateTemplate [(null)] - Found thread-bound Session for HibernateTemplate
2008-04-04 17:21:16,062 [8] DEBUG Spring.Transaction.Support.TransactionSynchronizationManager [(null)] - Retrieved value [Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder@16799F8] for key [NHibernate.Impl.SessionFactoryImpl@294C2AB] bound to thread [8]
2008-04-04 17:21:16,062 [8] INFO NHibernate.Loader.Loader [(null)] - SELECT this_.CustomerID as CustomerID1_0_, this_.CompanyName as CompanyN2_1_0_, this_.ContactName as ContactN3_1_0_, this_.ContactTitle as ContactT4_1_0_, this_.Address as Address1_0_, this_.City as City1_0_, this_.Region as Region1_0_, this_.PostalCode as PostalCode1_0_, this_.Country as Country1_0_, this_.Phone as Phone1_0_, this_.Fax as Fax1_0_ FROM Customers this_
2008-04-04 17:21:16,078 [8] DEBUG Spring.Data.NHibernate.HibernateTemplate [(null)] - Not closing pre-bound Hibernate Session after HibernateTemplate
2008-04-04 17:21:16,125 [8] DEBUG Spring.Objects.Factory.Support.WebObjectFactory [(null)] - disposing 'request'-scoped item cache
2008-04-04 17:21:16,125 [8] DEBUG Spring.Data.NHibernate.Support.OpenSessionInViewModule [(null)] - Trying to close SessionScope
2008-04-04 17:21:16,125 [8] DEBUG Spring.Data.NHibernate.Support.OpenSessionInViewModule [(null)] - Closing single Hibernate Session in SessionScope
2008-04-04 17:21:16,125 [8] DEBUG Spring.Transaction.Support.TransactionSynchronizationManager [(null)] - Removed value [Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder@16799F8] for key [NHibernate.Impl.SessionFactoryImpl@294C2AB] from thread [8]
2008-04-04 17:21:16,125 [8] DEBUG Spring.Data.NHibernate.SessionFactoryUtils [(null)] - Closing Hibernate Session
2008-04-04 17:21:16,125 [8] DEBUG Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder [(null)] - Closed LazySessionHolder
2008-04-04 17:21:16,125 [4] DEBUG Spring.Data.NHibernate.Support.OpenSessionInViewModule [(null)] - Opening single Hibernate Session in SessionScope
2008-04-04 17:21:16,125 [4] DEBUG Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder [(null)] - Created LazySessionHolder
2008-04-04 17:21:16,125 [4] DEBUG Spring.Transaction.Support.TransactionSynchronizationManager [(null)] - Bound value [Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder@3154901] for key [NHibernate.Impl.SessionFactoryImpl@294C2AB] to thread [4]
2008-04-04 17:21:16,125 [4] DEBUG Spring.Web.Support.PageHandlerFactory [(null)] - GetHandler():resolving url '/Spring.Northwind.Web/CustomerEditor.aspx'
2008-04-04 17:21:16,125 [4] DEBUG Spring.Context.Support.WebApplicationContext [(null)] - looking up web context 'spring.root' in WebContextCache
2008-04-04 17:21:16,125 [4] DEBUG Spring.Context.Support.WebApplicationContext [(null)] - returning WebContextCache hit '[/spring.northwind.web]:WebApplicationContext(35298535)' for vpath 'spring.root'
2008-04-04 17:21:16,125 [4] DEBUG Spring.Web.Support.AbstractHandlerFactory [(null)] - GetHandler():looking up definition for app-relative url '/CustomerEditor.aspx'
2008-04-04 17:21:16,125 [4] DEBUG Spring.Web.Support.AbstractHandlerFactory [(null)] - GetHandler():found definition for page-url '/CustomerEditor.aspx'
2008-04-04 17:21:16,125 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Creating instance of Object '/CustomerEditor.aspx' with merged definition [Root web object with class [/Spring.Northwind.Web/CustomerEditor.aspx] defined in file [L:\projects\Spring.Net\examples\Spring\Spring.Data.NHibernate.Northwind\src\Spring.Northwind.Web\Web.xml]].
2008-04-04 17:21:16,125 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IInstantiationAwareObjectPostProcessors before the instantiation of '/CustomerEditor.aspx'.
2008-04-04 17:21:16,125 [4] DEBUG Spring.Objects.Factory.Support.WebObjectUtils [(null)] - creating page instance '/Spring.Northwind.Web/CustomerEditor.aspx'
2008-04-04 17:21:16,125 [4] DEBUG Spring.Objects.Factory.Support.WebObjectUtils [(null)] - page vpath is /Spring.Northwind.Web/CustomerEditor.aspx
2008-04-04 17:21:16,125 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - configuring object 'ASP.customereditor_aspx' using definition '/CustomerEditor.aspx'
2008-04-04 17:21:16,140 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Resolving reference from property 'CustomerEditController' in object '/CustomerEditor.aspx' to object 'CustomerEditController'.
2008-04-04 17:21:16,140 [4] DEBUG Spring.Objects.Factory.Support.WebObjectFactory [(null)] - Returning cached instance of singleton object 'CustomerEditController'.
2008-04-04 17:21:16,140 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Resolving reference from property 'CustomerDao' in object '/CustomerEditor.aspx' to object 'CustomerDao'.
2008-04-04 17:21:16,140 [4] DEBUG Spring.Objects.Factory.Support.WebObjectFactory [(null)] - Returning cached instance of singleton object 'CustomerDao'.
2008-04-04 17:21:16,156 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IObjectPostProcessors before initialization of object '/CustomerEditor.aspx'
2008-04-04 17:21:16,156 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IObjectPostProcessors after initialization of object '/CustomerEditor.aspx'
2008-04-04 17:21:16,156 [4] DEBUG Spring.Aop.Framework.AutoProxy.AbstractAutoProxyCreator [(null)] - returning available advisors
2008-04-04 17:21:16,468 [4] INFO Spring.Aop.Framework.AutoProxy.AbstractAutoProxyCreator [(null)] - Candidate advisor [Spring.Transaction.Interceptor.TransactionAttributeSourceAdvisor] rejected for type [ASP.customereditor_aspx]
2008-04-04 17:21:16,546 [4] DEBUG Spring.Web.UI.Controls.DataBindingPanel [(null)] - binding control 'ctl03' relative to '__Page' using expression 'FindControl('ctl03').Text'
2008-04-04 17:21:16,640 [4] DEBUG Spring.Web.UI.Controls.DataBindingPanel [(null)] - binding control 'ctl04' relative to '__Page' using expression 'FindControl('ctl04').Text'
2008-04-04 17:21:16,656 [4] DEBUG Spring.Transaction.Support.TransactionSynchronizationManager [(null)] - Retrieved value [Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder@3154901] for key [NHibernate.Impl.SessionFactoryImpl@294C2AB] bound to thread [4]
2008-04-04 17:21:16,656 [4] DEBUG Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder [(null)] - session instance requested - opening new session
2008-04-04 17:21:16,656 [4] DEBUG Spring.Data.NHibernate.SessionFactoryUtils [(null)] - Opening Hibernate Session
2008-04-04 17:21:16,703 [4] DEBUG Spring.Transaction.Support.TransactionSynchronizationManager [(null)] - Retrieved value [Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder@3154901] for key [NHibernate.Impl.SessionFactoryImpl@294C2AB] bound to thread [4]
2008-04-04 17:21:16,734 [4] DEBUG Spring.Objects.Factory.Support.WebObjectFactory [(null)] - disposing 'request'-scoped item cache
2008-04-04 17:21:16,734 [4] DEBUG Spring.Data.NHibernate.Support.OpenSessionInViewModule [(null)] - Trying to close SessionScope
2008-04-04 17:21:16,734 [4] DEBUG Spring.Data.NHibernate.Support.OpenSessionInViewModule [(null)] - Closing single Hibernate Session in SessionScope
2008-04-04 17:21:16,734 [4] DEBUG Spring.Transaction.Support.TransactionSynchronizationManager [(null)] - Removed value [Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder@3154901] for key [NHibernate.Impl.SessionFactoryImpl@294C2AB] from thread [4]
2008-04-04 17:21:16,734 [4] DEBUG Spring.Data.NHibernate.SessionFactoryUtils [(null)] - Closing Hibernate Session
2008-04-04 17:21:16,734 [4] DEBUG Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder [(null)] - Closed LazySessionHolder
2008-04-04 17:21:18,734 [4] DEBUG Spring.Data.NHibernate.Support.OpenSessionInViewModule [(null)] - Opening single Hibernate Session in SessionScope
2008-04-04 17:21:18,734 [4] DEBUG Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder [(null)] - Created LazySessionHolder
2008-04-04 17:21:18,734 [4] DEBUG Spring.Transaction.Support.TransactionSynchronizationManager [(null)] - Bound value [Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder@62A49D] for key [NHibernate.Impl.SessionFactoryImpl@294C2AB] to thread [4]
2008-04-04 17:21:18,734 [4] DEBUG Spring.Web.Support.PageHandlerFactory [(null)] - GetHandler():resolving url '/Spring.Northwind.Web/CustomerList.aspx'
2008-04-04 17:21:18,734 [4] DEBUG Spring.Web.Support.PageHandlerFactory [(null)] - GetHandler():resolved url '/Spring.Northwind.Web/CustomerList.aspx' from reusable handler cache
2008-04-04 17:21:18,734 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Creating instance of Object '/CustomerList.aspx' with merged definition [Root web object with class [/Spring.Northwind.Web/CustomerList.aspx] defined in file [L:\projects\Spring.Net\examples\Spring\Spring.Data.NHibernate.Northwind\src\Spring.Northwind.Web\Web.xml]].
2008-04-04 17:21:18,734 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IInstantiationAwareObjectPostProcessors before the instantiation of '/CustomerList.aspx'.
2008-04-04 17:21:18,734 [4] DEBUG Spring.Objects.Factory.Support.WebObjectUtils [(null)] - creating page instance '/Spring.Northwind.Web/CustomerList.aspx'
2008-04-04 17:21:18,734 [4] DEBUG Spring.Objects.Factory.Support.WebObjectUtils [(null)] - page vpath is /Spring.Northwind.Web/CustomerList.aspx
2008-04-04 17:21:18,734 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - configuring object 'ASP.customerlist_aspx' using definition '/CustomerList.aspx'
2008-04-04 17:21:18,734 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Resolving reference from property 'CustomerEditController' in object '/CustomerList.aspx' to object 'CustomerEditController'.
2008-04-04 17:21:18,734 [4] DEBUG Spring.Objects.Factory.Support.WebObjectFactory [(null)] - Returning cached instance of singleton object 'CustomerEditController'.
2008-04-04 17:21:18,734 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Resolving reference from property 'CustomerDao' in object '/CustomerList.aspx' to object 'CustomerDao'.
2008-04-04 17:21:18,734 [4] DEBUG Spring.Objects.Factory.Support.WebObjectFactory [(null)] - Returning cached instance of singleton object 'CustomerDao'.
2008-04-04 17:21:18,734 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IObjectPostProcessors before initialization of object '/CustomerList.aspx'
2008-04-04 17:21:18,734 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IObjectPostProcessors after initialization of object '/CustomerList.aspx'
2008-04-04 17:21:18,734 [4] DEBUG Spring.Transaction.Support.TransactionSynchronizationManager [(null)] - Retrieved value [Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder@62A49D] for key [NHibernate.Impl.SessionFactoryImpl@294C2AB] bound to thread [4]
2008-04-04 17:21:18,734 [4] DEBUG Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder [(null)] - session instance requested - opening new session
2008-04-04 17:21:18,734 [4] DEBUG Spring.Data.NHibernate.SessionFactoryUtils [(null)] - Opening Hibernate Session
2008-04-04 17:21:18,734 [4] DEBUG Spring.Transaction.Support.TransactionSynchronizationManager [(null)] - Retrieved value [Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder@62A49D] for key [NHibernate.Impl.SessionFactoryImpl@294C2AB] bound to thread [4]
2008-04-04 17:21:18,734 [4] DEBUG Spring.Data.NHibernate.HibernateTemplate [(null)] - Found thread-bound Session for HibernateTemplate
2008-04-04 17:21:18,734 [4] DEBUG Spring.Transaction.Support.TransactionSynchronizationManager [(null)] - Retrieved value [Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder@62A49D] for key [NHibernate.Impl.SessionFactoryImpl@294C2AB] bound to thread [4]
2008-04-04 17:21:18,734 [4] INFO NHibernate.Loader.Loader [(null)] - SELECT this_.CustomerID as CustomerID1_0_, this_.CompanyName as CompanyN2_1_0_, this_.ContactName as ContactN3_1_0_, this_.ContactTitle as ContactT4_1_0_, this_.Address as Address1_0_, this_.City as City1_0_, this_.Region as Region1_0_, this_.PostalCode as PostalCode1_0_, this_.Country as Country1_0_, this_.Phone as Phone1_0_, this_.Fax as Fax1_0_ FROM Customers this_
2008-04-04 17:21:18,750 [4] DEBUG Spring.Data.NHibernate.HibernateTemplate [(null)] - Not closing pre-bound Hibernate Session after HibernateTemplate
2008-04-04 17:21:18,765 [4] DEBUG Spring.Objects.Factory.Support.WebObjectFactory [(null)] - disposing 'request'-scoped item cache
2008-04-04 17:21:18,765 [4] DEBUG Spring.Data.NHibernate.Support.OpenSessionInViewModule [(null)] - Trying to close SessionScope
2008-04-04 17:21:18,765 [4] DEBUG Spring.Data.NHibernate.Support.OpenSessionInViewModule [(null)] - Closing single Hibernate Session in SessionScope
2008-04-04 17:21:18,765 [4] DEBUG Spring.Transaction.Support.TransactionSynchronizationManager [(null)] - Removed value [Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder@62A49D] for key [NHibernate.Impl.SessionFactoryImpl@294C2AB] from thread [4]
2008-04-04 17:21:18,765 [4] DEBUG Spring.Data.NHibernate.SessionFactoryUtils [(null)] - Closing Hibernate Session
2008-04-04 17:21:18,765 [4] DEBUG Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder [(null)] - Closed LazySessionHolder
2008-04-04 17:21:21,609 [8] DEBUG Spring.Data.NHibernate.Support.OpenSessionInViewModule [(null)] - Opening single Hibernate Session in SessionScope
2008-04-04 17:21:21,609 [8] DEBUG Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder [(null)] - Created LazySessionHolder
2008-04-04 17:21:21,609 [8] DEBUG Spring.Transaction.Support.TransactionSynchronizationManager [(null)] - Bound value [Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder@1648030] for key [NHibernate.Impl.SessionFactoryImpl@294C2AB] to thread [8]
2008-04-04 17:21:21,609 [8] DEBUG Spring.Web.Support.PageHandlerFactory [(null)] - GetHandler():resolving url '/Spring.Northwind.Web/CustomerList.aspx'
2008-04-04 17:21:21,609 [8] DEBUG Spring.Web.Support.PageHandlerFactory [(null)] - GetHandler():resolved url '/Spring.Northwind.Web/CustomerList.aspx' from reusable handler cache
2008-04-04 17:21:21,625 [8] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Creating instance of Object '/CustomerList.aspx' with merged definition [Root web object with class [/Spring.Northwind.Web/CustomerList.aspx] defined in file [L:\projects\Spring.Net\examples\Spring\Spring.Data.NHibernate.Northwind\src\Spring.Northwind.Web\Web.xml]].
2008-04-04 17:21:21,625 [8] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IInstantiationAwareObjectPostProcessors before the instantiation of '/CustomerList.aspx'.
2008-04-04 17:21:21,625 [8] DEBUG Spring.Objects.Factory.Support.WebObjectUtils [(null)] - creating page instance '/Spring.Northwind.Web/CustomerList.aspx'
2008-04-04 17:21:21,625 [8] DEBUG Spring.Objects.Factory.Support.WebObjectUtils [(null)] - page vpath is /Spring.Northwind.Web/CustomerList.aspx
2008-04-04 17:21:21,625 [8] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - configuring object 'ASP.customerlist_aspx' using definition '/CustomerList.aspx'
2008-04-04 17:21:21,625 [8] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Resolving reference from property 'CustomerEditController' in object '/CustomerList.aspx' to object 'CustomerEditController'.
2008-04-04 17:21:21,625 [8] DEBUG Spring.Objects.Factory.Support.WebObjectFactory [(null)] - Returning cached instance of singleton object 'CustomerEditController'.
2008-04-04 17:21:21,625 [8] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Resolving reference from property 'CustomerDao' in object '/CustomerList.aspx' to object 'CustomerDao'.
2008-04-04 17:21:21,625 [8] DEBUG Spring.Objects.Factory.Support.WebObjectFactory [(null)] - Returning cached instance of singleton object 'CustomerDao'.
2008-04-04 17:21:21,625 [8] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IObjectPostProcessors before initialization of object '/CustomerList.aspx'
2008-04-04 17:21:21,625 [8] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IObjectPostProcessors after initialization of object '/CustomerList.aspx'
2008-04-04 17:21:21,625 [8] DEBUG Spring.Transaction.Support.TransactionSynchronizationManager [(null)] - Retrieved value [Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder@1648030] for key [NHibernate.Impl.SessionFactoryImpl@294C2AB] bound to thread [8]
2008-04-04 17:21:21,625 [8] DEBUG Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder [(null)] - session instance requested - opening new session
2008-04-04 17:21:21,625 [8] DEBUG Spring.Data.NHibernate.SessionFactoryUtils [(null)] - Opening Hibernate Session
2008-04-04 17:21:21,625 [8] DEBUG Spring.Transaction.Support.TransactionSynchronizationManager [(null)] - Retrieved value [Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder@1648030] for key [NHibernate.Impl.SessionFactoryImpl@294C2AB] bound to thread [8]
2008-04-04 17:21:21,625 [8] DEBUG Spring.Data.NHibernate.HibernateTemplate [(null)] - Found thread-bound Session for HibernateTemplate
2008-04-04 17:21:21,625 [8] DEBUG Spring.Transaction.Support.TransactionSynchronizationManager [(null)] - Retrieved value [Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder@1648030] for key [NHibernate.Impl.SessionFactoryImpl@294C2AB] bound to thread [8]
2008-04-04 17:21:21,625 [8] INFO NHibernate.Loader.Loader [(null)] - SELECT this_.CustomerID as CustomerID1_0_, this_.CompanyName as CompanyN2_1_0_, this_.ContactName as ContactN3_1_0_, this_.ContactTitle as ContactT4_1_0_, this_.Address as Address1_0_, this_.City as City1_0_, this_.Region as Region1_0_, this_.PostalCode as PostalCode1_0_, this_.Country as Country1_0_, this_.Phone as Phone1_0_, this_.Fax as Fax1_0_ FROM Customers this_
2008-04-04 17:21:21,625 [8] DEBUG Spring.Data.NHibernate.HibernateTemplate [(null)] - Not closing pre-bound Hibernate Session after HibernateTemplate
2008-04-04 17:21:21,687 [8] DEBUG Spring.Objects.Factory.Support.WebObjectFactory [(null)] - disposing 'request'-scoped item cache
2008-04-04 17:21:21,687 [8] DEBUG Spring.Data.NHibernate.Support.OpenSessionInViewModule [(null)] - Trying to close SessionScope
2008-04-04 17:21:21,687 [8] DEBUG Spring.Data.NHibernate.Support.OpenSessionInViewModule [(null)] - Closing single Hibernate Session in SessionScope
2008-04-04 17:21:21,687 [8] DEBUG Spring.Transaction.Support.TransactionSynchronizationManager [(null)] - Removed value [Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder@1648030] for key [NHibernate.Impl.SessionFactoryImpl@294C2AB] from thread [8]
2008-04-04 17:21:21,687 [8] DEBUG Spring.Data.NHibernate.SessionFactoryUtils [(null)] - Closing Hibernate Session
2008-04-04 17:21:21,687 [8] DEBUG Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder [(null)] - Closed LazySessionHolder
2008-04-04 17:24:18,796 [4] DEBUG Spring.Context.Support.WebSupportModule [(null)] - end session jffsz0255kqrjrgqyardrgs55 because of Removed
2008-04-04 17:24:18,812 [4] DEBUG Spring.Objects.Factory.Support.WebObjectFactory [(null)] - disposing 'session'-scoped item cache
2008-06-11 15:29:00,734 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Object 'CustomerEditController' instantiated via constructor [Void .ctor(NHibernate.ISessionFactory)].
2008-06-11 15:29:00,734 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Eagerly caching object 'CustomerEditController' to allow for resolving potential circular references
2008-06-11 15:29:00,734 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - configuring object 'NHibernateCustomerEditController' using definition 'CustomerEditController'
2008-06-11 15:29:00,734 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IObjectPostProcessors before initialization of object 'CustomerEditController'
2008-06-11 15:29:00,734 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IObjectPostProcessors after initialization of object 'CustomerEditController'
2008-06-11 15:29:00,734 [4] DEBUG Spring.Aop.Framework.AutoProxy.AbstractAutoProxyCreator [(null)] - returning available advisors
2008-06-11 15:29:00,750 [4] INFO Spring.Aop.Framework.AutoProxy.AbstractAutoProxyCreator [(null)] - Candidate advisor [Spring.Transaction.Interceptor.TransactionAttributeSourceAdvisor] rejected for type [NHibernateCustomerEditController]
2008-06-11 15:29:00,750 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Resolving reference from property 'CustomerDao' in object '/CustomerList.aspx' to object 'CustomerDao'.
2008-06-11 15:29:00,750 [4] DEBUG Spring.Objects.Factory.Support.WebObjectFactory [(null)] - Returning cached instance of singleton object 'CustomerDao'.
2008-06-11 15:29:00,750 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IObjectPostProcessors before initialization of object '/CustomerList.aspx'
2008-06-11 15:29:00,750 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IObjectPostProcessors after initialization of object '/CustomerList.aspx'
2008-06-11 15:29:00,750 [4] DEBUG Spring.Aop.Framework.AutoProxy.AbstractAutoProxyCreator [(null)] - returning available advisors
2008-06-11 15:29:01,140 [4] INFO Spring.Aop.Framework.AutoProxy.AbstractAutoProxyCreator [(null)] - Candidate advisor [Spring.Transaction.Interceptor.TransactionAttributeSourceAdvisor] rejected for type [ASP.customerlist_aspx]
2008-06-11 15:29:01,390 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Creating instance of Object 'SqlServer-2.0' with merged definition [Root web object with class [Spring.Data.Common.DbProvider] defined in assembly [Spring.Data, Version=1.1.2.20153, Culture=neutral, PublicKeyToken=null], resource [Spring.Data.Common.dbproviders.xml]].
2008-06-11 15:29:01,390 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IInstantiationAwareObjectPostProcessors before the instantiation of 'SqlServer-2.0'.
2008-06-11 15:29:01,390 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Creating instance of Object '(inner object)' with merged definition [Root web object with class [Spring.Data.Common.DbMetadata] defined in assembly [Spring.Data, Version=1.1.2.20153, Culture=neutral, PublicKeyToken=null], resource [Spring.Data.Common.dbproviders.xml]].
2008-06-11 15:29:01,390 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IInstantiationAwareObjectPostProcessors before the instantiation of '(inner object)'.
2008-06-11 15:29:01,390 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Object '(inner object)' instantiated via constructor [Void .ctor(System.String, System.String, System.Type, System.Type, System.Type, System.Type, System.Type, System.String, System.Type, System.String, System.String, System.String, System.Type, Boolean, Boolean, Boolean, System.String)].
2008-06-11 15:29:01,390 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - configuring object 'Spring.Data.Common.DbMetadata' using definition '(inner object)'
2008-06-11 15:29:01,390 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IObjectPostProcessors before initialization of object '(inner object)'
2008-06-11 15:29:01,390 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IObjectPostProcessors after initialization of object '(inner object)'
2008-06-11 15:29:01,390 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Object 'SqlServer-2.0' instantiated via constructor [Void .ctor(Spring.Data.Common.IDbMetadata)].
2008-06-11 15:29:01,390 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - configuring object 'Spring.Data.Common.DbProvider' using definition 'SqlServer-2.0'
2008-06-11 15:29:01,390 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IObjectPostProcessors before initialization of object 'SqlServer-2.0'
2008-06-11 15:29:01,390 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IObjectPostProcessors after initialization of object 'SqlServer-2.0'
2008-06-11 15:29:01,406 [4] DEBUG Spring.Transaction.Support.TransactionSynchronizationManager [(null)] - Retrieved value [Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder@331229B] for key [NHibernate.Impl.SessionFactoryImpl@21DE31D] bound to thread [4]
2008-06-11 15:29:01,406 [4] DEBUG Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder [(null)] - session instance requested - opening new session
2008-06-11 15:29:01,406 [4] DEBUG Spring.Data.NHibernate.SessionFactoryUtils [(null)] - Opening Hibernate Session
2008-06-11 15:29:01,421 [4] DEBUG Spring.Transaction.Support.TransactionSynchronizationManager [(null)] - Retrieved value [Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder@331229B] for key [NHibernate.Impl.SessionFactoryImpl@21DE31D] bound to thread [4]
2008-06-11 15:29:01,421 [4] DEBUG Spring.Data.NHibernate.HibernateTemplate [(null)] - Found thread-bound Session for HibernateTemplate
2008-06-11 15:29:01,437 [4] DEBUG Spring.Transaction.Support.TransactionSynchronizationManager [(null)] - Retrieved value [Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder@331229B] for key [NHibernate.Impl.SessionFactoryImpl@21DE31D] bound to thread [4]
2008-06-11 15:29:01,500 [4] INFO NHibernate.Loader.Loader [(null)] - SELECT this_.CustomerID as CustomerID1_0_, this_.CompanyName as CompanyN2_1_0_, this_.ContactName as ContactN3_1_0_, this_.ContactTitle as ContactT4_1_0_, this_.Address as Address1_0_, this_.City as City1_0_, this_.Region as Region1_0_, this_.PostalCode as PostalCode1_0_, this_.Country as Country1_0_, this_.Phone as Phone1_0_, this_.Fax as Fax1_0_ FROM Customers this_
2008-06-11 15:29:16,000 [4] WARN NHibernate.Util.ADOExceptionReporter [(null)] - NHibernate.ADOException: cannot open connection ---> System.Data.SqlClient.SqlException: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Shared Memory Provider, error: 40 - Could not open a connection to SQL Server)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject)
at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)
at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)
at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)
at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.SqlClient.SqlConnection.Open()
at NHibernate.Connection.DriverConnectionProvider.GetConnection()
at NHibernate.Impl.SessionFactoryImpl.OpenConnection()
--- End of inner exception stack trace ---
at NHibernate.Impl.SessionFactoryImpl.OpenConnection()
at NHibernate.Impl.ConnectionManager.GetConnection()
at NHibernate.Impl.BatcherImpl.Prepare(IDbCommand cmd)
at NHibernate.Impl.BatcherImpl.ExecuteReader(IDbCommand cmd)
at NHibernate.Loader.Loader.GetResultSet(IDbCommand st, RowSelection selection, ISessionImplementor session)
2008-06-11 15:29:16,000 [4] ERROR NHibernate.Util.ADOExceptionReporter [(null)] - cannot open connection
2008-06-11 15:29:16,000 [4] WARN NHibernate.Util.ADOExceptionReporter [(null)] - System.Data.SqlClient.SqlException: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Shared Memory Provider, error: 40 - Could not open a connection to SQL Server)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject)
at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)
at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)
at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)
at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.SqlClient.SqlConnection.Open()
at NHibernate.Connection.DriverConnectionProvider.GetConnection()
at NHibernate.Impl.SessionFactoryImpl.OpenConnection()
2008-06-11 15:29:16,000 [4] ERROR NHibernate.Util.ADOExceptionReporter [(null)] - An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Shared Memory Provider, error: 40 - Could not open a connection to SQL Server)
2008-06-11 15:29:16,046 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Creating instance of Object 'SqlServer-2.0' with merged definition [Root web object with class [Spring.Data.Common.DbProvider] defined in assembly [Spring.Data, Version=1.1.2.20153, Culture=neutral, PublicKeyToken=null], resource [Spring.Data.Common.dbproviders.xml]].
2008-06-11 15:29:16,046 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IInstantiationAwareObjectPostProcessors before the instantiation of 'SqlServer-2.0'.
2008-06-11 15:29:16,046 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Creating instance of Object '(inner object)' with merged definition [Root web object with class [Spring.Data.Common.DbMetadata] defined in assembly [Spring.Data, Version=1.1.2.20153, Culture=neutral, PublicKeyToken=null], resource [Spring.Data.Common.dbproviders.xml]].
2008-06-11 15:29:16,046 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IInstantiationAwareObjectPostProcessors before the instantiation of '(inner object)'.
2008-06-11 15:29:16,046 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Object '(inner object)' instantiated via constructor [Void .ctor(System.String, System.String, System.Type, System.Type, System.Type, System.Type, System.Type, System.String, System.Type, System.String, System.String, System.String, System.Type, Boolean, Boolean, Boolean, System.String)].
2008-06-11 15:29:16,046 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - configuring object 'Spring.Data.Common.DbMetadata' using definition '(inner object)'
2008-06-11 15:29:16,046 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IObjectPostProcessors before initialization of object '(inner object)'
2008-06-11 15:29:16,046 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IObjectPostProcessors after initialization of object '(inner object)'
2008-06-11 15:29:16,046 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Object 'SqlServer-2.0' instantiated via constructor [Void .ctor(Spring.Data.Common.IDbMetadata)].
2008-06-11 15:29:16,046 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - configuring object 'Spring.Data.Common.DbProvider' using definition 'SqlServer-2.0'
2008-06-11 15:29:16,046 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IObjectPostProcessors before initialization of object 'SqlServer-2.0'
2008-06-11 15:29:16,046 [4] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IObjectPostProcessors after initialization of object 'SqlServer-2.0'
2008-06-11 15:29:16,171 [4] DEBUG Spring.Data.Support.ErrorCodeExceptionTranslator [(null)] - Unable to translate exception eith errorCode '2', will use the fallback translator
2008-06-11 15:29:22,671 [4] DEBUG Spring.Data.NHibernate.HibernateTemplate [(null)] - Not closing pre-bound Hibernate Session after HibernateTemplate
2008-06-11 15:29:22,671 [4] DEBUG Spring.Objects.Factory.Support.WebObjectFactory [(null)] - disposing 'request'-scoped item cache
2008-06-11 15:29:22,671 [4] DEBUG Spring.Data.NHibernate.Support.OpenSessionInViewModule [(null)] - Trying to close SessionScope
2008-06-11 15:29:22,671 [4] DEBUG Spring.Data.NHibernate.Support.OpenSessionInViewModule [(null)] - Closing single Hibernate Session in SessionScope
2008-06-11 15:29:22,671 [4] DEBUG Spring.Transaction.Support.TransactionSynchronizationManager [(null)] - Removed value [Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder@331229B] for key [NHibernate.Impl.SessionFactoryImpl@21DE31D] from thread [4]
2008-06-11 15:29:22,687 [4] DEBUG Spring.Data.NHibernate.SessionFactoryUtils [(null)] - Closing Hibernate Session
2008-06-11 15:29:22,687 [4] DEBUG Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder [(null)] - Closed LazySessionHolder
2008-06-11 15:30:06,750 [9] DEBUG Spring.Data.NHibernate.Support.OpenSessionInViewModule [(null)] - Opening single Hibernate Session in SessionScope
2008-06-11 15:30:06,750 [9] DEBUG Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder [(null)] - Created LazySessionHolder
2008-06-11 15:30:06,750 [9] DEBUG Spring.Transaction.Support.TransactionSynchronizationManager [(null)] - Bound value [Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder@12D76CA] for key [NHibernate.Impl.SessionFactoryImpl@21DE31D] to thread [9]
2008-06-11 15:30:06,750 [9] DEBUG Spring.Web.Support.PageHandlerFactory [(null)] - GetHandler():resolving url '/Spring.Northwind.Web/CustomerList.aspx'
2008-06-11 15:30:06,750 [9] DEBUG Spring.Web.Support.PageHandlerFactory [(null)] - GetHandler():resolved url '/Spring.Northwind.Web/CustomerList.aspx' from reusable handler cache
2008-06-11 15:30:06,765 [9] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Creating instance of Object '/CustomerList.aspx' with merged definition [Root web object with class [/Spring.Northwind.Web/CustomerList.aspx] defined in file [L:\projects\spring-net\trunk\examples\Spring\Spring.Data.NHibernate.Northwind\src\Spring.Northwind.Web\Web.xml]].
2008-06-11 15:30:06,765 [9] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IInstantiationAwareObjectPostProcessors before the instantiation of '/CustomerList.aspx'.
2008-06-11 15:30:06,765 [9] DEBUG Spring.Objects.Factory.Support.WebObjectUtils [(null)] - creating page instance '/Spring.Northwind.Web/CustomerList.aspx'
2008-06-11 15:30:06,765 [9] DEBUG Spring.Objects.Factory.Support.WebObjectUtils [(null)] - page vpath is /Spring.Northwind.Web/CustomerList.aspx
2008-06-11 15:30:06,765 [9] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - configuring object 'ASP.customerlist_aspx' using definition '/CustomerList.aspx'
2008-06-11 15:30:06,765 [9] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Resolving reference from property 'CustomerEditController' in object '/CustomerList.aspx' to object 'CustomerEditController'.
2008-06-11 15:30:06,765 [9] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Creating instance of Object 'CustomerEditController' with merged definition [Root web object with class [NHibernateCustomerEditController] defined in file [L:\projects\spring-net\trunk\examples\Spring\Spring.Data.NHibernate.Northwind\src\Spring.Northwind.Web\Web.xml]].
2008-06-11 15:30:06,765 [9] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IInstantiationAwareObjectPostProcessors before the instantiation of 'CustomerEditController'.
2008-06-11 15:30:06,765 [9] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Resolving reference from property 'constructor argument with name sessionfactory' in object 'CustomerEditController' to object 'NHibernateSessionFactory'.
2008-06-11 15:30:06,765 [9] DEBUG Spring.Objects.Factory.Support.WebObjectFactory [(null)] - Returning cached instance of singleton object 'NHibernateSessionFactory'.
2008-06-11 15:30:06,765 [9] DEBUG Spring.Objects.Factory.Support.WebObjectFactory [(null)] - Object with name 'NHibernateSessionFactory' is a factory object.
2008-06-11 15:30:06,765 [9] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IObjectPostProcessors after initialization of object 'NHibernateSessionFactory'
2008-06-11 15:30:06,765 [9] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Object 'CustomerEditController' instantiated via constructor [Void .ctor(NHibernate.ISessionFactory)].
2008-06-11 15:30:06,765 [9] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Eagerly caching object 'CustomerEditController' to allow for resolving potential circular references
2008-06-11 15:30:06,765 [9] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - configuring object 'NHibernateCustomerEditController' using definition 'CustomerEditController'
2008-06-11 15:30:06,765 [9] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IObjectPostProcessors before initialization of object 'CustomerEditController'
2008-06-11 15:30:06,765 [9] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IObjectPostProcessors after initialization of object 'CustomerEditController'
2008-06-11 15:30:06,765 [9] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Resolving reference from property 'CustomerDao' in object '/CustomerList.aspx' to object 'CustomerDao'.
2008-06-11 15:30:06,765 [9] DEBUG Spring.Objects.Factory.Support.WebObjectFactory [(null)] - Returning cached instance of singleton object 'CustomerDao'.
2008-06-11 15:30:06,765 [9] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IObjectPostProcessors before initialization of object '/CustomerList.aspx'
2008-06-11 15:30:06,765 [9] DEBUG Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory [(null)] - Invoking IObjectPostProcessors after initialization of object '/CustomerList.aspx'
2008-06-11 15:30:06,796 [9] DEBUG Spring.Transaction.Support.TransactionSynchronizationManager [(null)] - Retrieved value [Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder@12D76CA] for key [NHibernate.Impl.SessionFactoryImpl@21DE31D] bound to thread [9]
2008-06-11 15:30:06,796 [9] DEBUG Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder [(null)] - session instance requested - opening new session
2008-06-11 15:30:06,796 [9] DEBUG Spring.Data.NHibernate.SessionFactoryUtils [(null)] - Opening Hibernate Session
2008-06-11 15:30:06,796 [9] DEBUG Spring.Transaction.Support.TransactionSynchronizationManager [(null)] - Retrieved value [Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder@12D76CA] for key [NHibernate.Impl.SessionFactoryImpl@21DE31D] bound to thread [9]
2008-06-11 15:30:06,796 [9] DEBUG Spring.Data.NHibernate.HibernateTemplate [(null)] - Found thread-bound Session for HibernateTemplate
2008-06-11 15:30:06,796 [9] DEBUG Spring.Transaction.Support.TransactionSynchronizationManager [(null)] - Retrieved value [Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder@12D76CA] for key [NHibernate.Impl.SessionFactoryImpl@21DE31D] bound to thread [9]
2008-06-11 15:30:06,796 [9] INFO NHibernate.Loader.Loader [(null)] - SELECT this_.CustomerID as CustomerID1_0_, this_.CompanyName as CompanyN2_1_0_, this_.ContactName as ContactN3_1_0_, this_.ContactTitle as ContactT4_1_0_, this_.Address as Address1_0_, this_.City as City1_0_, this_.Region as Region1_0_, this_.PostalCode as PostalCode1_0_, this_.Country as Country1_0_, this_.Phone as Phone1_0_, this_.Fax as Fax1_0_ FROM Customers this_
2008-06-11 15:30:11,031 [9] DEBUG Spring.Data.NHibernate.HibernateTemplate [(null)] - Not closing pre-bound Hibernate Session after HibernateTemplate
2008-06-11 15:30:11,125 [9] DEBUG Spring.Objects.Factory.Support.WebObjectFactory [(null)] - disposing 'request'-scoped item cache
2008-06-11 15:30:11,125 [9] DEBUG Spring.Data.NHibernate.Support.OpenSessionInViewModule [(null)] - Trying to close SessionScope
2008-06-11 15:30:11,125 [9] DEBUG Spring.Data.NHibernate.Support.OpenSessionInViewModule [(null)] - Closing single Hibernate Session in SessionScope
2008-06-11 15:30:11,125 [9] DEBUG Spring.Transaction.Support.TransactionSynchronizationManager [(null)] - Removed value [Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder@12D76CA] for key [NHibernate.Impl.SessionFactoryImpl@21DE31D] from thread [9]
2008-06-11 15:30:11,125 [9] DEBUG Spring.Data.NHibernate.SessionFactoryUtils [(null)] - Closing Hibernate Session
2008-06-11 15:30:11,125 [9] DEBUG Spring.Data.NHibernate.Support.SessionScope+LazySessionHolder [(null)] - Closed LazySessionHolder
2008-06-11 15:50:20,062 [9] DEBUG Spring.Context.Support.WebSupportModule [(null)] - end session jweo4knnsbqd2rh45ku1enves because of Expired
2008-06-11 15:50:20,078 [9] DEBUG Spring.Objects.Factory.Support.WebObjectFactory [(null)] - disposing 'session'-scoped item cache

View File

@@ -32,11 +32,12 @@
<spring>
<parsers>
<parser type="Spring.Data.Config.DatabaseNamespaceParser, Spring.Data"/>
</parsers>
<parser type="Spring.Transaction.Config.TxNamespaceParser, Spring.Data" />
</parsers>
<context>
<resource uri="~/Aspects.xml"/>
<resource uri="~/Dao.xml"/>
<resource uri="~/Services.xml"/>
<resource uri="~/Config/Aspects.xml"/>
<resource uri="assembly://Spring.Northwind.Dao.NHibernate/Spring.Northwind.Dao/Dao.xml"/>
<resource uri="assembly://Spring.Northwind.Service/Spring.Northwind.Service/Services.xml"/>
<resource uri="~/Web.xml"/>
</context>
</spring>

View File

@@ -2,7 +2,6 @@
<configuration>
<configSections>
<sectionGroup name="spring">
<section name='context' type='Spring.Context.Support.ContextHandler, Spring.Core'/>
<section name="parsers" type="Spring.Context.Support.NamespaceParsersSectionHandler, Spring.Core" />
</sectionGroup>
<sectionGroup name="common">
@@ -14,14 +13,9 @@
<spring>
<parsers>
<parser type="Spring.Data.Config.DatabaseNamespaceParser, Spring.Data" />
</parsers>
<context>
<resource uri="Aspects.xml" />
<resource uri="Services.xml" />
<resource uri="Dao.xml" />
</context>
<parser type="Spring.Data.Config.DatabaseNamespaceParser, Spring.Data"/>
<parser type="Spring.Transaction.Config.TxNamespaceParser, Spring.Data" />
</parsers>
</spring>
<!-- These properties are referenced in Dao.xml -->

View File

@@ -68,6 +68,14 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\bin\net\2.0\debug\Spring.Data.dll</HintPath>
</Reference>
<Reference Include="Spring.Data.NHibernate12, Version=1.1.2.20153, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\bin\net\2.0\debug\Spring.Data.NHibernate12.dll</HintPath>
</Reference>
<Reference Include="Spring.Testing.NUnit, Version=1.1.2.20153, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\bin\net\2.0\debug\Spring.Testing.NUnit.dll</HintPath>
</Reference>
<Reference Include="Spring.Web, Version=1.1.0.2, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\bin\net\2.0\debug\Spring.Web.dll</HintPath>
@@ -77,7 +85,9 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="IntegrationTests\AbstractDaoIntegrationTests.cs" />
<Compile Include="IntegrationTests\FulfillmentServiceTests.cs" />
<Compile Include="IntegrationTests\NorthwindIntegrationTests.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
@@ -101,26 +111,6 @@
<Name>Spring.Northwind.Service</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="Aspects.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Dao.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="DeclarativeServicesAttributeDriven.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="DeclarativeServicesObjectNameDriven.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="DeclarativeServicesTxProxyFactoryDriven.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Services.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.