emmanuel wrote:
give some info (DB, code etc, read the red banner)
here is the o/r mapping file
<?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="com.neosoft.logistics.persistent.customer.vo.Goods" table="B_GOODS" dynamic-update="true">
<id name="pkid" unsaved-value="null">
<column name="PKID" not-null="true"/>
<generator class="sequence">
<param name="sequence">SEQ_B_GOODS</param>
</generator>
</id>
<property name="goodsNO" column="GOODSNO"/>
<property name="goodsName" column="GOODSNAME"/>
<property name="color" column="COLOR"/>
<property name="hostNO" column="HOSTNO"/>
<property name="selfCode" column="SELFCODE"/>
<property name="codeUnitNO" column="CODE_UNITNO"/>
<property name="codeUnitName" column="CODE_UNITNAME"/>
<property name="codeHighTypeNO" column="CODE_HIGHTYPENO"/>
<property name="codeHighTypeName" column="CODE_HIGHTYPENAME"/>
<property name="codeCategoryNO" column="CODE_CATEGORYNO"/>
<property name="codeCategoryName" column="CODE_CATEGORYNAME"/>
<property name="codeBrandNO" column="BRANDNO"/>
<property name="codeBrandName" column="BRANDNAME"/>
<property name="codeSpecNO" column="SPECNO"/>
<property name="codeSpecName" column="SPECNAME"/>
<property name="typeNO" column="TYPENO"/>
<property name="typeName" column="TYPENAME"/>
<property name="unitWeight" column="UNITWEIGHT"/>
<property name="weight" column="WEIGHT"/>
<property name="innerVolum" column="INNERVOLUM"/>
<property name="bottomArea" column="BOTTOMAREA"/>
<property name="goodsLength" column="GLONG"/>
<property name="goodsWidth" column="GWIDTH"/>
<property name="goodsHeight" column="GHEIGHT"/>
<property name="outerWeight" column="OUTERWEIGHT"/>
<property name="outerVolum" column="OUTERVOLUM"/>
<property name="outerLength" column="OUTERLENGTH"/>
<property name="outerWidth" column="OUTERWIDTH"/>
<property name="outerHeight" column="OUTERHEIGHT"/>
<property name="tubingWeight" column="TUBINGWEIGHT"/>
<property name="tubingLength" column="TUBINGLENGTH"/>
<property name="tubingWidth" column="TUBINGWIDTH"/>
<property name="tubingHeight" column="TUBINGHEIGHT"/>
<property name="barQuantity" column="BARQUANTITY"/>
<property name="barPosition" column="BARPOSITION"/>
<property name="barcode" column="BARCODE"/>
<property name="codePackageNO" column="CODE_PACKAGENO"/>
<property name="shape" column="SHAPE"/>
<property name="ucode" column="UCODE"/>
<property name="keepterm" column="KEEPTERM"/>
<property name="containerNum" column="CONTAINERNUM"/>
<property name="gradeNO" column="GRADENO"/>
<property name="safeStockMin" column="SAFESTOCKSMIN"/>
<property name="safeStockMax" column="SAFESTOCKSMAX"/>
<property name="codeTypeNO" column="CODE_TYPENO"/>
<property name="superGoodsNO" column="SUPERGNO "/>
<property name="amount" column="AMOUNT"/>
<property name="disabledDate" column="DISABLEDDATE"/>
<property name="status" column="STATUS"/>
<property name="remark" column="REMARK"/>
<property name="userNO" column="USERNO"/>
<property name="maintainDate" column="MAINTAINDATE"/>
<property name="recordType" column="RECORDTYPE"/>
</class>
</hibernate-mapping>