Sequence can not be created

Error committing transaction:; nested exception is: Exception [EclipseLink-7027] (Eclipse Persistence Services – 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException Exception Description: The sequence named [ATTEMPT_TYPE_SEQ] is setup incorrectly. Its increment does not match its pre-allocation size.

http://forums.oracle.com/forums/message.jspa?messageID=1037456

http://programming.itags.org/development-tools/36599/

try chaging the pre-allocation size value (toplink map->Database Info tab->Sequencing).
If you are using Oracle db, also make sure that you database sequence increment and TopLink sequence preallocation sizes are the same.
For more info refer to http://www.oracle.com/technology/products/ias/toplink/doc/1013/main/_html/prjdaun007.htm
http://forums.oracle.com/forums/message.jspa?messageID=1037456
Hope this helps,
Anuj

Advertisements