Line | |
---|
1 | <?xml version="1.0"?> |
---|
2 | <!-- |
---|
3 | $Id: RoleKeys.hbm.xml 4429 2013-03-06 08:57:34Z olle $ |
---|
4 | |
---|
5 | Copyright (C) 2006 Gregory Vincic, Olle Mansson |
---|
6 | Copyright (C) 2007 Gregory Vincic |
---|
7 | |
---|
8 | This file is part of Proteios. |
---|
9 | Available at http://www.proteios.org/ |
---|
10 | |
---|
11 | Proteios is free software; you can redistribute it and/or modify it |
---|
12 | under the terms of the GNU General Public License as published by |
---|
13 | the Free Software Foundation; either version 2 of the License, or |
---|
14 | (at your option) any later version. |
---|
15 | |
---|
16 | Proteios is distributed in the hope that it will be useful, but |
---|
17 | WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
18 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
19 | General Public License for more details. |
---|
20 | |
---|
21 | You should have received a copy of the GNU General Public License |
---|
22 | along with this program; if not, write to the Free Software |
---|
23 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA |
---|
24 | 02111-1307, USA. |
---|
25 | --> |
---|
26 | <!DOCTYPE hibernate-mapping PUBLIC |
---|
27 | "-//Hibernate/Hibernate Mapping DTD 3.0//EN" |
---|
28 | "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd"> |
---|
29 | |
---|
30 | <hibernate-mapping> |
---|
31 | <class |
---|
32 | name="org.proteios.core.data.keyring.RoleKeys" |
---|
33 | table="`RoleKeys`" |
---|
34 | mutable="false" |
---|
35 | lazy="false" |
---|
36 | > |
---|
37 | <composite-id> |
---|
38 | <key-property |
---|
39 | name="roleId" |
---|
40 | column="`role_id`" |
---|
41 | type="int" |
---|
42 | access="property" |
---|
43 | /> |
---|
44 | <key-property |
---|
45 | name="keyId" |
---|
46 | column="`key_id`" |
---|
47 | type="int" |
---|
48 | access="property" |
---|
49 | /> |
---|
50 | </composite-id> |
---|
51 | <property |
---|
52 | name="permission" |
---|
53 | column="`permission`" |
---|
54 | type="int" |
---|
55 | not-null="true" |
---|
56 | access="property" |
---|
57 | /> |
---|
58 | </class> |
---|
59 | </hibernate-mapping> |
---|
Note: See
TracBrowser
for help on using the repository browser.