diff options
author | Sean Dague | 2008-04-03 12:29:25 +0000 |
---|---|---|
committer | Sean Dague | 2008-04-03 12:29:25 +0000 |
commit | fe14d65f07b453b079aee1fe5ae17cfe7d6cb855 (patch) | |
tree | ee8a561b95bf7bd20fc6c77208bc832d2e35f12e /OpenSim/Data/NHibernate/NHibernateManager.cs | |
parent | * ODEPlugin: put a limit on the minimum size a prim can be ( scale <=0 ). (diff) | |
download | opensim-SC_OLD-fe14d65f07b453b079aee1fe5ae17cfe7d6cb855.zip opensim-SC_OLD-fe14d65f07b453b079aee1fe5ae17cfe7d6cb855.tar.gz opensim-SC_OLD-fe14d65f07b453b079aee1fe5ae17cfe7d6cb855.tar.bz2 opensim-SC_OLD-fe14d65f07b453b079aee1fe5ae17cfe7d6cb855.tar.xz |
point in time update of NHibernate Asset Mapping code
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/NHibernate/NHibernateManager.cs | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/OpenSim/Data/NHibernate/NHibernateManager.cs b/OpenSim/Data/NHibernate/NHibernateManager.cs index f9405b4..edef8ad 100644 --- a/OpenSim/Data/NHibernate/NHibernateManager.cs +++ b/OpenSim/Data/NHibernate/NHibernateManager.cs | |||
@@ -45,17 +45,17 @@ namespace OpenSim.Data.NHibernate | |||
45 | public NHibernateManager() | 45 | public NHibernateManager() |
46 | { | 46 | { |
47 | // This is stubbing for now, it will become dynamic later and support different db backends | 47 | // This is stubbing for now, it will become dynamic later and support different db backends |
48 | NHibernate.Cfg.Configuration cfg = new NHibernate.Cfg.Configuration(); | 48 | // NHibernate.Cfg.Configuration cfg = new NHibernate.Cfg.Configuration(); |
49 | cfg.Properties[NHibernate.Cfg.Environment.ConnectionProvider] = | 49 | // cfg.Properties[NHibernate.Cfg.Environment.ConnectionProvider] = |
50 | "NHibernate.Connection.DriverConnectionProvider"; | 50 | // "NHibernate.Connection.DriverConnectionProvider"; |
51 | cfg.Properties[NHibernate.Cfg.Environment.Dialect] = | 51 | // cfg.Properties[NHibernate.Cfg.Environment.Dialect] = |
52 | "NHibernate.Dialect.SQLite"; | 52 | // "NHibernate.Dialect.SQLite"; |
53 | cfg.Properties[NHibernate.Cfg.Environment.ConnectionDriver] = | 53 | // cfg.Properties[NHibernate.Cfg.Environment.ConnectionDriver] = |
54 | "NHibernate.Driver.SqliteClientDriver"; | 54 | // "NHibernate.Driver.SqliteClientDriver"; |
55 | cfg.Properties[NHibernate.Cfg.Environment.ConnectionString] = | 55 | // cfg.Properties[NHibernate.Cfg.Environment.ConnectionString] = |
56 | "URI=file:opensim-nh.db,version=3"; | 56 | // "URI=file:opensim-nh.db,version=3"; |
57 | 57 | ||
58 | factory = cfg.BuildSessionFactory(); | 58 | // factory = cfg.BuildSessionFactory(); |
59 | } | 59 | } |
60 | 60 | ||
61 | } | 61 | } |