Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Set sequence ID automatically before persisted #27

Open
alpe opened this issue Mar 3, 2020 · 0 comments
Open

Set sequence ID automatically before persisted #27

alpe opened this issue Mar 3, 2020 · 0 comments

Comments

@alpe
Copy link
Collaborator

alpe commented Mar 3, 2020

Follow up on:
#20 (comment)

Solutions that come into my mind:

  • Have a before save interceptor that receives the RowID and can modify the object before serialization
  • Have a RowIDSetter interface that can be implemented and is checked + called before Create
@alpe alpe added the ORM Module label Mar 3, 2020
@alpe alpe changed the title Set sequence ID automatically before save Set sequence ID automatically before create Mar 3, 2020
@alpe alpe changed the title Set sequence ID automatically before create Set sequence ID automatically before persisted Mar 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant