boujnah5207 / sharp-architecture

Automatically exported from code.google.com/p/sharp-architecture
Other
0 stars 0 forks source link

RepositoryTestsHelper not prepared for multiple databases #114

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set up multiple databases in global.asax.cs using session factory keys.
2. Create a table in both databases with the same name.
3. Create a test fixture using RepositoryTestsBase.
4. In the test class, call both databases.

What is the expected output? What do you see instead?
Expected the insert using SQLite to happen correctly, but got an error
because nHibernate tries to map all columns from both tables into a single
table.

What version of the product are you using? On what operating system?
r478, VS 9.0.30279.1, Windows XP Pro.

Original issue reported on code.google.com by alex.bra...@gmail.com on 10 Jul 2009 at 11:30