public DataBase(){
        this.driver = "org.apache.derby.jdbc.EmbeddedDriver";
        this.url = "jdbc:derby:"+db_name+";create="+create+";user="+user+";password="+pass;
        
        try{
            Class.forName(driver);
            this.con = DriverManager.getConnection(this.url);
            
            if(create.equalsIgnoreCase("true"))
                this.createDatabase();
            
        }
        catch(SQLException | ClassNotFoundException e){
            
        }
    }