<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
	"https://hibernate.org/dtd/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
    
    <query name="updateByRoleId">
        <![CDATA[
            UPDATE RoleCtlg
            SET 
                activeStatus = :activeStatus,
                lastUpdatedBy = :lastUpdatedBy,
                lastUpdatedOn = :lastUpdatedOn
            WHERE
                id = :id
        ]]>
    </query>
    
    <query name="findAllRoles">
        <![CDATA[
            SELECT 
                r
            FROM RoleCtlg r
            WHERE
                activeStatus = :activeStatus
        ]]>
    </query>
    
</hibernate-mapping>