Hi,
I am facing a problem with castor unmarshalling/marshalling ..
My mapping file has content as shown
<class name="lmaf.vgp.model.xml.Vgp_val_qfd"
identity="project_seq_id ctq_seq_id vgp_seq_id "
depends="lmaf.vgp.model.xml.Vgp_val_projects"
access="shared"
auto-complete="false">
<map-to table="vgp_val_qfd" />
<cache-type type="none" />
<field name="ctq_seq_id"
type="big-decimal"
get-method="getCtq_seq_id"
set-method="setCtq_seq_id">
<sql name="ctq_seq_id"
type="numeric" />
</field> ... similarly for other fileds in the table...
The table structure is
CTQ_SEQ_ID NUMBER,
IMPORTANCE VARCHAR2(10),
PROJECT_SEQ_ID NUMBER,
VGP_SEQ_ID NUMBER
The key is CTQ_SEQ_ID, PROJECT_SEQ_ID, VGP_SEQ_ID
When I get the filed details xml file the record is repeated for one of the same
element in the key as shown below.
the same record is repeated for a particular field "ctq_seq_id".. This was working
fine until 7/25/2004 .No code changes are made in last 2 months to effect this. the
total number of records fetched is correct.. but the values fetched in mapped to wrong
key.. i.e same key value everytime..
</data-flds>
<fld-key>vgp._vgp_val_qfdList._ctq_seq_id</fld-key>
<fld-val>5792|3432194305792</fld-val>
</data-flds>
<data-flds>
<fld-key>vgp._vgp_val_qfdList._importance</fld-key>
<fld-val>H|3432194305792</fld-val>
</data-flds>
<data-flds>
<fld-key>vgp._vgp_val_qfdList._project_seq_id</fld-key>
<fld-val>19430|3432194305792</fld-val>
</data-flds>
<data-flds>
<fld-key>vgp._vgp_val_qfdList._vgp_seq_id</fld-key>
<fld-val>3432|3432194305792</fld-val>
</data-flds>
Thanks & Regards
Sailesh Karathody
TCS Consultant @ GE Water Technologies
4636 Somerton Road, Trevose, PA 19053
Work Phone : 215-942-3653
Dial comm : 8-218-3653
Email - [EMAIL PROTECTED]
bb>
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user