commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Kitching <si...@ecnetwork.co.nz>
Subject Re: [digester] parser mismatch
Date Thu, 22 Jan 2004 22:55:40 GMT
On Fri, 2004-01-23 at 10:50, saeed wrote:
> Hi,
> 
> I am geting no match for this query when i use [digester] class to get the map 
> for the entry. Even thogh i see the map is correctly have the query string.
> 
> I wonder do i need to use any other tag in my xml?
> 
> 
> Thanks!
> 
> P.S.
> 
> I also have used the <![CDATA[ as:
> 
> <resultset>
> 		<query><![CDATA[
> 			SELECT rate_int_fcst FROM 
> @prepaydata.db.schema@.int_rate_projtn_hst_rstd WHERE cd_int_rate_type>3 and 
> dt_amtn_eff<1
> 		]]></query>
> 		<sheet>Sheet3</sheet>
> </resultset>
> 
> 
> 
> This is my xml file entry.
> <resultset>
> 		<query>
> 			insert into dev1.amtn_otpt_det_hst
> 			(DT_AMTN_EFF,CD_FEE,CD_FEE_ADJMT,CD_DIV,ID_COLLAT,
> 			CD_SCEN,NBR_PER_SEQ,AMT_PI_CF,AMT_UPB,AMT_INT_STTD,
> 		
> 	AMT_INT_INCM,AMT_BAL_UNAM,AMT_CARRYG,DT_SRCE_BEG,DT_SRCE_END,
> 			DT_LST_UPDT,FLAG_DEL,NBR_BATCH) 
> 			values(?,?,?,?,?,
> 			       ?,?,?,?,?,
> 			       ?,?,?,current timestamp,'9999-01-01-00.00.00.00',
> 			       current timestamp,'N',1) 
> 		</query>
> 		<sheet>Details</sheet>
> 	</resultset>
> 

What are the rules you are using?

eg digester.addObjectCreate("....", ????);
   digester.add......




---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message