public static void loadSchema(Connection conn,int rowsToInsert,PrintWriter pw)	 {
		 int insertsRemaining = rowsToInsert;
		 PreparedStatement ps=null;

		 try {
			ps = conn.prepareStatement("insert into SAMPLETBL (t_int, t_char,t_float,t_key) values (?,?,?,?)");
			// Insert one row at a time
			while (insertsRemaining-- >= 0)	{
				 int numInserts = insertRow(ps);
				 if (numInserts != 1)
					pw.println("[NsSampleWork] Failed to insert row.");
			 }
		 } catch (Exception e) {
			 pw.println("[NsSampleWork] Error when loading schema; exception is "+ e);
			 e.printStackTrace();
		   } finally {
			  try {
			   	if(ps != null)
				  ps.close();
			  } catch (Exception e) {
				  e.printStackTrace();
			    }
		     }
	 }//end of method loadSchema()