Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Changing the Sequence Generation Strategy in Active Objects

Hello,

Is there any way to change the sequence generation strategy using Active Objects? (To change Increment by, Minimum Value, Maximum Value, Cycle Sequence... etc.).

The Problem:

  • We have a specific context where we needed to set a sequence as a 'Cycle Sequence' and define the 'Maximum Value' for it.
  • Since the related table is used in a context where it works as an index table (All the records can be deleted and up-to-date data will be inserted on its place), after a while we face problems with sequence value overflow, where the generated sequence value doesn't fit inside the ID field of the Entity

Having the possibility to set the sequence as 'Cycle Sequence' and its 'Maximum Value', we would avoid any problem in this context.

Using the ActiveObjects Plugin version 3.0.0-m02, I haven't been able to find any documentation related to Sequence Strategy. The only annotation related to ID generation was @AutoIncrement but it doesn't allow me to do this kind of customization.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events