Author: dgeraskov
Date: 2008-01-15 10:24:54 -0500 (Tue, 15 Jan 2008)
New Revision: 5712
Added:
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/project/mapping/value/type/collection/map/CollectionMap.hbm.xml
Log:
http://jira.jboss.com/jira/browse/JBIDE-1571
project files
Added:
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/project/mapping/value/type/collection/map/CollectionMap.hbm.xml
===================================================================
---
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/project/mapping/value/type/collection/map/CollectionMap.hbm.xml
(rev 0)
+++
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/project/mapping/value/type/collection/map/CollectionMap.hbm.xml 2008-01-15
15:24:54 UTC (rev 5712)
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
3.0//EN"
+"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<hibernate-mapping package="mapping.value.type.collection.map">
+ <class name="CollectionMap" table="COLLECTION_MAPS">
+ <id name="id" column="ID" />
+ <map name="items" table="COLLECTION_MAP_ITEMS">
+ <key column="COLLECTION_MAP_ID" />
+ <map-key column="COLLECTION_MAP_ITEM_KEY" type="integer" />
+ <element column="COLLECTION_MAP_ITEM"
type="character"></element>
+ </map>
+ <map name="itemsOfClass"
+ table="COLLECTION_MAP_ITEMS_OF_CLASS">
+ <key column="COLLECTION_MAP_ID" />
+ <map-key column="COLLECTION_MAP_ITEM_KEY" type="integer" />
+ <one-to-many class="CollectionMapItem" />
+ </map>
+ <map name="itemsMany" table="COLLECTION_MAP_ITEMS_MANY">
+ <key column="COLLECTION_MAP_ID1" />
+ <map-key-many-to-many class="CollectionMapMany">
+ <column name="COLLECTION_MAP_ID" />
+ <column name="COLLECTION_MAP_ITEM_ID" />
+ </map-key-many-to-many>
+ <many-to-many class="CollectionMapItem" column="xxxx" />
+ </map>
+ </class>
+</hibernate-mapping>
\ No newline at end of file
Property changes on:
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/project/mapping/value/type/collection/map/CollectionMap.hbm.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml