ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Kriesten <jan.kries...@renitence.de>
Subject String-Manipulation
Date Wed, 07 Nov 2007 13:13:27 GMT


is it possible to do some String manipulation within sqlMap?

I want to create a generalized filter statement, which e.g. can handle
date-comparisons. As to do so, I need to know what type of comparision should be

Given a parameter 'fromPublished' I would have to compare values >= field
'Published'. What I need is to a) to compare 'startsWith( "from" )' and b)
extract the requested field 'Published'.

Or is there a smarter way of doing this?

Best regards, --- Jan.

View raw message