Hello.

 I have come across the following problem:

 I have a CMP entity bean (Product) which maps to Oracle8. The problem is that one of 
the fields of the bean MUST be an image (I want to store the image in the database 
column) and I want to manage the 'image' field using CMP (abstract accessors in the 
bean class and <cmp-field> tag in ejb-jar.xml). So here is my question:
 How do I:
1. declare the image field in the Oracle table
2. declare the return type of the accessors in the bean class and in jbosscmp-jdbc.xml

 I tried using the BLOB type for the database column and java.lang.Object as return 
type for the abstract getter, but this seems not to work. Do you have any better 
ideas? 

 Thank you

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844420#3844420

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844420


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to