title: I want to get the file name stored in database to the jTable
body: <p>I have linked the jTable with my sql database successfully. All the data in the database table are shown in the jTable. But under the columns <strong>DocumentFile</strong> and <strong>Photo</strong> in the jTable some codes are shown instead of their names. <strong>I want to get the relevant document name and photo name stored in sql database instead of those codes.</strong></p>
  
  <p>Heres part of my code that consists of the query...</p>
  
  <pre><code>public ViewAccounts() {
          initComponents();
          ViewTable();
      }
  
       private void ViewTable(){
          DBConnection db = new DBConnection();
  
          try{
  
              query = "SELECT * FROM tourClient";
  
              PreparedStatement stm = db.getconn().prepareStatement(query);
              rs = stm.executeQuery();
              View_Table.setModel(DbUtils.resultSetToTableModel(rs));
  
          }catch(Exception e){
  
              JOptionPane.showMessageDialog(null, e);
          }
  
  
      }
  </code></pre>
  
  <p>I cannot upload a pic here, they wont allow me to since i have less reputation. </p>
  
  <p>Heres what I have in my table tourClient.</p>
  
  <p>ClientID,Name,Age,Nationality,Address,Email,PhoneNo,PassportNo,InsuaranceNo,FoodReq,HealthReq,NextOfKin,DocumentFile,Photo</p>
  
  <p>They all work fine except for document and photo which shows some codes</p>