aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/NHibernate/Resources/InventoryItemBase.hbm.xml
diff options
context:
space:
mode:
authorSean Dague2008-04-08 23:35:22 +0000
committerSean Dague2008-04-08 23:35:22 +0000
commit2aeeb4fe5f188f3564dd80a44d7682e1be53a3b7 (patch)
tree83bc008f61b436238400081dbc6f9086496fdb81 /OpenSim/Data/NHibernate/Resources/InventoryItemBase.hbm.xml
parentadded the folder mappings (diff)
downloadopensim-SC-2aeeb4fe5f188f3564dd80a44d7682e1be53a3b7.zip
opensim-SC-2aeeb4fe5f188f3564dd80a44d7682e1be53a3b7.tar.gz
opensim-SC-2aeeb4fe5f188f3564dd80a44d7682e1be53a3b7.tar.bz2
opensim-SC-2aeeb4fe5f188f3564dd80a44d7682e1be53a3b7.tar.xz
move the mappings to .hbm.xml so NHibernate actually
sees them
Diffstat (limited to 'OpenSim/Data/NHibernate/Resources/InventoryItemBase.hbm.xml')
-rw-r--r--OpenSim/Data/NHibernate/Resources/InventoryItemBase.hbm.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/OpenSim/Data/NHibernate/Resources/InventoryItemBase.hbm.xml b/OpenSim/Data/NHibernate/Resources/InventoryItemBase.hbm.xml
new file mode 100644
index 0000000..dfbdf3e
--- /dev/null
+++ b/OpenSim/Data/NHibernate/Resources/InventoryItemBase.hbm.xml
@@ -0,0 +1,20 @@
1<?xml version="1.0" encoding="utf-8" ?>
2<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
3 <class name="OpenSim.Framework.InventoryItemBase, OpenSim.Framework" table="InventoryItems" lazy="false">
4 <id name="ID" type="OpenSim.Data.NHibernate.LLUUIDString, OpenSim.Data.NHibernate">
5 <generator class="assigned" />
6 </id>
7 <property name="InvType" type="int" />
8 <property name="AssetType" type="int" />
9 <property name="AssetID" type="OpenSim.Data.NHibernate.LLUUIDString, OpenSim.Data.NHibernate" />
10 <property name="Folder" type="OpenSim.Data.NHibernate.LLUUIDString, OpenSim.Data.NHibernate" />
11 <property name="Owner" type="OpenSim.Data.NHibernate.LLUUIDString, OpenSim.Data.NHibernate" />
12 <property name="Creator" type="OpenSim.Data.NHibernate.LLUUIDString, OpenSim.Data.NHibernate" />
13 <property name="Name" type="String" length="64" />
14 <property name="Description" type="String" length="64" />
15 <property name="NextPermissions" type="uint" />
16 <property name="CurrentPermissions" type="uint" />
17 <property name="BasePermissions" type="uint" />
18 <property name="EveryOnePermissions" type="uint" />
19 </class>
20</hibernate-mapping> \ No newline at end of file