<hibernate-mapping>
- <class name="org.wamblee.security.authorization.AuthorizationService" table="AUTHORIZATION_SERVICE"
+ <class name="org.wamblee.security.authorization.AbstractAuthorizationService" table="AUTHORIZATION_SERVICE"
select-before-update="true">
<id name="primaryKey" column="ID" type="long">
<generator class="native"/>
<list name="mappedRules" table="AUTHORIZATION_SERVICE_RULES" lazy="false" cascade="all-delete-orphan">
<key column="ID"/>
<index column="POSITION"/>
- <many-to-many class="org.wamblee.security.authorization.AuthorizationRule"
+ <many-to-many class="org.wamblee.security.authorization.AbstractAuthorizationRule"
column="RULE_ID"/>
</list>
</subclass>
<query name="findAuthorizationServiceByName">
select service
- from org.wamblee.security.authorization.AuthorizationService service
+ from org.wamblee.security.authorization.AbstractAuthorizationService service
where service.name = :name
</query>