Hello everyone,

I am sorry if I might be placing this problem on a wrong forum, but after
googling several hours in vain, this is my only solution for the problem I
am experiencing.

I am implementing the persistence layer with NHibernate and SQLite. I am
building dinamically the session configs:
--------------
cfg.SetProperty(NHibernate.Cfg.Environment.ConnectionProvider,
"NHibernate.Connection.DriverConnectionProvider");
cfg.SetProperty(NHibernate.Cfg.Environment.Dialect,
typeof(SQLiteDialect).FullName);
cfg.SetProperty(NHibernate.Cfg.Environment.ConnectionDriver,
typeof(SQLite20Driver).FullName);
cfg.SetProperty(NHibernate.Cfg.Environment.ConnectionString, "Data Source="
+ Environment.CurrentDirectory + "\\RM.db;Version=3;New=True");
cfg.SetProperty(NHibernate.Cfg.Environment.ShowSql, "true");
cfg.SetProperty(NHibernate.Cfg.Environment.ProxyFactoryFactoryClass,
"NHibernate.ByteCode.Castle.ProxyFactoryFactory,
NHibernate.ByteCode.Castle");
cfg.SetProperty(NHibernate.Cfg.Environment.CurrentSessionContextClass,
"thread_static");
cfg.SetProperty(NHibernate.Cfg.Environment.QuerySubstitutions, "true, 1");
cfg.SetProperty(NHibernate.Cfg.Environment.QuerySubstitutions, "false, 0");
--------------------------------

When creating the session object everything is OK, I can see correctly its
properties and I dont receive any errors.
The problem occurs when I am calling a method (LoadAll) that loads all the
entities of a certain type: it returns me the message SQLite error no such
table: [the tablename i am performing the select]

Has anyone experienced something similar ? I can give you more details if
asked.

Thank you,
C.

-- 
View this message in context: 
http://old.nabble.com/SQLite-error-no-such-table%3A-tablename-tp28544944p28544944.html
Sent from the SQLite mailing list archive at Nabble.com.

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to