How do you store BLOBS external to the database?

Hello
My project manager wants to have users upload files, make them available on-line and store them external ( in the file system ) in a app I am building for her.
I am using 11gR2, with Apex 4.1, I have looked at BFILES but I am not having much luck getting them to work.
I am hoping someone has had to do this before, or at least has an idea of how to get this done.
Thanks
Merph

OK , the code load_blob_to_bfile work, but I am not sure how to plug it in to my app.
I have a screen that allows a user to feel in some basics about the pdf they are uploading, they hit the submit/update button and the file is uploaded. I am not sure where i would call my procedure from that this point. I tried to build a step in the branchs that I would pass a file_id so I can call the procedure but I am missing something somewere.

Similar Messages

  • How to save 150MB BLOB file in the database(SQL server)?

    Dear experts,
    I have written some code to save BLOB into a MS SQLserver7.0 database as follows:
    PreparedStatement ps=connection.prepareStatement("INSERT INTO jdbctest" + "(id, content, image) VALUES (?,?,?)");
    ps.setString(1,"2");
    ps.setString(2,"L11.avi");
    ps.setObject(3,data);
    It works for upto 12MB but for files that are as big as 150MB I always get an SQLException as follows,
    "Exception in thread "main" java.lang.OutOfMemoryError
    <<no stack trace available>>" .
    The SQLserver7.0 database is running on NT server 4. The client machine is SGI UNIX. I'm using i-net JDBC driver.
    It seems I should break the BLOB into chunks before saving into SQLserver but I don't know how to do it.
    Can someone please advise?
    THANKS!
    Yu

    Could you tell me more about it? Thanks.Depends on the application.
    For example for internal use you can set up a shared drive and then everyone gets a mapped read only access to it. Then you use a direct drive reference.
    For external, or just wider internal distribution, you could set up a ftp server. Then the address is just an ftp address.
    I believe there are other variations which can be implemented via browsers and support by the websever. For example loading a word doc via the browser.
    The advantage to the above is that you don't have to push it into the database and it allows for some more flexible storage alternatives. The disadvantages are all the things you might want a database for - like concurrency checking and a single source.

  • How can i store oracle forms in the database.

    hi,
    i m using oracle 10g and forms 6i. is it possible to store the forms in the database, is it possible plz tell the steps.
    with thanks and regads
    anish kumar

    It's possible to store any file in a database as a blob. The steps are the same for a FMX as it is for any other type of file.
    See
    http://www.dbasupport.com/oracle/ora9i/storing_word_docs.shtml
    However, if you are doing this because you want to use Forms Builder to to query the database for a form and run it, then that may not be possible.

  • How do you do development by keeping the database as a black box

    First of all what does it mean to keep the database as a black box and not have to change the code if the database structure changes. What is the best way and tool to do so...

    In a nutshell this means that you should not have to change your domain model whenever a change occurs to the database. Typical schema changes (normalizing, renaming fields, adding/removing fields, etc...) will not require any changes to your domain object model.
    In most cases, changes to the mapping meta-data is all that is required to accommodate schema changes.
    Peter

  • In iTunes 11 how do you get Genius recommendations from the iTunes store

    In iTunes 11 how do you get Genius recommendations from the iTunes store. It would appear that I can only get Genius recommendations from my own library. This was easy in iTunes 10 and enabled me to find lots of good artists I had never heard of.

    I have this same question and all I have found on it is this,
    http://ipod.about.com/od/advanceditunesuse/ss/genius_store.htm
    Basically it seams they got rid of the whole side bar concept of things to make it all more streamline, understandable but I know atleast for myself that genius sugestion for any song is how I found new artists and songs I never knew existed.
    If you go to the Album the go to "In the Store" it will give you a recomendation for that album... not exaclty what you might be looking for but atleast its something, if anyone else has a way to get genius sugestions for individual songs I am all ears and would love to hear about it.

  • How do you get Photos to recognize the "old" iPhoto Library on an external drive without it copying it to the internal drive on the computer which is low in HD space?

    How do you get Photos to recognize the “old” iPhoto Library on an external drive without it copying it to the internal drive on the computer which is low in HD space?

    Launch Photos while holding down the alt/options key.
    This will show the Library Chooser panel. Select the library on the external drive. Photos will create a Photos Library on the same drive.
    Photos may not be able to open the library, however, if your external drive has an incompatible file system. It needs to be formatted MacOS Extended (Journaled) and locally mounted, not a remotely mounted volume, as described here:  Format external drives to Mac OS Extended before using with Aperture

  • How do you clear completed updates from the app store after downloading is complete?

    How do you clear completed updates from the app store after downloading is complete on iOS 7.0.2?

    You don't. It's how things are done now, likely to accommodate those that have auto update turned on.  IT's been said that the updates will just drop off after a period of time but  time will tell on that.

  • How do you clear updated apps from the App Store

    How can you clear updated apps from the list in App Store?

    What do you mean by "clear"?
    Have a look here: iOS 8: App Store Updates Do Not Clear
    If it is the badge count that does not fit, it might be that iTunes is the cause (12.0.1.26).

  • I cancelled my OS lion download after a few minutes and told them I do not want it and they have not put the credit back on my account. I reported the problem and have heard nothing after a week. How do you get to talk to the "Store"

    I cancelled my OS lion download after a few minutes and told them I do not want it and they have not put the credit back on my account. I reported the problem and have heard nothing after a week. How do you get to talk to the "Store"

    Amazingly the credit has appeared. Thanks to someone.

  • HT1420 How do you do this?  From the Store menu, choose Authorize This Computer. there is no option to Authorize This Compyter from the iTunes "store"!!!???

    How do you do this?  From the Store menu, choose Authorize This Computer. there is no option to Authorize This Compyter from the iTunes "store"!!!???

    If the computer's running Mac OS X, move the cursor to the very top of the computer's screen, click on Store, and choose Authorize this Computer.
    If the computer's running Windows, press the Alt and S keys and choose Authorize this Computer, or click here, follow the instructions, click on Store in the menu bar, and choose Authorize this Computer.
    (89775)

  • How Do You Store Your Movie Masters?

    Hi all,
    I'm curious, how do you store your Movie Masters? Let's say you filmed an important Family event from a camcorder with a hard drive. You imported the footage into you mac and edited it in iMovie or Final Cut Pro or other app.
    Then what?
    Do you make a DVD?
    Do you save a DVD image file on the computer?
    Do you export a .mov or other format file?
    Do you delete the DV original files because they are so massive?
    Do you save/delete the iMovie or FCP master original footage?
    When do you delete the camcorder hard drive original (when you need the space)?
    What other approaches do you do?
    Which is the Master?
    How do you back up your movie?
    Thanks in advance for your opinions.

    Great question. I think the issue of backup is a important one, and one I always worry about since I have a lot of video footage that is irreplaceable.
    For back-up, it is helpful to define the risk you are trying to protect from.
    For example,
    1) risk of corruption in iMovie --> I might use Time Machine (but I do not because I have not had the issue)
    2) risk of hard drive failure --> I use SuperDuper! nightly
    3) Risk of theft or fire --> offsite backup
    Here is what I do...
    1) I back up my boot disk with SuperDuper automatically to alternate external partitions every other night so I always have two bootable systems. One is less than one day old, and one is less than two days old.
    2) I back up my original video files. For my Motion JPEG, VHS-->AIC, DV, and 8MM to DV, the EVENT is the copy I back up. For my AVCHD high def video, I back up the archive of the AVCHD, but I am not currently backing up the Event files, because I would need from 4 to 8 TB to back up these events depending on whether I made one copy or two.
    3) I use CrashPlan for my offsite backup. It costs less than $4 per month, and I seeded the initial backup to an external drive to minimize having to transfer video files over the Internet. I currently have 1.2TB of data backed up to CrashPlan, which includes my entire boot drive, and the files described in #2.
    4) All of the above is automated, so I don't have to think about it too much. If I have to manually do stuff, I tend to get behind.
    You have to consider the value of total multiple redundancy vs. the likelihood that 2 or three unlikely events would all happen at once. For example, CrashPlan could lose my data. My hard disk could fail. I could lose everything in a fire. But it is unlikely that they would all happen at once, except in nuclear war, in which case, who cares?
    I am considering adding Time Machine backup and some off-site backup of the Event files into the mix, but for now I am satisfied.

  • We are evaluating the use of iPod touch devices to record best practice videos on our manufacturing floor and to post to an internal Moodle web site. How can you upload a video from the iPod touch to a site other than YouTube?

    We are evaluating the use of iPod touch devices to record best practice videos on our manufacturing floor and to post to an internal Moodle web site. How can you upload a video from the iPod touch to a site other than YouTube? The Moodle upload interface is expecting a file selection dialog box like windows or OSX. I do not want to have to go through an intermediary step of messing with a pc.
    Thanks!

    It should be around 7 and a half gigs. In iTunes, across the bottom there should be a bar that show how much storage is being used and by what. (music, movies, apps, etc.) To make music take up less room, you can check the box to make it convert the music to 128kbps AAC. This lowers the quality, but with most earbuds and speakers, you can't even tell the difference.
    The iPod touch has parental controls built in. You'll find them in Settings. I think they only work for enabling/disabling Safari, Mail, YouTube, and App Store. Here's an app that does more: http://www.mobicip.com/online_safety/ipod_touch

  • HT201250 How do you add an external Hard drive to time machine and share on network?

    How do you add an external Hard drive to time capsule and share it on local network?
    Lee

    Ensure it's formatted as Mac OS Extended, FAT16, or FAT32, connect it to a self-powered hub, and plug it into the Time Capsule's USB port. If the drive is Ethernet and not USB, ignore everything else and just plug it in.
    (71787)

  • How do you make multiple folders in the photo app-

    the question speaks for itself.also, how do you sync multiple albums onto the phone?

    The way I sync folders is this (I know it may not be what you are looking for).
    But in iTunes you can pick a folder to sync to. For me I made a specific folder just for my iPhone.
    Any pictures I want on my iPhone I put in that folder (copies).
    And then in that folder you can create subfolders (to organize). Note though you can only go 1 subfolder deep. You cannot put a subfolder in a subfolder.
    So for example:
    C:\DATA\iPHONE This is the folder for my syncing.
    I can create
    C:\DATA\iPHONE\FAMILY
    C:\DATA\iPHONE\FRIENDS
    C:\DATA\iPHONE\ABSTRACT
    C:\DATA\iPHONE\NEWYEARSPARTY
    But I cannot create
    C:\DATA\iPHONE\FAMILY\WIFE
    Then you just put pictures you want sycned into them. Sort of better to work with copies and have a folder specific for the iPhone I think. At some point you will want pics removed from your phone and far easier to just delete them from the iPhone specific folder than if you went to route of syncing to the folder you actually store photos you want to keep forever on your computer. Having a specific folder with copies means you can delete and add at will and know your real memories are elsewhere.

  • TS3297 I downloaded a song but it did not download properly and only the first 5 seconds of the song plays.  How do you fix this and get the entire song downloaded?

    I purchased a song and when downloading there was an error.  No error on the other 8 songs just one and now only plays the first 5 seconds of the song.  How do you fix this and do the download again so the entire song is downloaded?  Thanks!

    Delete the song from your library and re-download it from the Purchases section of the iTunes Store.
    http://support.apple.com/kb/PH12491

Maybe you are looking for