我想在准备好的语句中添加一个变量,然后
String Query = "SELECT count(*) count from apps.fnd_user fu where "
+ "UPPER(fu.user_name) like 'ADMIN_ ||:1||' ";
PreparedStatement stmt = conn.prepareStatement(Query);
stmt.setString(1, CompanyName);
但是这个错误正在显示。对此错误的任何修复.....我可以在准备语句时使用管道连接吗?