I use Sequence to generate an identifier for me, but I use this sequence from my Java application. So let's say, for example, my last identifier is 200.
If I add an entry with .sql, using 201 as an identifier instead of seq.nextval. What happens when a java application calls seq.nextval? Is the sequence smart enough to check the maximum number available, or will it just return 201?
ed1t source
share