最代码广告位
菜鸟慢飞的gravatar头像
菜鸟慢飞2013-05-18 14:35:11

java预编译SQL和参数替换

在实际项目中,日志中有打印这种的情况,就可以用上:select * from dual where id = ? name = ? param=[10000,bill] 我们要变成select * from dual where id = 10000 name = 'bill' ,省去手动替换的时间

最代码广告位

打赏

文件名:psf.rar,文件大小:22K下载
  • /
      • /psf
        • /psf/.classpath
        • /psf/.project
          • /psf/.settings
            • /psf/.settings/org.eclipse.jdt.core.prefs
          • /psf/bin
              • /psf/bin/com
                  • /psf/bin/com/cx
                      • /psf/bin/com/cx/psf
                        • /psf/bin/com/cx/psf/AnalyzeContext.class
                        • /psf/bin/com/cx/psf/AppStart.class
                        • /psf/bin/com/cx/psf/CompileException.class
                        • /psf/bin/com/cx/psf/DefaultParamGhost.class
                        • /psf/bin/com/cx/psf/DefaultSQLCompiler.class
                        • /psf/bin/com/cx/psf/ParamGhost.class
                        • /psf/bin/com/cx/psf/config.properties
顶部客服微信二维码底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友