ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Larry Meadors <larry.mead...@gmail.com>
Subject Re: preparation failed "UndeclaredThrowableException"
Date Thu, 18 Aug 2005 12:12:19 GMT
We need more info...can you give us a stack trace? 

Is "item" a type alias?

Larry


On 8/17/05, Warren Bell <warren@clarksnutrition.com> wrote:
> I am getting a preparation falied "UndeclaredThrowableException" when I
> call:
> 
> return (Integer) executeQueryForObject("getTaxable", item);
> 
> The SQL Map is:
> 
>   <select id="getTaxable" parameterClass="item"
> resultClass="java.lang.Integer">
>     SELECT count(1) as value FROM ecrs_v_InventoryMaster, ecrs_TaxMain,
> ecrs_StockInventoryLinkTax WHERE ecrs_v_InventoryMaster.INV_PK =
> ecrs_StockInventoryLinkTax.ILT_INV_FK AND ecrs_v_InventoryMaster.INV_CPK =
> ecrs_StockInventoryLinkTax.ILT_INV_CFK AND
> ecrs_StockInventoryLinkTax.ILT_TAX_FK = ecrs_TaxMain.TAX_PK AND
> ecrs_v_InventoryMaster.INV_ScanCode = #upc:CHAR#
>   </select>
> 
> What am I doing wrong?
> 
> Thanks,
> 
> Warren Bell
> 
> 
>

Mime
View raw message