-
Notifications
You must be signed in to change notification settings - Fork 182
Open
Description
AbstractUser pretty much bars applications from using their own ID generator, as it extends LemonEntity > AbstractPersistable, with the latter defining the ID member and JPA annotations. It would be much preferable to provide an interface VS AbstractUser or otherwise not include the id member definition within it or it's superclasses. In short, users should be able to:
// OR: implements LemonUser<Integer>
public class User extends AbstractUser<Integer> {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
}naturalprogrammer, BWagener and szymonblaszczyk
Metadata
Metadata
Assignees
Labels
No labels