How to force Integer instead BigDecimal with queryForMap for the value part ?

2005-08-30 Thread erlend.bjorge
Title: Melding Hi there! I have a queryForMap like this: HashMap codes = (HashMap) sqlMap.queryForMap("retrieveAdminUserAccessCodes","testUser", "CODE", "VALUE")); And the query like this: select id="retrieveAdminUserAccessCodes" resultClass="java.util.HashMap"

RE: IsNotEqual

2005-08-30 Thread Niels Beekman
You need to choose between compareProperty or compareValue... What you are trying to do requires the following: IsNotEqual prepend= OR property=test compareValue=-1/ The attribute compareProperty would be used to compare against another property... Niels -Original Message- From:

cacheModel configuration

2005-08-30 Thread H.E. Sum
Does anyone know how to reference a statement in another mapping file for the flushOnExecute property? I tried prepending the namespace and IBatis can't seem to find the statement. Thanks __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best

Re: TypeHandlerCallback doesn't work as expected

2005-08-30 Thread Clinton Begin
I'd imagine that this behaviour is entirely as expected. If there's no results, then getResult isn't called...makes sense. There's a feature request in JIRA about gaining access to metadata...no ETA though... Cheers, Clinton On 8/26/05, Mirek Kopriva [EMAIL PROTECTED] wrote: Hi,I'm encountering