<query id="getSession" action="select">
    <tables>
        <table name="session" />
    </tables>
    <columns>
        <column name="*" />
    </columns>
    <conditions>
        <condition operation="equal" column="session_key" var="session_key" notnull="notnull" />
    </conditions>
</query>
