Commit 616b6481 authored by dhirajchavan's avatar dhirajchavan

Added single quotes into dual table query


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@101794 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 0955dfa8
......@@ -3395,7 +3395,7 @@ public class StockTransferConf extends ActionHandlerEJB implements StockTransfer
String SiteCode1="";
String ItemCode1="";
System.out.println("inside 2nd if locUdf *********");
sql = "select " + locUdf + "(" + locationCode + ") from dual";
sql = "select " + locUdf + "('" + locationCode + "') from dual";//Added single quotes by dhiraj chavan on 8-june-2016
pstmt = conn.prepareStatement(sql);
//loc = rs.getString(1);
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