1. #,$井号和美元符号
假如有下述语句:
select * from etl.job where job_nm = '$value$' and job_st = #value#
$符号中的内容直接以字符串形式被替换,如传入值为AP
select * from etl.job where job_nm = 'AP' and job_st = ?
而#中的内容会以setParameter方式被赋值
1. #,$井号和美元符号
假如有下述语句:
select * from etl.job where job_nm = '$value$' and job_st = #value#
$符号中的内容直接以字符串形式被替换,如传入值为AP
select * from etl.job where job_nm = 'AP' and job_st = ?
而#中的内容会以setParameter方式被赋值