<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
    "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
    "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">

<hibernate-mapping>

    <class name="org.biojavax.SimpleComment" table="anncomment" node="comment" entity-name="Comment">

        <id name="id" type="integer" unsaved-value="null" column="comment_id" node="@id">
            <generator class="native"/>
        </id>

        <property name="rank" node="@rank"/>
        <property name="comment" column="comment_text" type="text"/>
        
    </class>

</hibernate-mapping>