aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/NHibernate/Resources
diff options
context:
space:
mode:
authorSean Dague2008-04-11 22:18:52 +0000
committerSean Dague2008-04-11 22:18:52 +0000
commitb43ffd12f5f819664d2ba788caee9fd9f7da2e0c (patch)
treed1b2973a9c9914176b5efc580ac73409e73fdc7a /OpenSim/Data/NHibernate/Resources
parent* Reduce publicly exposed fields on InventoryCollection, which was causing du... (diff)
downloadopensim-SC-b43ffd12f5f819664d2ba788caee9fd9f7da2e0c.zip
opensim-SC-b43ffd12f5f819664d2ba788caee9fd9f7da2e0c.tar.gz
opensim-SC-b43ffd12f5f819664d2ba788caee9fd9f7da2e0c.tar.bz2
opensim-SC-b43ffd12f5f819664d2ba788caee9fd9f7da2e0c.tar.xz
add user agent mapping
Diffstat (limited to 'OpenSim/Data/NHibernate/Resources')
-rw-r--r--OpenSim/Data/NHibernate/Resources/UserAgentData.hbm.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/OpenSim/Data/NHibernate/Resources/UserAgentData.hbm.xml b/OpenSim/Data/NHibernate/Resources/UserAgentData.hbm.xml
new file mode 100644
index 0000000..4ff884d
--- /dev/null
+++ b/OpenSim/Data/NHibernate/Resources/UserAgentData.hbm.xml
@@ -0,0 +1,21 @@
1<?xml version="1.0" encoding="utf-8" ?>
2<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
3 <class name="OpenSim.Framework.UserAgentData, OpenSim.Framework" table="Users" lazy="false">
4 <id name="ProfileID" type="OpenSim.Data.NHibernate.LLUUIDUserType, OpenSim.Data.NHibernate">
5 <generator class="assigned" />
6 </id>
7 <property name="AgentIP" type="String" length="24" />
8 <property name="AgentPort" type="UInt32" />
9 <property name="AgentOnline" type="bool" />
10 <property name="SessionID" type="OpenSim.Data.NHibernate.LLUUIDUserType, OpenSim.Data.NHibernate" />
11 <property name="SecureSessionID" type="OpenSim.Data.NHibernate.LLUUIDUserType, OpenSim.Data.NHibernate" />
12 <property name="InitialRegion" type="OpenSim.Data.NHibernate.LLUUIDUserType, OpenSim.Data.NHibernate" />
13 <property name="Region" type="OpenSim.Data.NHibernate.LLUUIDUserType, OpenSim.Data.NHibernate" />
14 <property name="LoginTime" type="Int32" />
15 <property name="LogoutTime" type="Int32" />
16 <property name="Handle" type="ulong" />
17 <property name="PositionX" type="float" />
18 <property name="PositionY" type="float" />
19 <property name="PositionZ" type="float" />
20 </class>
21</hibernate-mapping> \ No newline at end of file