@GeneratedValue
Jump to navigation
Jump to search
Internal
Overview
@GeneratedValue(strategy = GenerationType.AUTO)
Used together with @Id when relying on the database to automatically generate the ID value, define "strategy = AUTO".