Hi,

        You can use blob to store image in db, but this will increase your
db size. The problem here is, when u have to update with new image, then u
need to reinsert those records which is painful.
Simple would be to store the image files locally and store only the relative
image path in the db.
In future if u change the directory of the image, it is again simple to
change the path in db with one single update query.

Thanks,
Nandakumar


-----Original Message-----
From: Hitesh Arora [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 03, 2004 12:11 AM
To: [EMAIL PROTECTED]
Subject: [Java] [java:Help] Storing images in DB




Hi 

This is Hitesh.

I am working on a web application of online test.

In this online- test, at some places images will be shown to the candidates.
So...

 How can I store and retrieve the images in DBMS?

What would be better storing the whole image or just the path of that image
but in that case changing the image dir.could create problem later.

Help me techies...

Regards

Hitesh

 

                
---------------------------------
Do you Yahoo!?
 The all-new My Yahoo! - What will yours do?

[Non-text portions of this message have been removed]







If you have any comments or questions, submit it on the message board.
NO spam/ads/job posting or you will be BANNED from this group. Exception can
be made it happen by notify me ahead of time.
all new members' message will be verified by me (spam..) before it get
posted. 
Yahoo! Groups Links



 







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/5cFolB/TM
--------------------------------------------------------------------~-> 

If you have any comments or questions, submit it on the message board.
NO spam/ads/job posting or you will be BANNED from this group. Exception can be 
made it happen by notify me ahead of time.
all new members' message will be verified by me (spam..) before it get posted. 
Yahoo! Groups Links

<*> To reply to this message, go to:
    http://groups.yahoo.com/group/java_official/post?act=reply&messageNum=17655
    Please do not reply to this message via email. More information here:
    http://help.yahoo.com/help/us/groups/messages/messages-23.html

<*> To visit your group on the web, go to:  
    http://groups.yahoo.com/group/java_official/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to