Re: Data truncation on longblob field
Posted by: Filipe Silva
Date: June 10, 2018 11:05AM

Can you share the stack track of this exception?

I would suggest trying to isolate this issue without using Hibernate. A simple table with a couple of fields, being one a `longblob` and short java test should suffice.

It is strange, though, that you initialize the byte buffer as `fbuffer = new byte[256];`... Are you sure that hibernate isn't complaining about a buffer overflow?

Options: ReplyQuote

Written By
Re: Data truncation on longblob field
June 10, 2018 11:05AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.