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 encounterin

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 s

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

2005-08-30 Thread erlend.bjorge
Hi there! >A couple of options: >1) use resultMap instead of resultClass I did think about that, but can you do that ? I did try like this: But, the HashMap now is empty with a null object (size = 1) .. Meaning can't populate the fieldes... As I thought ...

Re: Float value at Oracle

2005-08-30 Thread Renato Silveira
Priyesh, I don't think that this problem could be a driver problem, because using the same driver but creating a query using Statement the problem is solved, by now I'm doing this way. I think the problem is about something with the mapping of Ibatis to Oracle. Anyway, I'll try to change the dri

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

2005-08-30 Thread Larry Meadors
A couple of options: 1) use resultMap instead of resultClass 2) use a bean instead of a Map Using resultClass=Map, you get whatever JDBC sends back - which in this case is a BigInteger. My vote would be to use both a bean and a result map - the behavior is much more predictable, and you'll get

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: The attribute compareProperty would be used to compare against another property... Niels -Original Message- From: Eugeny N Dzhurinsky [mailto:[EMAIL PROTECTED] Sent: dinsdag

IsNotEqual

2005-08-30 Thread Eugeny N Dzhurinsky
I'm trying to execute select * from table test = #test# The thing is if the test property in the object does have value set to -1, the IsNotEqual is appended to the SQL query for some reason. The test property is declared as "int". Any ideas? -- E

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  CODE,  VALUE    from ADMINUSERACCESS     where