Skip to main content



      Home
Home » Eclipse Projects » EclipseLink » update allocationSize of Sequence table
update allocationSize of Sequence table [message #756874] Tue, 15 November 2011 07:20
Eclipse UserFriend
Hello,

We're using a primary key generator of type TABLE. By now we used the default value of allocationSize 50. But we have some problems with concurrency and we want to update allocationSize to 1. We've tried doing this:
@Id
@TableGenerator(name = "ID_GENERATOR", table = "SEQUENCES", allocationSize=1)
@GeneratedValue(generator="ID_GENERATOR")
but the generator starts with id = 1 and we have already record in the database with id 1. Is there any way we can update allocationSize to primary key generator that exists already without the initial value to be 0?

Thank you.
Previous Topic:SDO/POJO Bridge
Next Topic:update allocationSize of Sequence table
Goto Forum:
  


Current Time: Tue Jul 15 06:47:57 EDT 2025

Powered by FUDForum. Page generated in 0.06185 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top