Yeah, OK, so I guess the thing is that I never considered that this POST_INSERT_INDICATOR thing (which was a total hack I added >20 years ago to quickly implement identity column support) belonged to any sort of public API. On the other hand, I can also see how you were not given fair notice of that. So look, perhaps your suggestion to make generatedOnExecution() accept some arguments (the entity, or perhaps the currently-assigned id) could work. I’m not going to work on that, but on the other hand it feels like something that you could try out yourself, and if you can get it to work, I’m very open to integrating a PR. |