Hi all,
I store attachments file (like jpg, bmp, doc, pdf) inside a db table
(postgresql db, column type is BYTEA).
Insert is performed via a Stateful SessionBean that uses an Entity Bean.
(at Entity Level the db column is mapped using the generic Object class).
Insert is ok.
When I try to
I changed java type from Object to byte[]
and everything (insert, select, remove) seems to be ok
(I hope ;-)).
Moreno
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4018837#4018837
Reply to the post :
It doesn't run, lafr :-(
I renounced to db pk sequence generator.
Thank you
Moreno
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4009913#4009913
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4009913
Hi all,
when I try to create a CMP Entity Bean I get an error:
null value in column xmoid could not create entity bean.
xmoid is the PK of the table info_allegato.
Values assigned to xmoid are retrieved from a db sequence
(info_allegato_xmoid_seq).
I'm using JBoss 3.2.3, Postgresql 7.4