Sorry.
Code:
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 2.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd">
<hibernate-mapping>
<class name="com.contego.arx.domain.Host" table="hoststatus">
<id name="hostname" type="java.lang.String" column="host_name">
<generator class="assigned"/>
</id>
<property name="hostStatus" type="java.lang.String" column="host_status"/>
<property name="lastUpdate" type="java.util.Date" column="last_update"/>
<property name="lastCheck" type="java.util.Date" column="last_check"/>
<property name="lastStateChange" type="java.util.Date" column="last_state_change"/>
<property name="problemAcknowledged" type="java.lang.Boolean" column="problem_acknowledged"/>
<property name="timeUp" type="java.lang.Long" column="time_up"/>
<property name="timeDown" type="java.lang.Long" column="time_down"/>
<property name="timeUnreachable" type="java.lang.Long" column="time_unreachable"/>
<property name="lastNotification" type="java.util.Date" column="last_notification"/>
<property name="currentNotification" type="java.lang.Integer" column="current_notification"/>
<property name="notificationsEnabled" type="java.lang.Boolean" column="notifications_enabled"/>
<property name="eventHandlerEnabled" type="java.lang.Boolean" column="event_handler_enabled"/>
<property name="checksEnabled" type="java.lang.Boolean" column="checks_enabled"/>
<property name="pluginOutput" type="java.lang.String" column="plugin_output"/>
<property name="scheduledDowntimeDepth" type="java.lang.Integer" column="scheduled_downtime_depth"/>
<property name="flapDetectionEnabled" type="java.lang.Boolean" column="flap_detection_enabled"/>
<property name="isFlapping" type="java.lang.Boolean" column="is_flapping"/>
<property name="percentStateChange" type="java.lang.Double" column="percent_state_change"/>
<property name="failurePredictionEnabled" type="java.lang.Boolean" column="failure_prediction_enabled"/>
<property name="processPerformanceData" type="java.lang.Boolean" column="process_performance_data"/>
<set name="serviceStatuses" lazy="false">
<key column="host_name"/>
<one-to-many class="com.contego.arx.domain.Service"/>
</set>
</class>
</hibernate-mapping>