Groupname does not have to be unique, ony unique within a branch, you are going to have to include a way to handle that. It would be great actually if you could deal with this in JTableUsergroup instead of here, since it is a function specifically useful for that table and useful for additional situations than managing access.