creating comma seperated string to be given as input to sql “IN” clause

前端 未结 6 1962
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-23 03:18

I want a string to be given as input to the SQL \"IN\" clause,where in i want a list of strings separated by commas

6条回答
  •  粉色の甜心
    2021-01-23 04:02

    You may use org.apache.commons.lang.StringUtils.join() method, or implement join operation yourself.

提交回复
热议问题