我试图用java.text.MessageFormat来做一个简单的逻辑:"{0,choice, 1<hello|5<{1,java.lang.IllegalArgumentException: Choice Pattern incorrect: 1<hello|5<{1,choice,1<more than one|4<more than four}
at java.text.MessageFormat</
我希望使用MessageFormat生成SQL,以便许多用户可以使用相同的字符串,并且他们只需传递where子句参数。例如,我想要select * from user where name='John‘和age=15 and area='JStreet’
我可以使用MessageFormat.format(select