Title: RE: [JBoss-user] CMP + BLOB + ORACLE

do you have example code ? , Please send me .-


-----Original Message-----
From: Steven Haines [mailto:[EMAIL PROTECTED]]
Sent: Lunes, 30 de Abril de 2001 03:05 p.m.
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] CMP + BLOB + ORACLE


I ended up BMP-ing the field.. In a CMP bean I did not
reference the BLOB/CLOB field in ejb-jar.xml or
jaws.xml as a CMP field. Then I wrote persistence
logic in ejbLoad() and ejbStore() to persist the
fields (also I called ejbStore() in ejbPostCreate() to
save the field for a newly created record)..

If you do this you can use standard JDBC to read and
write BLOBs (let me know if you need sample code)

Good luck!
Steve


--- Miranda Carlos <[EMAIL PROTECTED]> wrote:
> I have a problem with BLOB datatype in ORACLE8.
> I want read and write a String to BLOB , How ?
>
>
> Thanks
>


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to