ibatis-user-cs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Heath, Douglas T" <douglas.t.he...@ttu.edu>
Subject RE: Long/int not working
Date Fri, 11 Feb 2005 21:53:34 GMT
I fixed the int and long problem, but I still can't get timestamp to
search correctly. I fixed the first two by going to the most recent
version of ibatis in svn. 
 
I added parameterClass="PAF_ACTION_CT_MAIN", and that didn't work. 
 
I tried the literal syntax on the timestamp, but haven't gotten it to
work. I've even added a property called SQLTimestamp to return a
definitely-formatted-correctly SQL datetime, but I can't make it work. 
 
Any ideas?
 
Thanks!
Terry

________________________________

From: roberto [mailto:roberto@theaegis.org] 
Sent: Friday, February 11, 2005 3:00 PM
To: ibatis-user-cs@incubator.apache.org
Subject: RE: Long/int not working



Terry, 

 

The .vb files got deleted, but the SqlMap xml file got through.

 

Anyway, just for clarification, using
parameterClass="PAF_ACTION_CT_MAIN" doesn't work?

 

Also, what database and provider are you using?

 

Can you try the literal syntax ($ActionCTId$ instead of #ActionCTId#)?

 

Roberto

 

 

-----Original Message-----
From: Heath, Douglas T [mailto:douglas.t.heath@ttu.edu] 
Sent: Friday, February 11, 2005 1:12 PM
To: ibatis-user-cs@incubator.apache.org
Subject: RE: Long/int not working

 

Ok, I set that, but still no luck. One thing that I don't know if I
pointed out is that it _does_ work for string elements, but not int/long
or datetime. I've attached the xml and related classes.

 

The only thing that doesn't work is the search. 

 

Thanks in advance!

Terry

 

________________________________

From: roberto [mailto:roberto@theaegis.org] 
Sent: Thursday, February 10, 2005 12:26 PM
To: ibatis-user-cs@incubator.apache.org
Subject: RE: Long/int not working

Doh!  Sorry, I meant:

 

<select id="PAF_ACTION_CT_MAINSearch"
resultMap="PAF_ACTION_CT_MAINResult"
parameterClass="yourClassNameTypeAlias_Or_FullNamespaceAndAssembly"> 

 

...needs to be added as an attribute of your select element.

 

Roberto

 

 


Mime
View raw message