---
title: "通用数据库开发组件(一)－－0516"
author: "winzenghua"
date: "2005-05-20T14:38:00Z"
tags: []
slug: "0516"
draft: false
lastmod: "2005-05-20T14:38:00Z"
id: 988155
url: "https://java4gis.iteye.com/blog/988155"
---

PreparedStatement的对象不能用带参数的executeQuery(sql)，却能用不带参数的executeQuery().

Statement的对象才能用executeQuery()