public void createUser(UserBean user){
        try {
            String queryString = "INSERT INTO user values('?', '?', '?', '?', ?, ?, NULL);";
            PreparedStatement statement = this.db.createStatement(queryString);
            statement.setString(1, user.getName());
            statement.setString(2, user.getEmail());
            statement.setString(3, user.getPassword());
            statement.setString(4, user.getRole());
            statement.setInt(5, user.getActiveAsInt());
            statement.setInt(6, user.getActivationKey());
            
            statement.executeQuery();
            /*
            this.db.create("INSERT INTO user values('"+user.getName()+"', '"+user.getEmail()
                    +"', '"+user.getPassword()+"', '"+user.getRole()+"', "+user.getActiveAsInt()
                    +", "+user.getActivationKey()+", NULL);");
             */
        } catch (SQLException ex) {
            Logger.getLogger(FilmothekModel.class.getName()).log(Level.SEVERE, null, ex);
        }
    }