In Jdbc when i view record from table I get varible some value one and varible some value wo not the value itself
**hey!
I have make java data base connectivity and here is my code.My problem is that when i view the record from database ie select * from recordtbl; then I dont get the values that must come in these variable Varible Filename =somevalue1;
variable checksumno =somevalue two;
``plz help me** 

    enter code here

**package md5IntegrityCheck;
import java.sql.*;
import java.io.UnsupportedEncodingException;
import java.security.NoSuchAlgorithmException;


public class MD5IntegrityCheck
{
  public static void main(String[] args)
    throws UnsupportedEncodingException, NoSuchAlgorithmException
  {
	  
	  
	  Connection con=null;
	  PreparedStatement pst=null;
	  
	   try
	    {
		   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");	
		 	con = DriverManager.getConnection("jdbc:odbc:recordtbl","scott","tiger");
	      System.out.println("Step 1");
	      System.out.println(con.isClosed());
	      
	      
		  
		  
		  // get the file name here and store it in filename variable;
		
		
	      String filename="somevalueone ";
		  String chksumno="somevaluetwo";
		  
		  
		  
		  System.out.println("Step 2");
		  pst=con.prepareStatement("insert into recordtbl values(?,?)");
		  //System.out.println(pst.isClosed());
		  System.out.println("Step3");
		  pst.setString(1,filename);
		  System.out.println("Step 4");
		  pst.setString(2,chksumno);
		  System.out.println("Step 5");
		  pst.execute();
		  System.out.println("Statement was EXECUTED!");
	  } 
	  catch(Exception e)
	    {
	     System.out.println("ERROR : "+e);
	    }

	  
    if (args.length <= 0)
    {
      Md5Gui gui = new Md5Gui();
      gui.runGui();
    }
    else
    {
      DoWork runningProgram = new DoWork();
      runningProgram.run(args);
    }
  }
}**
In Jdbc when i view record from table I get varible some value one and varible some value wo not the value itself
===

**hey!
I have make java data base connectivity and here is my code.My problem is that when i view the record from database ie select * from recordtbl; then I dont get the values that must come in these variable Varible Filename =somevalue1;
variable checksumno =somevalue two;
``plz help me** 

    enter code here

**package md5IntegrityCheck;
import java.sql.*;
import java.io.UnsupportedEncodingException;
import java.security.NoSuchAlgorithmException;


public class MD5IntegrityCheck
{
  public static void main(String[] args)
    throws UnsupportedEncodingException, NoSuchAlgorithmException
  {
	  
	  
	  Connection con=null;
	  PreparedStatement pst=null;
	  
	   try
	    {
		   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");	
		 	con = DriverManager.getConnection("jdbc:odbc:recordtbl","scott","tiger");
	      System.out.println("Step 1");
	      System.out.println(con.isClosed());
	      
	      
		  
		  
		  // get the file name here and store it in filename variable;
		
		
	      String filename="somevalueone ";
		  String chksumno="somevaluetwo";
		  
		  
		  
		  System.out.println("Step 2");
		  pst=con.prepareStatement("insert into recordtbl values(?,?)");
		  //System.out.println(pst.isClosed());
		  System.out.println("Step3");
		  pst.setString(1,filename);
		  System.out.println("Step 4");
		  pst.setString(2,chksumno);
		  System.out.println("Step 5");
		  pst.execute();
		  System.out.println("Statement was EXECUTED!");
	  } 
	  catch(Exception e)
	    {
	     System.out.println("ERROR : "+e);
	    }

	  
    if (args.length <= 0)
    {
      Md5Gui gui = new Md5Gui();
      gui.runGui();
    }
    else
    {
      DoWork runningProgram = new DoWork();
      runningProgram.run(args);
    }
  }
}**