Hi all,
I am trying to create a sequence using Jmix Sequences that can start from a max value 1000 with an increment of -1 to the lower limit 0.
Any idea how one can achieve this?
Thanks,
Samy
Hi all,
I am trying to create a sequence using Jmix Sequences that can start from a max value 1000 with an increment of -1 to the lower limit 0.
Any idea how one can achieve this?
Thanks,
Samy
Hi Samy,
The Sequence
class of Jmix has no parameter for lower limit. So if you are certain about your database, just use Spring’s JdbcTemplate
to create and use a sequence directly through SQL.