diff options
Diffstat (limited to 'OpenSim/Data/NHibernate/NHibernateRegionData.cs')
-rw-r--r-- | OpenSim/Data/NHibernate/NHibernateRegionData.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Data/NHibernate/NHibernateRegionData.cs b/OpenSim/Data/NHibernate/NHibernateRegionData.cs index 0cd3969..78db52d 100644 --- a/OpenSim/Data/NHibernate/NHibernateRegionData.cs +++ b/OpenSim/Data/NHibernate/NHibernateRegionData.cs | |||
@@ -70,7 +70,7 @@ namespace OpenSim.Data.NHibernate | |||
70 | } | 70 | } |
71 | else | 71 | else |
72 | { | 72 | { |
73 | manager.Save(rs); | 73 | manager.Insert(rs); |
74 | } | 74 | } |
75 | } | 75 | } |
76 | 76 | ||
@@ -82,7 +82,7 @@ namespace OpenSim.Data.NHibernate | |||
82 | { | 82 | { |
83 | regionSettings = new RegionSettings(); | 83 | regionSettings = new RegionSettings(); |
84 | regionSettings.RegionUUID = regionUUID; | 84 | regionSettings.RegionUUID = regionUUID; |
85 | manager.Save(regionSettings); | 85 | manager.Insert(regionSettings); |
86 | } | 86 | } |
87 | 87 | ||
88 | regionSettings.OnSave += StoreRegionSettings; | 88 | regionSettings.OnSave += StoreRegionSettings; |
@@ -105,7 +105,7 @@ namespace OpenSim.Data.NHibernate | |||
105 | else | 105 | else |
106 | { | 106 | { |
107 | m_log.InfoFormat("[NHIBERNATE] saving object {0}", p.UUID); | 107 | m_log.InfoFormat("[NHIBERNATE] saving object {0}", p.UUID); |
108 | manager.Save(p); | 108 | manager.Insert(p); |
109 | } | 109 | } |
110 | 110 | ||
111 | } | 111 | } |
@@ -129,7 +129,7 @@ namespace OpenSim.Data.NHibernate | |||
129 | else | 129 | else |
130 | { | 130 | { |
131 | m_log.InfoFormat("[NHIBERNATE] saving terrain {0}", t.RegionID); | 131 | m_log.InfoFormat("[NHIBERNATE] saving terrain {0}", t.RegionID); |
132 | manager.Save(t); | 132 | manager.Insert(t); |
133 | } | 133 | } |
134 | 134 | ||
135 | } | 135 | } |
@@ -394,7 +394,7 @@ namespace OpenSim.Data.NHibernate | |||
394 | 394 | ||
395 | foreach (TaskInventoryItem i in items) | 395 | foreach (TaskInventoryItem i in items) |
396 | { | 396 | { |
397 | manager.Save(i); | 397 | manager.Insert(i); |
398 | 398 | ||
399 | } | 399 | } |
400 | } | 400 | } |