vjuranek / scias-server

GNU General Public License v3.0
0 stars 0 forks source link

Insert into iamge tables fails #21

Closed vjuranek closed 7 years ago

vjuranek commented 7 years ago

Hibernate fails with

column "bytes" is of type bytea but expression is of type bigint

Happens only against Postres, test with H2 are passing

vjuranek commented 7 years ago

see http://in.relation.to/2010/05/11/postgre-sql-and-blo-bs/ and comments under the article, when @Lob is removed, it seems to work