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.
This commit is contained in:
Sean Dague
2008-04-03 20:59:20 +00:00
parent 4f174fbf57
commit cd4348738a
2 changed files with 36 additions and 35 deletions

View File

@@ -1,16 +1,15 @@
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
<class name="OpenSim.Framework.AssetBase, OpenSim.Framework" table="Assets">
<class name="OpenSim.Framework.AssetBase, OpenSim.Framework" table="Assets" lazy="false">
<id name="ID" column="UUID" type="String" length="36" >
<generator class="assigned" />
</id>
<property name="Type" type="integer" />
<property name="InvType" type="integer" />
<property name="Name" type="String" length="50" />
<property name="Description" type="String" length="50" />
<property name="Local" type="boolean" />
<property name="Temporary" type="boolean" />
<property name="Type" type="SByte" />
<property name="InvType" type="SByte" />
<property name="Name" type="String" length="50" />
<property name="Description" type="String" length="50" />
<property name="Local" type="boolean" />
<property name="Temporary" type="boolean" />
<property name="Data" type="binary" />
</class>
</hibernate-mapping>