PERSISTENCE LOB WITH JPA
Posted
by rfders
on Stack Overflow
See other posts from Stack Overflow
or by rfders
Published on 2010-04-09T16:40:44Z
Indexed on
2010/04/09
16:43 UTC
Read the original article
Hit count: 428
Hi, Folks. I have this problem using JBOSS, EJB3 and MSSQL Express . i'm trying to persist an entity with an Blob attribute which was converted into a byte[], apparently it create the entity perfectly, no error was logged at jboss's console. but when i check into database the column is null. i already checked the Object to byte[] method and it is fine. i tried assigning Image and varbinary(Max) data type to this column. so i really don't know what it happening, why the column is not inserted into database.
thanks a lot.
© Stack Overflow or respective owner