Objectify ofy = OS.begin();
ofy.delete(role);
}
public static void deleteByUsername(String username) {
UserAuthorityEntity role;
try {
Objectify ofy = OS.begin();
// OQuery<UserAuthorityEntity> q =
// OS.createQuery(UserAuthorityEntity.class);
Query<UserAuthorityEntity> q = ofy.query(UserAuthorityEntity.class);