Windfarm.hbm.xml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. <!--
  5. Mapping file autogenerated by MyEclipse - Hibernate Tools
  6. -->
  7. <hibernate-mapping>
  8. <class name="inbasis.domain.windfarm.Windfarm" table="windfarm">
  9. <id name="id" type="java.lang.Long">
  10. <column name="ID" precision="22" scale="0" />
  11. <generator class="assigned" />
  12. </id>
  13. <property name="wfnum" type="java.lang.Long">
  14. <column name="WFNUM" length="28" not-null="true" />
  15. </property>
  16. <property name="ownercomp" type="java.lang.String">
  17. <column name="OWNERCOMP" length="50" />
  18. </property>
  19. <property name="wfname" type="java.lang.String">
  20. <column name="WFNAME" length="50" not-null="true" />
  21. </property>
  22. <property name="wfshortname" type="java.lang.String">
  23. <column name="WFSHORTNAME" length="20" not-null="true" />
  24. </property>
  25. <property name="compaddress" type="java.lang.String">
  26. <column name="COMPADDRESS" length="500" />
  27. </property>
  28. <property name="comptel" type="java.lang.String">
  29. <column name="COMPTEL" length="50" />
  30. </property>
  31. <property name="compemail" type="java.lang.String">
  32. <column name="COMPEMAIL" length="50" />
  33. </property>
  34. <property name="deptnum" type="java.lang.String">
  35. <column name="DEPTNUM" length="18" not-null="true" />
  36. </property>
  37. <property name="anothername" type="java.lang.String">
  38. <column name="ANOTHERNAME" length="18" not-null="true" />
  39. </property>
  40. <property name="location" type="java.lang.String">
  41. <column name="LOCATION" length="36" not-null="true" />
  42. </property>
  43. <property name="compname" type="java.lang.String">
  44. <column name="COMPNAME" length="50" />
  45. </property>
  46. <property name="wfname2" type="java.lang.String">
  47. <column name="WFNAME2" length="50" />
  48. </property>
  49. <property name="wfname3" type="java.lang.String">
  50. <column name="WFNAME3" length="50" />
  51. </property>
  52. <property name="wpid" type="java.lang.String">
  53. <column name="WPID" length="50" />
  54. </property>
  55. </class>
  56. </hibernate-mapping>