lundi 2 novembre 2015

System.Data.SQLite.SQLiteException : Callback routine requested an abort Execution was aborted by the user

Upgraded to the latest version of NHibernate and now some of my unit tests are failing where I'm using the SQLite InMemory library. Here is what I upgraded

  • FluentNHibernate 1.2.0.712 ==> 2.0.3
  • NHibernate 3.1.0.4000 ==> 4.0.4.4000
  • Iesi.Collections 3.1.0.4000 ==> 4.0.1.4000

Now the following code compiles but no longer works correctly.

 var cfg = Fluently.Configure()
                   .Database(SQLiteConfiguration.Standard.InMemory().ShowSql())
                   .BuildConfiguration();
 cfg.BuildSessionFactory();

I get the following error every time.

SetUp : System.Data.SQLite.SQLiteException : Callback routine requested an abort Execution was aborted by the user

Has anyone else experienced this during an upgrade and found a way around it? My timeline is rather tight so any help would be appreciated.

Aucun commentaire:

Enregistrer un commentaire