2009/5/19 Felipe Gaścho <fgaucho_at_gmail.com>:
> Jersey is not synchronized, right ?
Others have already answered wrt synchronization part, but regarding this:
...
> Internal Exception:
> com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException:
> Duplicate entry '455' for key 1
> Error Code: 1062
> Call: INSERT INTO FPCERTIFICATE (ID, PATH, VERSION, USER_ID) VALUES
> (?, ?, ?, ?) bind => [455, /docs/453/8/cert, 1, 453]
This very likely has nothing to do with java level synchronization.
It rather sounds like id column is not defined to use the usual mysql
idiom (auto_increment for 'id' colun), which would guarantee
uniqueness of the key.
Hope this helps,
-+ Tatu +-