RptDACDataSource.hbm.xml 1.12 KB
Newer Older
Comune di Salerno's avatar
Comune di Salerno committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 2.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd">
<hibernate-mapping>
  <class name="it.saga.library.reports.RptDACDataSource" table="RPT_DATA_SOURCES">
    <id name="pkid" type="long" column="pkid">
      <generator class="native">
        <param name="sequence">seq_rpt_data_sources</param>
      </generator>
    </id>
    <property  column="app_prefix"        name="appPrefix"       type="string" length="3"   not-null="true"/>
    <property  column="name"              name="name"            type="string" length="200" not-null="true"/>
    <property  column="description"       name="description"     type="string" length="500" not-null="true"/>
    <property  column="parameters_class"  name="parametersClass" type="string" length="200" not-null="true"/>
    <property  column="data_source_class" name="dataSourceClass" type="string" length="200" not-null="true"/>
    <property  column="data_result_class" name="dataResultClass" type="string" length="200" not-null="true"/>
  </class>
</hibernate-mapping>