<?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="ObjectPermission"
            class="org.apache.roller.weblogger.pojos.ObjectPermission" access="PROPERTY">
        <table name="roller_permission"/>
        <inheritance />
        <discriminator-column name="objecttype" />
        <attributes>
            <id name="id">
                <column name="id"/>
            </id>
            <basic name="objectId">
                <column name="objectid"/>
            </basic>
            <!-- <basic name="objectType">
                <column name="objecttype"/>
            </basic> -->
            <basic name="userName">
                <column name="username"/>
            </basic>
            <basic name="actions">
                <column name="actions"/>
            </basic>
            <basic name="pending">
                <column name="pending"/>
            </basic>
            <basic name="dateCreated">
                <column name="datecreated"/>
                <temporal>DATE</temporal>
            </basic>
        </attributes>
    </entity>
</entity-mappings>
