Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by mooxie

  1. mooxie

    What pattern would solve this challenge

    Well, what about generating a query like SELECT * FROM some_table WHERE 1 AND ... AND ... AND ... etc.. like so: StringBuffer buffer = new StringBuffer(); buffer.append("select * from some_table WHERE 1 "); if(Util.textHasContent(query.getField1())) { buffer.append("AND...

Part and Inventory Search

Back
Top