PDA

View Full Version : Fix for Spring.DataQuickStart/TxQuickStart 1.1 M1 example


Bruno Baia
06-06-2007, 10:12 PM
Hi,

After the database schema addition, we updated the Spring.DataQuickStart/Spring.TxQuickStart examples but didn't register it correctly.

As I explained in this post (http://forum.springframework.net/showpost.php?p=7425&postcount=2), there is two ways to configure Spring.

For DataQuickStart :
You need to update the ExampleTests.cs files in the Spring.DataQuickStart.Tests project by changing the SetUp method :

[SetUp]
public void InitContext()
{
// Configure Spring programmatically
XmlParserRegistry.RegisterParser(typeof(DatabaseCo nfigParser));
ctx = new XmlApplicationContext("....");
}

I've updated CVS. See diffs with fisheye (http://fisheye1.cenqua.com/changelog/springnet/Spring.Net/examples?cs=MAIN:bbaia:20070606205337) for the DataQuickStart.


Same changes for the TxQuickStart.


Sorry for the inconvenience,
Bruno