Commit fa3a858e authored by mkhan's avatar mkhan

alter resultset and paremaredStatement


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@91144 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 60c77447
......@@ -626,7 +626,8 @@ public class FullFinalAct extends ActionHandlerEJB implements FullFinalActLocal,
log.write("sqlStr..:: " + sqlStr);
stmt = conn.prepareStatement( sqlStr );
rsMain = stmt.executeQuery(sqlStr);
//rsMain = stmt.executeQuery(sqlStr); changes on 31/08/09 by manazir
rsMain = stmt.executeQuery();
while( rsMain.next() )
{
adCode = rsMain.getString( "AD_CODE" );
......@@ -659,7 +660,7 @@ public class FullFinalAct extends ActionHandlerEJB implements FullFinalActLocal,
rs = stmt1.executeQuery( );
//stmt1 = conn.createStatement();
rs = stmt1.executeQuery( );
// rs = stmt1.executeQuery( ); changes on 31/08/09 by manazir
if( rs.next() )
{
amount = rs.getDouble("AMOUNT");
......
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