Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to insert an image to a BLOB database column

user550428Apr 2 2007 — edited May 16 2007
Hi
My problem is to insert an image to a database table
1.Database Version 8.1.7
2.JDeveloper 10.1.3.1
3.Data model Toplink with EJB 3/ POJO
4.User interface JSF using ADF

The database column is mapped to a byte array (byte[])
I can display an image stored in the database.
I can upload an image to a file in the application server.
Can anyone help me to insert an image to a BLOB column in the database?

1. What UIComponent to use
2. Pagedef file (binding)
3. Backing bean

I searched on many threads of JDeveloper forum but ....... you know!
My question is very specific so I expect a specific answer.
I must also mention that from Oracle Support (Metalink) the answer was poor, just giving some links to JavaForum (!!!!!)
Thank you
Thanos
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 13 2007
Added on Apr 2 2007
8 comments
1,118 views