source: trunk/api/core/src/org/proteios/core/data/keyring/UserGroups.hbm.xml @ 4429

Last change on this file since 4429 was 4429, checked in by olle, 11 years ago

Refs #786. Following BASE update in change set [5476] in BASE Ticket #1489, URL:s to DTD:s used in various Hibernate mappings files are changed as described in http://opensource.atlassian.com/projects/hibernate/browse/HHH-5485 (http://hibernate.sourceforge.net/*.dtd should be exchanged for http://www.hibernate.org/dtd/*.dtd).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id Date
File size: 1.4 KB
Line 
1<?xml version="1.0"?>
2<!--
3  $Id: UserGroups.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.UserGroups"
33    table="`UserGroups`"
34    mutable="false"
35    lazy="false"
36  >
37    <composite-id>
38      <key-property
39        name="userId"
40        column="`user_id`"
41        type="int"
42        access="property"
43      />
44      <key-property
45        name="groupId"
46        column="`group_id`"
47        type="int"
48        access="property"
49      />
50    </composite-id>
51  </class>
52</hibernate-mapping>
Note: See TracBrowser for help on using the repository browser.