Platinum Solutions Corporate Website


The answer you entered to the math problem is incorrect.
Ramya (not verified) Wed, 1969-12-31 20:00

Hi,

I have used increment generator in my application and it was working fine till I tried inserting some records into the db.

I have problems using increment generator as when two customers are simultaneously accessing the application and persisting data, hibernate throws a constraint voilation exception.

I want to use sequence generator instead of increment. And this has to happen on my live application wherein I have give the start value and end value for the sequence explicitly.

Example:
If there are 200 records in DB that are generated with increment, now I want to add sequence to the db.

I am unaware how to do this stuff. Hence require experience help.

-- Cheers,
Ramya

Reply

Please solve the math problem above and type in the result. e.g. for 1+1, type 2.
The content of this field is kept private and will not be shown publicly.
  • Lines and paragraphs break automatically.

More information about formatting options