What  property  i can take  to hold the image file in the javabean

HI All,
       In one of  my module i am facing  one problem to  import/export the image (photo) file into  the sql database. In my webdynpro i am  using  the  model as a  javabeanmodel  for connecting to  database .i am confused about   what  type  of  property  i would take to hold the image  while  sending and retrieving in the javaBean .
like for example  if  it is a userName we can take   type as  String and  it can easily mapped to  view context.
And image  should mapped  to both component context and view context .
in the case of  image  what can  i take(because it should go as  a binary data) ..if any  come across this type of  requirement   please  give some suggestions .
In sql server we can  use  data types as BLOG and CLOGS ..
thanks  and regards
Ratnakar reddy

Ratnakar,
Please read this: Binary Type
Valery Silaev
SaM Solutions
http://www.sam-solutions.net

Similar Messages

  • I had an in-game purchase that failed to give me my items purchased, this is usually an easy fix, but this one was through EA, I would like to know what steps I can take to rectify this.  (I realize that NOT playing EA games is the best answer...)

    I had an in-game purchase that failed to give me my items purchased, this is usually an easy fix, but this one was through EA, I would like to know what steps I can take to rectify this.  (I realize that NOT playing EA games is the best answer...)

    Can you try to restore your inApp?
    If that doesn't work:
    iTunes Store Support
    http://www.apple.com/emea/support/itunes/contact.html

  • My question is what if I have troubleshooted with holding the sleep/awake button and power and it's not changing to any other screen what should I do? It doesn't even show the battery strength wheither its completely dead or charging at all.

    My question is what if I have troubleshooted with holding the sleep/awake button and power and it's not changing to any other screen what should I do? It doesn't even show the battery strength wheither its completely dead or charging at all.

    - If you did not charge the iPod for a couple of hours before you did the reset then charege and reset:
    Reset iPod touch:  Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Then connect to your computer and if iTunes sees the iPod restore via iTunes. 
    - Next see if recovery mode will allow iTunes to see the iPod so you can restore the iPod. For recovery mode:
    iPhone and iPod touch: Unable to update or restore
    - Last, make an appointment at the Genius Bar of an Apple store.

  • Is there a USB "Mixer" that can take control of the channel levels in garage band?

    Im just looking for something like a USB "Mixer" that can take control of the Channel faders in garage band. Sort of like a digital Mixer, but not for recording.
    many Thanks, Hammie

    What you are looking for is called a Control Surface. M-Audio made one specifically for Garageband called the iControl but it was discontinued a few years ago. Many surfaces can work with many different DAWs but I don't know off hand any that work with Garageband.

  • PDF viewer that can take advantage of the beamer class option \second

    Hi,
    from the LaTeX beamer class users guide:
    You will have to find out for yourself whether your display program and system support showing superwise presentations stretching over two screens.
    Anyone know, what pdf reader can handle such presentations that use the mode \second ? E.g. in Okular I couldn't find this option.
    Last edited by Barghest (2010-11-01 12:47:43)

    Oh, I don't know how this is done by the beamer class. I already was afraided that I need to install acroread

  • What package I can use to processing the image

    Hi, all:
    I am not familiar with image processing, does anybody can tell me how to filter or smooth a gif image and what pachage I can use with Java language.
    Thanks!
    zhu

    Write it to a BufferedImage and use the necessary filter to manipulate it.

  • HT1725 i recently downloaded an album from itunes but 5 of the songs won't completely play through when i try to listen to them. i don't know if the song files are damaged or what but what action should i take to repair the files or get my money back?

    i recently downloaded an album from itunes and from what it appeared, everything completely downloaded, but 5 of the songs won't completely play through when i want to listen to them. i don't know if the song files are damaged or what. what actions should i take to either repair the files or get my money back from itunes?

    Assuming you are in a region where you are allowed to redownload your past music purchases, delete the corrupt tracks from the music section of your iTunes library, close & then reopen iTunes, go to the iTunes Store home page, click the Purchased link from the Quick Links section in the right-hand column, then select Music and Not on this computer. You should find download links for your tracks there.
    While downloading select Downloads in the left-hand column and make sure Allow Simultaneous Downloads is unchecked.
    If the problem persists, or that facility is not yet available in your region, contact the iTunes Store support staff through the "Report a problem" links in your account history, or via Contact Support.
    See also:
    HT5085 - iTunes in the Cloud and iTunes Match Availability
    HT2519 - Downloading past purchases from the App Store, iBookstore, and iTunes Store
    tt2

  • Can I back up individual image files to a slideshow DVD created in Premiere Elements 4.0?

    I created a Premiere Elements 4.0 Project including 3 separate photo slideshows. The slideshows were created in Photoshop Elements 6.0 and imported into my Premiere Elements project. I was hoping that when burning the project to DVD, my image files would also be individually backed up.
    When I give the DVD to family members I would like them to have access to the image files so they can print or use them individually. I would like to do this in 1 single DVD rather than giving them a DVD with the slideshows and a DVD with the image files. I was able to do this with a previous DVD authoring program I was using, but I cannot figure it out with Premiere Elements 4.0.
    Any ideas if this is do-able with Premiere Elements 4? (I am running Windows Vista Home premium SP1 - 64bit - 3GB RAM)

    Thanks for your help. I tried this. I burned the project to a folder (4.7GB) then to that folder I added a folder with my photos. So in the folder there was "Photos", "OpenDVD" and "Video_TS". I had 3 separate folders within the "Photos" folder, to keep the 3 slideshow photos grouped.
    I burned the entire folder to a DVD using my burn tool. I don't even know the name of the software I used, but I think it was just the Toshiba burn tool. I dragged and dropped the folder into my new disc folder, then at the top of my screen clicked "burn to disc", I named the disc and chose from the formating options "Mastered: disc can be read on other computers and some CD/DVD... no new data can be added..."
    Once burned I checked it on my DVD player and now it recognizes only the individual jpg files so it does a generic slideshow of these images rather than my slideshow project. (no menu, music...) Putting the disc in my computer I could access either the files or the slideshow project, but not on my home DVD player.
    I burned the folders to 2 separate discs, once dragging the whole folder to the disc and once opening the folder and dragging only the individual folders to the disc.
    Please tell me what I'm doing wrong. thanks.

  • In Design CS 5.5, Can I link to large image files ??

    Dear friends,
    We are creating a 111 page file that links to about 120 large picture files.  Each picture file is about 40MB.  Doing this seems like it will slow down my computer's ability to quickly edit the file, because it will be so large.
    QUESTION: What are some ways around this?
    What is recommended?
    Shall I place the files, and then somehow TURN DOWN the "display performance" ?
    Or should I make SMALLER versions of all 120 files, then replace them with the large files when I am about to print to PDF?  (That sounds like a LOT of work)

    I'm not sure you are using the term "embedding" properly here.
    You want to link the images by using File > Place... That includes a pointer to the entire file and a preview inthe ID file, but not the actual image data. In order to embed (which saves a complete copy of the image data inside the ID file and will make it HUGE), you must slect the link in the Links panel and choose Embed from the panel flyout menu.
    It's also possible to copy and paste vector drawings into ID and the will not show in the links panel at all. I recommend against this in favor of Placing them as well. Complex pasted vector objects can cause significant slowdown whenver the screen has to be redrawn.

  • How can I copy and paste images' file?

    I need to duplicate images' files (.jpeg or .gif) from a directory to another one.
    How can I do?
    Is there any method to do that?(with jdk1.3.1)
    Thanks for your help.

    The following class copies files. Just call "java FileCopier file1 file2". FileInputStream and FileOutputStream also accept File instances instead of Strings, which will help when you work with different directories.
    // file: FileCopier.java
    import java.io.*;
    public class FileCopier {
      private String fileIn, fileOut;
      private int buffersize = 32768;
      public FileCopier(String fileIn, String fileOut) {
        this.fileIn = fileIn;
        this.fileOut = fileOut;
      public void copy() throws IOException {
        FileInputStream reader = new FileInputStream(fileIn);
        FileOutputStream writer = new FileOutputStream(fileOut);
        byte[] buffer = new byte[buffersize];
        int read;
        while( (read = reader.read(buffer, 0, buffersize)) > 0 ) {
          writer.write(buffer, 0, read);
        writer.flush();
      public static void main(String args[]) throws IOException {
        FileCopier copier = new FileCopier(args[0], args[1]);
        copier.copy();
    }

  • Can I re-locate my image files?

    I imported about 80GB of pictures into iPhoto, leaving the images themselves on my NAS (I couldn't afford to lose 80GB of space on my Macbook Air!).
    Some time later, I was forced to move the image folders to another NAS.  iPhoto now (quite reasonably!) complains that it cannot find the image files.  Is there some way I can persuade it to to reconnect with the images in their new location?  Or will I have to start again from scratch?

    iPhoto does not have a built-in option to relocate and reconnect original image files. If you want routinely to work with referenced original images and be able to relocate original files freely, I'd upgrade to Aperture.
    To fix your immediate problem I'd put the referenced original files back to where you removed them from and use iPhoto Library manager to create a reconnected copy of your iPhoto Library on your new NAS.

  • How come 5.0 can't open local desktop images files (.jpg, .tif, .png ...) on my Mac anymore?

    I'm using Mac 10.6.8 and the newest version of Firefox 5.0. I have always been able to select File > Open File from the Firefox menu and select any image file on my computer and view it in the browser window. Suddenly I can't do this. All image files on my system are greyed out and not accessible. I can open html files from my local desktop and all images are present but can't open any .css files or single image files.

    Here's the *.tiff file.
    I've had to switch browser to Safari, as you can't load a tiff in Firefox, either.

  • DVDSP3-Can You Make A Disk Image File From DVDSP3?

    *Hello again. I'm just finishing up my first go around w/DVDSP3. I was surprised that when I got to the burning options, that there was no option for burning a disk image file. Is it do-able on this program?*
    *I burned out one disk and tested it on a couple different players, and "finally" it was good. After the burn, the prompt just said "Formatting finished". There was no option to burn another disk, nor could I find any place to bring up a menu, to tell it that I needed 4 disks. Therefore, it was hours just to get 4-15minute dvds burned, as it started the build all over again each time. Thanks again for the help!*
    LarryWest

    In the Format - even the Build and Format too - dialog, you have an option to write the disc to the hard drive.
    If you need to make a copy at a later date (even after you've nuked everything from your hard drives, you can use Disk Utility in OS X to make a disc image from an existing DVD-R, then burn additional copies.

  • I can no longer hold the center button to initiate the 'close apps' function; it either takes me to voice command or iPod search; what can I do about this?

    What can I do yo?

    you have to hit the home button two times in a row and it should work

  • How can multiple threads hold the same lock?

    I was always under the impression that no 2 threads could hold a lock for the same object, and yet the HotSpot traces say this is happening all the time.
    For example Object 0x0a6c1bf8 is locked in 2 threads:
    "10.129.24.35-1" daemon prio=6 tid=0x2836bad0 nid=0x9d4 runnable [0x2b28f000..0x2b28fc9c]
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    - locked <0x2493f6e0> (a java.net.SocksSocketImpl)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    at java.net.Socket.connect(Socket.java:519)
    at org.jacorb.orb.factory.PortRangeSocketFactory.doCreateSocket(PortRangeSocketFactory.java:142)
    at org.jacorb.orb.factory.AbstractSocketFactory.createSocket(AbstractSocketFactory.java:54)
    at org.jacorb.orb.iiop.ClientIIOPConnection.createSocket(ClientIIOPConnection.java:313)
    at org.jacorb.orb.iiop.ClientIIOPConnection.connect(ClientIIOPConnection.java:160)
    - locked <0x0a6c1b98> (a org.jacorb.orb.iiop.ClientIIOPConnection)
    at org.jacorb.orb.giop.GIOPConnection.sendMessage(GIOPConnection.java:934)
    - locked <0x0a6c1bf8> (a java.lang.Object)
    at org.jacorb.orb.giop.GIOPConnection.sendRequest(GIOPConnection.java:900)
    at org.jacorb.orb.giop.ClientConnection.sendRequest(ClientConnection.java:323)
    at org.jacorb.orb.giop.ClientConnection.sendRequest(ClientConnection.java:304)
    at org.jacorb.orb.Delegate.invoke_internal(Delegate.java:1024)
    - locked <0x0d434a88> (a java.lang.Object)
    at org.jacorb.orb.Delegate.invoke(Delegate.java:939)
    at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:80)
    at com.company.MyApp._StateChangeListenerStub.newChanges(_StateChangeListenerStub.java:33)
    at com.company.MyAppManager.ListenerOneway.send(ListenerOneway.java:65)
    at com.company.MyAppManager.Sender.run(Sender.java:139)
    "ClientMessageReceptor840" daemon prio=6 tid=0x2a3ab988 nid=0x6b4 in Object.wait() [0x2f70f000..0x2f70fb1c]
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:474)
    at org.jacorb.orb.giop.GIOPConnection.waitUntilConnected(GIOPConnection.java:278)
    - locked <0x0a6c1bf8> (a java.lang.Object)
    at org.jacorb.orb.giop.GIOPConnection.getMessage(GIOPConnection.java:318)
    at org.jacorb.orb.giop.GIOPConnection.receiveMessages(GIOPConnection.java:464)
    at org.jacorb.orb.giop.MessageReceptor.doWork(MessageReceptor.java:71)
    at org.jacorb.util.threadpool.ConsumerTie.run(ConsumerTie.java:61)
    at java.lang.Thread.run(Thread.java:595)
    Have I miss-interpreted the HotSpot stack trace?

    To summarise they are both in a synchronized block on the same mutex/Object, but one is in a wait and one isn't.
    So then it follows that if the HotSpot thread reads " - waiting on <address>" like:
    "SomeThread" daemon prio=6 tid=0x29a06658 nid=0xf28 in Object.wait() [0x2b18f000..0x2b18fa1c]
    at java.lang.Object.wait(Native Method)
    - waiting on <address> (a javax.swing.TimerQueue)
    at com.comp.SomeThread.run(TimerQueue.java:236)
    - locked <0x09539510> (a javax.swing.TimerQueue)
    at java.lang.Thread.run(Thread.java:595)
    then it means that the thread is trying to enter the synchronized block on the same mutex/Object but it can't because there is another thread in there which is running, so it is waiting on the outside of the lock instead of the inside of the lock like "ClientMessageReceptor840".
    Ok, I think I get it now. Thanks everyone for your help.

Maybe you are looking for