2 <!DOCTYPE hibernate-mapping PUBLIC
3 "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
4 "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
8 <class name="org.wamblee.security.authorization.PathCondition" table="PATH_CONDITIONS"
9 select-before-update="true"
11 <id name="primaryKey" column="ID" type="long">
12 <generator class="native"/>
14 <discriminator column="TYPE" type="string"/>
15 <version name="persistedVersion" column="VERSION"/>
17 <subclass name="org.wamblee.security.authorization.RegexpPathCondition"
18 discriminator-value="REGEXP"
20 <property name="pattern" column="PATTERN"/>
22 <subclass name="org.wamblee.security.authorization.StartsWithPathCondition"
23 discriminator-value="STARTS_WITH"