c43c0a831047f071173b440c3d2b1c7810e13b15
[utils] /
1 <?xml version="1.0"?>
2 <!DOCTYPE hibernate-mapping PUBLIC
3     "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
4     "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
5     
6     <hibernate-mapping>
7         
8         <class name="org.wamblee.security.authorization.PathCondition" table="PATH_CONDITIONS" 
9                select-before-update="true"
10                lazy="false">
11             <id name="primaryKey" column="ID" type="long">
12                 <generator class="native"/>
13             </id>
14             <discriminator column="TYPE" type="string"/>
15             <version name="persistedVersion" column="VERSION"/>
16             
17             <subclass name="org.wamblee.security.authorization.RegexpPathCondition"
18                 discriminator-value="REGEXP"
19                 lazy="false">
20                 <property name="pattern" column="PATTERN"/>
21                 
22                 <subclass name="org.wamblee.security.authorization.StartsWithPathCondition"
23                     discriminator-value="STARTS_WITH"
24                     lazy="false">
25                 </subclass>
26                 
27             </subclass>
28             
29         </class>
30         
31         
32     </hibernate-mapping>