<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Sqlite-Nhibernate on Ash Tewari</title><link>https://www.tewari.info/tag/sqlite-nhibernate/</link><description>Recent content in Sqlite-Nhibernate on Ash Tewari</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Wed, 10 Sep 2008 04:46:39 +0000</lastBuildDate><atom:link href="https://www.tewari.info/tag/sqlite-nhibernate/feed.xml" rel="self" type="application/rss+xml"/><item><title>Using NHibernate With SQLite in DbUpdater</title><link>https://www.tewari.info/2008/09/09/using-nhibernate-with-sqlite-in-dbupdater/</link><pubDate>Wed, 10 Sep 2008 04:46:39 +0000</pubDate><guid isPermaLink="false">http://www.tewari.info/2008/09/09/using-nhibernate-with-sqlite-in-dbupdater/</guid><description>&lt;p&gt;&lt;a href="https://www.tewari.info/dbupdater/"&gt;DbUpdater&lt;/a&gt; (&lt;a href="http://sourceforge.net/projects/dbupdater/"&gt;version 1.3&lt;/a&gt; onwards) can be used with &lt;a href="http://www.sqlite.org/"&gt;sqlite3&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Review the files included in &lt;a href="https://www.tewari.info/downloads/DbUpdater-sqlite3.zip"&gt;DbUpdater-sqlite3.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;1. DbUpdater.exe.config must be modified. Note changes to the following keys - exe-file, exe-args, dialect, driver_class, connetion_string.
2. SchemaVersion.hbm.xml must be modified. The &amp;lsquo;class&amp;rsquo; attributes value for the &amp;lsquo;generator&amp;rsquo; of &amp;lsquo;id&amp;rsquo; must be changed to &amp;lsquo;identity&amp;rsquo;. No other changes are needed here.
3. \SqlScripts\schema-version-table.sql is modified. Note that the datatypes of all columns are changed to TEXT, except for SchemaChangeId, which is changed to integer primary key. integer primary key is used for auto-incremented columns in sqlite.
4. \SqlScripts\baseline.sql is modified. Note the use of current_timestamp function. The actual sql syntax in this file must conform to sqlite dialect.
5. All other .sql scripts in \SqlScripts directory are also modified to conform to sqlite dialect.&lt;/p&gt;</description></item></channel></rss>