Module fr.myny.gui

Class DataBaseTest

java.lang.Object
fr.myny.database.DataBaseTest

class DataBaseTest
extends java.lang.Object
  • Field Summary

    Fields
    Modifier and Type Field Description
    static java.lang.String FILEPATH  
    (package private) java.sql.Connection maCo  
  • Constructor Summary

    Constructors
    Constructor Description
    DataBaseTest()  
  • Method Summary

    Modifier and Type Method Description
    (package private) void createTable()  
    void dropTable()  
    (package private) void fillDataBase()  
    (package private) void getConnection()  
    (package private) void importDataBase()  
    void removeLine()  
    void removeMultiplesLines()  
    void showLine()  
    (package private) void updateTable()  
    (package private) void updateTablev2()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • maCo

      java.sql.Connection maCo
    • FILEPATH

      public static final java.lang.String FILEPATH
      See Also:
      Constant Field Values
  • Constructor Details

    • DataBaseTest

      DataBaseTest()
  • Method Details

    • fillDataBase

      void fillDataBase() throws java.sql.SQLException
      Throws:
      java.sql.SQLException
    • importDataBase

      void importDataBase()
    • createTable

      void createTable() throws java.sql.SQLException
      Throws:
      java.sql.SQLException
    • updateTable

      void updateTable()
    • updateTablev2

      void updateTablev2()
    • getConnection

      void getConnection()
    • showLine

      public void showLine() throws java.sql.SQLException
      Throws:
      java.sql.SQLException
    • removeMultiplesLines

      public void removeMultiplesLines()
    • removeLine

      public void removeLine()
    • dropTable

      public void dropTable()