<!-- NOTE: If you're working offline, you might have to change the DOCTYPE to the following:
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
    "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">-->
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
    "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">

<hibernate-configuration>
  <session-factory>
        <mapping class="org.appfuse.model.User"/>
        <mapping class="org.appfuse.model.Role"/>
        <mapping class="wissolsoft.porada.webapp.model.Law"/>
        <mapping class="wissolsoft.porada.webapp.model.UserVote"/>
    </session-factory>
</hibernate-configuration>
<!-- NOTE: If you're working offline, you might have to change the DOCTYPE to the following:
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
    "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">-->
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
    "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">

<hibernate-configuration>
  <session-factory>
        <mapping class="org.appfuse.model.User"/>
        <mapping class="org.appfuse.model.Role"/>
        <mapping class="wissolsoft.porada.webapp.model.Law"/>
        <mapping class="wissolsoft.porada.webapp.model.Deputy"/>
        <mapping class="wissolsoft.porada.webapp.model.UserVote"/>
        <mapping class="wissolsoft.porada.webapp.model.DeputyVote"/>
    </session-factory>
</hibernate-configuration>
Add Deputy and DeputyVote entities to hibernate mapping
Add Deputy and DeputyVote entities to hibernate mapping