<?xml version="1.0"?>

<!DOCTYPE hibernate-mapping PUBLIC
    "-//Hibernate/Hibernate Mapping DTD 1.1//EN"
    "http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd">
        
<hibernate-mapping>
    <class
        name="org.gridlab.gridsphere.services.core.tracker.impl.TrackerInfo"
        table="tracker_info"
        >
        <cache usage="read-write"/>
        <id
            name="oid"
            column="gsoid"
            type="java.lang.String"
            length="32"
            >
            <generator class="uuid.hex"/>

        </id>

        <property name="Label" type="string" column="label"/>
        <property name="Date" type="long" column="trackerdate"/>
        <property name="UserAgent" type="string" column="useragent"/>
        <property name="UserName" type="string" column="username"/>
    </class>

    <class
        name="org.gridlab.gridsphere.services.core.tracker.impl.TrackerAction"
        table="tracker_action"
        >
        <cache usage="read-write"/>
        <id
            name="oid"
            column="gsoid"
            type="java.lang.String"
            length="32"
            >
            <generator class="uuid.hex"/>

        </id>
        <property name="Enabled" type="boolean" column="enabled"/>
        <property name="Action" type="string" column="action"/>
    </class>
</hibernate-mapping>
