Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 25th, 2011  |  syntax: XML  |  size: 1.08 KB  |  hits: 43  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?xml version="1.0"?>
  2. <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
  3. "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
  4. <!-- Generated 25.05.2011 12:04:18 by Hibernate Tools 3.4.0.CR1 -->
  5. <hibernate-mapping>
  6.     <class name="com.tvkava.shared.model.Telekanal" table="telekanal">
  7.         <id name="t_id" type="long">
  8.             <column name="t_id" />
  9.             <generator class="sequence">
  10.             <param name="sequence">telekanal_t_id_seq</param>
  11.             </generator>
  12.         </id>
  13.         <property name="nimetus" type="java.lang.String">
  14.             <column name="nimetus" />
  15.         </property>
  16.         <property name="kirjeldus" type="java.lang.String">
  17.             <column name="kirjeldus" />
  18.         </property>
  19.         <list name="programmid" inverse="false" table="programm" lazy="true">
  20.             <key>
  21.                 <column name="t_id" />
  22.             </key>
  23.             <list-index></list-index>
  24.             <one-to-many class="com.tvkava.shared.model.Programm" />
  25.         </list>
  26.     </class>
  27. </hibernate-mapping>