@Override
    public boolean store() throws SQLException{
        
        if(super.store()== false){
            return false;
        }    
        else if(super.getID()==-1)
        {
            return false;
        }
        
        SQLiteJDBC db = new SQLiteJDBC();
        String sql = String.format(
            "INSERT INTO customers (user_id,gender,dob,trn,phone)" +
            "VALUES ('%d','%s','%s','%s','%s');",
            super.getID(),
            this.gender,
            (new SimpleDateFormat("dd-MM-yyyy")).format(this.dob), 
            this.trn,
            this.phone
        );
        if(db.updateQuery(sql)>0){
            db.close();
            return true;
        }
        else{
            db.close();
            return false;
        }        
    }