• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

@GeneratedValue

 
Fisher Daniel
Ranch Hand
Posts: 582
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,
What is the default value for @GeneratedValue if we don't declare is on our entity explicitly?

Thanks,
Daniel
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Auto, so whatever the database supports.

Like "native" in Hibernate.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic