phase out IdGeneratorStrategyInterpreter #5914
gavinking
started this conversation in
Design Proposals
Replies: 3 comments 2 replies
-
Excuse me, that's not quite right. We would have a map of name to id generator instance. We would instantiate the generator when we encountered the |
Beta Was this translation helpful? Give feedback.
0 replies
-
We should close this one imo to avoid split discussion |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to propose that we essentially drop
IdGeneratorStrategyInterpreter
and the current logic for instantiating an id generator for a JPA@GeneratedValue
, and:GenerationType
s in terms of our build-inGenerator
s, and(A motivating factor here is to migrate to the use of
UuidGenerator
, which is currently impossible.)Of course we would need to keep a map of named id generator -> defining annotation instance (a
TableGenerator
,SequenceGenerator
, orGenericGenerator
annotation).This might be a more-radical proposal than it needs to be, so perhaps @sebersole can come up with a "compromise"?
Beta Was this translation helpful? Give feedback.
All reactions