ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Yee <r...@cruzio.com>
Subject Re: Question using order by
Date Tue, 07 Aug 2007 11:21:44 GMT
What did you do to fix the problem?


davy wrote:
> It works, really thanks a lot Jeff and Richard!
> May I ask why the query (order by, substr) did not work when it is written in the xml
file? Is this a bug in DB2, wrong drivers??
> However I have 1 question, the query works perfectly, but when it displays the information
to the user, my begindate now displays for example (Mon May 14 14:42), in my previous code
(not ibatis) it displays this (2007-05-14 14:42). Now, in my database this is a Timestamp
field, in my code I have written this.
> RowBeheer[i].setBegindate(String.value(beheer2.getBegindate()));
> Is this the problem why my timestamp is not correct displayed 
> (2007-05-14 14:42).

View raw message