<?xml version="1.0" encoding="UTF-8"?>
<entity-mappings version="2.0" xmlns="http://java.sun.com/xml/ns/persistence/orm"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_2_0.xsd">

    <package>org.apache.roller.weblogger.pojos</package>
    <entity metadata-complete="true" name="PingTarget"
            class="org.apache.roller.weblogger.pojos.PingTarget" access="PROPERTY">
        <table name="pingtarget"/>
        <named-query name="PingTarget.getPingTargetsOrderByName">
            <query>SELECT p FROM PingTarget p ORDER BY p.name</query>
        </named-query>
        <attributes>
            <id name="id">
                <column name="id"/>
            </id>
            <basic name="name">
                <column name="name" insertable="true" updatable="true" unique="false"/>
            </basic>
            <basic name="pingUrl">
                <column name="pingurl" insertable="true" updatable="true" unique="false"/>
            </basic>
            <basic name="conditionCode">
                <column name="conditioncode" insertable="true" updatable="true" unique="false"/>
            </basic>
            <basic name="lastSuccess">
                <column name="lastsuccess" insertable="true" updatable="true" unique="false"/>
            </basic>
            <basic name="autoEnabled">
                <column name="autoenabled" insertable="true" updatable="true" unique="false"/>
            </basic>
        </attributes>
    </entity>
</entity-mappings>
