Error executing database operation: CLEAN_INSERT

21 messages Options
Embed this post
Permalink
1 2
Dale Newfield

Re: Error executing database operation: CLEAN_INSERT

Reply Threaded More More options
Print post
Permalink
Dale Newfield wrote:
> generator-class="increment"


Quoted from
http://www.hibernate.org/hib_docs/v3/reference/en/html/mapping.html#mapping-declaration-id-generator:

> increment
>
> generates identifiers of type long, short or int that are unique only
> when no other process is inserting data into the same table. Do not
> use in a cluster.

Hrm.  OK--that means it'll work for me for now, but I'll have to fix
this when my system needs to start scaling beyond a single box...

...and it means this is not a good final solution.

-Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

1 2