Rev 1860 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1860 | Rev 1918 | ||
---|---|---|---|
Line 36... | Line 36... | ||
36 | <property name="description" type="string"> |
36 | <property name="description" type="string"> |
37 | <column name="description" sql-type="TEXT"/> |
37 | <column name="description" sql-type="TEXT"/> |
38 | </property> |
38 | </property> |
39 | <property name="accessPolicyClass" type="string"/> |
39 | <property name="accessPolicyClass" type="string"/> |
40 | <property name="slug" type="string"/> |
40 | <property name="slug" type="string"/> |
41 | <property name="path" type="string" unique="true"> |
41 | <property name="path" type="string"> |
42 | <column name="path" sql-type="TEXT, add UNIQUE pathIndex(path(512))"/> |
42 | <column name="path" sql-type="TEXT"/> |
43 | </property> |
43 | </property> |
44 | <many-to-one name="owner" class="pt.estgp.estgweb.domain.GenericUser" lazy="proxy" outer-join="false"/> |
44 | <many-to-one name="owner" class="pt.estgp.estgweb.domain.GenericUser" lazy="proxy" outer-join="false"/> |
45 | <many-to-one name="parent" class="pt.estgp.estgweb.domain.PageSection" lazy="proxy" outer-join="false"> |
45 | <many-to-one name="parent" class="pt.estgp.estgweb.domain.PageSection" lazy="proxy" outer-join="false"> |
46 | <column name="parentId"/> |
46 | <column name="parentId"/> |
47 | </many-to-one> |
47 | </many-to-one> |