Commit 862e5790 authored by manohar's avatar manohar

work order amendment prepared statment instead of statement


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92350 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 924ecfed
......@@ -137,7 +137,7 @@ public class WorkOrderAmd extends ValidatorEJB implements WorkOrderAmdLocal, W
{
siteCode = getColumnValue("site_code",dom);
siteCode = siteCode == null ? "" : siteCode;
sql = "Select count(*) from site where site_code = ?;
sql = "Select count(*) from site where site_code = ?";
pstmt= conn.prepareStatement(sql);
pstmt.setString(1,siteCode);
rs = pstmt.executeQuery();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment