You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, this is the correct place for improvement requests.
We won't implement these though.
The problem is that we don't have an efficient, reliable way to get the values back from the database, since not all return all generated values.
You can implement the sequence variant using an EntityCallback, that gets the new value from the sequence and sets it in the entity.
This adds a little overhead for an additional db roundtrip which can be limited by implementing a Hi/Lo algorithm as Hibernate offers.
We might eventually provide such listeners for easy use
Johan Blomgren opened DATAJDBC-623 and commented
I'm not sure if it's correct for me to post my improvement requests here?
But i would like to one of these, or both.
Example with kotlin/postgres
Define sequence generator
or
Field uses default value if null
No further details from DATAJDBC-623
The text was updated successfully, but these errors were encountered: