This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
For using a sequence generator, we need to follow the following steps :
a) CREATE SEQUENCE USER_SEQUENCE START WITH 1 INCREMENT BY 10;
b) @SequenceGenerator(name="USER_SEQUENCE_GENERATOR", sequenceName="USER_SEQUENCE",initialValue=3, allocationSize=4)
NOTE: The initialValue and allocationSize values are different in databaseSequence and SequenceGenerator.
What will happen in this case? Will it throw some error or Which initialValue & allocationSize value will be used ?