Joined: Mon Mar 25, 2013 9:30 pm Posts: 2
|
<?xml version="1.0"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> <!-- Generated 4 Mar, 2013 10:21:58 AM by Hibernate Tools 3.3.0.GA --> <hibernate-mapping>
<class name="com.project.dummy.gwt.shared.tiles.TileConfiguration" table="dummy_TILE_CONFIGURATION"> <id name="tileId" column="TILE_ID"> <generator class="native"/> </id> <property name="title" column="TITLE" /> <property name="type" column="TYPE" /> <property name="imgUrl" column="IMG_URL" /> <!-- <property name="viewConfiguration" column="VIEW_CONFIGURATION_ID" length="1024"/> --> <one-to-one name="gridDashView" class="com.project.dummy.gwt.shared.tiles.grid.GridDashboardTileViewConfiguration" property-ref="tileConfigs" cascade="save-update" constrained="true" ></one-to-one> </class> <class name="com.project.dummy.gwt.shared.tiles.grid.GridDashboardTileViewConfiguration" table="GRID_TILE_VIEW_CON" > <id name="tileId" column="ID"> <generator class="native"/> </id> <many-to-one name="tileConfigs" class="com.project.dummy.gwt.shared.tiles.TileConfiguration" cascade="all" /> <set name="accounts" table="GRID_TILE_VIEW_CONFIG" cascade="all" > <key column="REC_ID" not-null="true" /> <one-to-many class="com.project.dummy.gwt.shared.tiles.grid.GridFieldConfiguration" /> </set> </class> <class name="com.project.dummy.gwt.shared.tiles.grid.GridFieldConfiguration" table="GRID_TILE_VIEW_CONFIG" dynamic-insert="true" dynamic-update="true"> <id name="id"> <generator class="native"/> </id> <property name="length" column="LENGTH" /> <property name="displayFieldId" column="DISPLAY_FIELD_ID" /> <property name="sortId" column="SORT_ID" /> <property name="dataType" column="DATA_TYPE" /> <property name="aggregate" column="Aggregate" /> <property name="stringFormat" column="STRING_FORMAT" /> <list name="stringValues" table="GRID_TILE_VIEW_STRING" > <key column="REC_ID" /> <list-index column="REC_ID2"></list-index> <element column="STRING_VALUE" type="string"></element> </list> </class> </hibernate-mapping>
|
|