This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

In the above case, a table is used in place of each sequence. The Spring core class
MySQLMaxValueIncrementer will then increment the one column in this sequence in order to give
similar functionality.
But the problem come when we try to start multiple threads, at that time it give unique key violation error. Any clue.