IDP V3: LockTimeoutException with remote PG DB

Etienne Dysli-Metref etienne.dysli-metref at switch.ch
Wed Oct 21 02:33:02 EDT 2015


On 21/10/15 07:05, Daniel Fisher wrote:
> I believe Walter hit on a potential solution. (Although I don't see
> where you are overriding any names....) The problem appears to be
> hibernate doing a bit more with the @Lob annotation than we would like
> with Postgres. In particular it's generating large object OIDs that are
> not used or needed. Since that annotation is only necessary to get the
> column type of 'TEXT' when generating the DDL, try removing it with a
> custom mapping:

Yep, that's what I was about to say: no "lob" on the value column!
Instead of @Lob, could you use @Column(columnDefinition="TEXT NOT NULL")?
I'll try the orm.xml trick.

  Etienne

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://shibboleth.net/pipermail/users/attachments/20151021/ac18dae4/attachment.sig>


More information about the users mailing list