Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

extend Data to implement criteriaFind()

 
Daniela Ch
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
nah...forget it...
The String parameter of the crieriaFind() should already be parsed to contain the " ' " around the values...
/Daniela
[ December 19, 2002: Message edited by: Daniela Ch ]
 
Andrea Gazzarini
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Daniela,
in my implementation the criteria is an objects containing the search constraints. Before invoke the toString method on the criteria object, I replace the ' with a � character.
Hope it helps.
 
Daniela Ch
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Andrea,
Why do you need to do this? replacing the ' with a �? anyways, I made it very simple, in my criteriaFind methode i do two operations. The first one work on formatting the criteria string and the other one do the search in the records...
I worked hard on the algos, short and neat...
/Daniela
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic