[jboss-user] [Beginners Corner] - Unable to load to deserialize result

2007-02-19 Thread morenito9000
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

[jboss-user] [Beginners Corner] - Re: Unable to load to deserialize result

2007-02-19 Thread morenito9000
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 :

[jboss-user] [Beginners Corner] - Re: Mapping CMP field and PK (DB sequence) column

2007-02-02 Thread morenito9000
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

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Mapping CMP field with PK (DB sequence)

2007-01-22 Thread morenito9000
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