aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/NHibernate/Resources
diff options
context:
space:
mode:
authorSean Dague2008-04-03 20:59:20 +0000
committerSean Dague2008-04-03 20:59:20 +0000
commitcd4348738a57fcb85305642bf5e191b292c8d017 (patch)
treeca1db7f7bc7c6421e05c7156769357362a1cae9d /OpenSim/Data/NHibernate/Resources
parentUpdate svn properties. (diff)
downloadopensim-SC_OLD-cd4348738a57fcb85305642bf5e191b292c8d017.zip
opensim-SC_OLD-cd4348738a57fcb85305642bf5e191b292c8d017.tar.gz
opensim-SC_OLD-cd4348738a57fcb85305642bf5e191b292c8d017.tar.bz2
opensim-SC_OLD-cd4348738a57fcb85305642bf5e191b292c8d017.tar.xz
Check in the remaining bits to do Asset store via NHibernate. Still
need to work out auto table creation in a reasonable way. Tommorrow I'll work on getting the NHibernate bits in place to be able to put this into the main tree.
Diffstat (limited to 'OpenSim/Data/NHibernate/Resources')
-rw-r--r--OpenSim/Data/NHibernate/Resources/AssetBase.hbm.xml15
1 files changed, 7 insertions, 8 deletions
diff --git a/OpenSim/Data/NHibernate/Resources/AssetBase.hbm.xml b/OpenSim/Data/NHibernate/Resources/AssetBase.hbm.xml
index 82c30fe..ec4d168 100644
--- a/OpenSim/Data/NHibernate/Resources/AssetBase.hbm.xml
+++ b/OpenSim/Data/NHibernate/Resources/AssetBase.hbm.xml
@@ -1,16 +1,15 @@
1<?xml version="1.0" encoding="utf-8" ?> 1<?xml version="1.0" encoding="utf-8" ?>
2<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"> 2<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
3 <class name="OpenSim.Framework.AssetBase, OpenSim.Framework" table="Assets"> 3 <class name="OpenSim.Framework.AssetBase, OpenSim.Framework" table="Assets" lazy="false">
4 <id name="ID" column="UUID" type="String" length="36" > 4 <id name="ID" column="UUID" type="String" length="36" >
5 <generator class="assigned" /> 5 <generator class="assigned" />
6 </id> 6 </id>
7<property name="Type" type="integer" /> 7 <property name="Type" type="SByte" />
8<property name="InvType" type="integer" /> 8 <property name="InvType" type="SByte" />
9<property name="Name" type="String" length="50" /> 9 <property name="Name" type="String" length="50" />
10<property name="Description" type="String" length="50" /> 10 <property name="Description" type="String" length="50" />
11<property name="Local" type="boolean" /> 11 <property name="Local" type="boolean" />
12<property name="Temporary" type="boolean" /> 12 <property name="Temporary" type="boolean" />
13 <property name="Data" type="binary" /> 13 <property name="Data" type="binary" />
14
15 </class> 14 </class>
16</hibernate-mapping> \ No newline at end of file 15</hibernate-mapping> \ No newline at end of file