Blob access in DB Vendor independent way

I'm looking for a portable (cross db portability) to manipulate BLOB's.
whenever tried to use java.sql.Blob methods (setBinaryStream(long pos),setBytes(long pos, byte[] bytes) or setBytes(long pos, byte[] bytes, int offset, int len) ) with Oracle JDBC driver (version 9.2.0.3 thin and OCI8) I got "unsupported feature" exception.
Is there a way to write into Blobs without using explicitly Oracle Classes (oracle.jdbc.BLOB) ?
Thanks
Adon Yanshuf

I remember that in weblogic6.0sp2 you can config a DataSource in a file named config.xml. and that file belong to a individual application(or a website? that project is not on my hands and I can not sure). Hope it can help you.
Best Regards.

Similar Messages

  • Vendor-independent way to configure a DataSource

    Does anyone have advice on a app-server independent way to configure DataSources for a J2EE app? I currently define my connection pool in weblogic.properties, but I'm trying to get as much out vendor specific config files as possible.
    Thank you,
    Adam

    I remember that in weblogic6.0sp2 you can config a DataSource in a file named config.xml. and that file belong to a individual application(or a website? that project is not on my hands and I can not sure). Hope it can help you.
    Best Regards.

  • F_LFA1_BEK - access to specific vendor

    Hello,
    my first posting....hope someone has an answer...
    We need to give 2 users transaction FBL1N (vendor line items) with only access to 2 specific vendors.
    As far as we know there is no authority object for the vendor account number itself.
    So we thought we can use object F_LFA1_BEK. We entered an  authorization group (LFA1-BEGRU) to this 2 vendors and added this group to F_LFA1_BEK. So far so good.
    Problem is now that it is still possible to access all vendors where no authorization group is maintained in the vendors master record. (No authorization group is the default case and it is not possible to add another one the other vendors)
    Is it possible to achieve this with F_LFA1_BEK or is there any other solution? 
    Thanks a lot!
    Christian

    Hi Alex,
    of course it is possible to do it that way and we already use the LFB1-BEGRU to restrict access to specific vendors.
    But we have a lot of different accounting groups and a lot of users who create/maintain vendors each being responsible for one or more accounting groups. And furthermore this is relevant for 2 company codes.
    And what I haven't mentioned yet: This also needed for customers (FBL5N).
    So you are right it is possible and it is the standard way but in our case currently too much effort.
    Thanks.
    Christian

  • Vendor agnostic way to determine you have a proxy.

    In the Java Persistence API is there a vendor agnostic way to determine that an object is an unitialized proxy? The only thing that seems to be consistent is that trying to access a property on the proxy will throw an exception. Can I determine ahead of time that an exception would be thrown?
    Thanks much.

    You might catch the Exception and have a look at it what it says. Maybe the proxy server is not the reason for the problem. Perhaps Yahoo does not like to be accessed in the way your application does.
    import java.net.*;
    import java.io.*;
    public class URLReader {
        public static void main(String[] args) {
            URL yahoo = new URL("http://www.yahoo.com/");
            BufferedReader in = null;
            try {
                in = new BufferedReader(new InputStreamReader
                                       (yahoo.openStream()) );
                String inputLine;
                while ((inputLine = in.readLine()) != null) {
                    System.out.println(inputLine);
            } catch (Exception e) {
                System.out.println(e.getMessage());
            } finally {
                in.close();

  • When using Migration Assistant to transfer files from my pc, I get an error message saying that an attempt was made to access a socket in a way forbidden by its access permissions.  How can I fix this?

    When using Migration Assistant to transfer files from my pc, I get an error message saying that an attempt was made to access a socket in a way forbidden by its access permissions.  How can I fix this?

    You followed:
    http://www.apple.com/support/switch101/

  • An attempt was made to access a socket in a way forbidden by its access permissions

    Hello, I have the same issue with Windows 7 laptop. unable to connect to the network and if I try ipconfig/renew I receive error 
    an attempt was made to access a socket in a way forbidden by its
    access permissions
    Any idea on whats wrong? I have tried netsh winsock reset, uninstalling the wireless adapter from device manager and reinstalling the drivers but no changes. same error. it started after my laptop installed automatic windows update last night.
    Windows built in Restore utility is a crap and doesn't work.. it fails I tried it twice as well.

    Hi,
    Per my knowledge, the symptom could occur if the replication service tries to use the ports that occupied by others, or by a malfunction NIC. Please try the following
    steps:
    1.      
    Restart the windows firewall service
    2.      
    Reboot the problematic machine
    3.      
    Restart the “TCP/IP stack”.  Run CMD as administrator, type “netsh int ip reset resetlog.txt” to reset TCP/IP.
    4.      
    Try to temporarily disable antivirus.
    I wonder if you could provide the model of the laptop and wireless adapter.
    It will help us move more quickly toward a solution if you could collect the information now.
    Hope that helps
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”

  • An attempt was made to access a socket in a way forbidden by its access permissions -- this.RaiseExceptionIfNecessary();

    I'm relatively new to Azure websites...
    Have made a website that uses a proxy web service to retrieve data from another web service. When I publish the website to my Azure website I get the following error:
    An attempt was made to access a socket in a way forbidden by its access permissions 127.0.0.1:53775
    public string Result {
    Line 250:            get {
    Line 251:                this.RaiseExceptionIfNecessary();
    Line 252:                return ((string)(this.results[0]));
    Line 253:            }
    Probably a configuration issue, but I do not know what is missing. Have seen similar during my research for this but the issues have been more related to databases.
    Can anyone help me here?

    you cannot open new ports on the worker. Better reference the assembly that makes external call and use it directly instead using it as a proxy service
    Galin Iliev [MCSD.NET, MCPD], http://www.galcho.com

  • Authentication/Authorization in an application server independent way

    Hello,
    I want to implement form based authentication and URL authorization (role based) in JSF(+AJAX+REST) application.
    I would like to use container manager authorization in an application server independent way. (e.g. using my code to authenticate against custom user database but using <security-constraint> of web.xml )
    How do I do that ?
    Else I would have to have implement authenticationAuthorizationFilter which reads URL permissions from custom XML file.
    (Filter based security as application uses JSF and AJAX & REST services)
    Are there other options ?
    How is acegi ? Ease of use ?
    Thank You.

    I noticed a project *'SecurityFilter'* (http://www.securityfilter.org/). Anyone using it please share experiences.
    I feel filter is the way to go, ensuring that in code that the 'forwards' are to authorized resources only. Direct GET/POST request to a protected resource will be protected by Filter.
    All: Please comment.

  • Every time I try to down load Itunes I get a message saying installation package could not be opened . Verify the package exist that you can access it Contact vendor

    Everytime I try to download iTunes I get this error message saying, "This Installation package could not be opened. Verify that the package exists and that you can access it.or contact the vendor to verify that this is a valid windows Installer package.

    I had this same issue occur today during update, searched and finally tracked to problem with windows registry. Used online version of windows registry tool "Fix It" (can also download portable version for offline check. I selected Apple updater utility from list to fix and it did it's thing. Returned to my downloaded 10 iTunes adn isntalled perfectly fine.
    http://support.microsoft.com/mats/Program_Install_and_Uninstall
    Good luck. Worked for me back up and running.

  • I recently bought the ipad 2, and before I could sync it to itunes, my pc died. i have so much music in my itunes library that i now have no way to access. Is there a way to get access to my library other than my pc?

    I just recently got the ipad2, but before I had a chance to sync it to itunes, my pc died. I'm pretty new to all of this, so I don't know if there's any way to get access to my itunes library. There is a ton of songs there, most of which I exported from files that were on my pc, so not all of it was purchased through itunes. Does anyone know of a way to get access the itunes library without syncing your device? I'm clueless...

    OMG...I'm glad to know I'm not the only one. Since my computer is a goner, I don't have any other way to access all that music.

  • Access Sequence for Vendor Partner Function

    The business requirement is to display Vendor name for a specific product on UI. Approach till now: Partner function for Vendor can be defined. Relationship between vendor and product can be defined. The following query remains:
    Can someone help me which access sequence (if any existing) can be used for determination of Vendor Partner Function for a Product?
    Any guidance related to the same is welcome.
    Thanks.

    thanks.

  • TS1702 On my iPad 2 the mail app opens and the page icons are there but no mail. I can access my mail in other ways so I know mail is being received.

    On my iPad2 the mail app opens and the page icons are there but no messages are shown. I know mail is being sent as I can access it in other ways plus the envelope icon on my homepage continues to show the number of messages received.
    I have rebooted twice now but cannot think of anything else to do
    Help please

    Go to Settings>Mail the account and turn the account off and then back on
    Next delete the account from the iPad and reenter the settings.

  • Forms not an option in Preferences, Accessibility on Mac. Another way to turn on?

    I believe that I should be able to check Form objects from the Preferences, Accessibility Menu (Mac). But when I bring up the preferences, Form objects is not an option. Is there another way to do this?
    Thank you!

    No form updates so far. 
    What I and others do is simply copy and paste the code manually or put favorite form tags & attributes into your custom Snippets folder.
    http://www.htmldog.com/guides/html/advanced/forms/
    http://www.webstandards.org/learn/tutorials/accessible-forms/intermediate/
    Nancy O.

  • Speed of oracle blob access

    I have a simple table with an id, name and blob field.
    If I load a thousand records into this table and then query for all thousand records it takes about two hundred seconds
    Why so slow?
    if I drop the blob field from the table the time is only a few seconds

    1. How big is the blob?
    2. Talk to someone who tunes Oracle databases. There are many ways to
    optimize table organization in Oracle.
    Peace,
    Cameron Purdy
    Tangosol Inc.
    Tangosol Coherence: Clustered Coherent Cache for J2EE
    Information at http://www.tangosol.com/
    "Calvin R. Smith" <[email protected]> wrote in message
    news:3c3681f8$[email protected]..
    I have a simple table with an id, name and blob field.
    If I load a thousand records into this table and then query for all thousand
    records it takes about two hundred seconds
    Why so slow?
    if I drop the blob field from the table the time is only a few seconds

  • My memebrship has expired and I have exceeded the 30 day limit,  i was away on holiday and unable to access mail, is there any way I can renew my account without having to repurchase?

    Hi there, I have just realised there was a 30 day limit to renew membership, I have missed it by 3 days, I was away on holiday and unable to access my mail, is there someone or a way tht I canavoid having to repurchase?

    Moving this discussion to the Adobe Creative Cloud forum.
    Markh70292302 please contact our support team directly at Contact Customer Care for membership concerns.

Maybe you are looking for

  • Scripting page-turns in a pdf

    I'd like to move between pages in a pdf, by means of a hotkey or similar, without switching focus to the pdf app (e.g., Preview). This would be useful for taking notes in a text editor, for example, where I want to retain the focus on the editor but

  • Can't recognize the Pkcs12

    I programmed to accomplish the downloading of a pkcs12 certificate, but after it had saved in the local disk, I can't open it. It show the error: "This is a invalid Personnel Information Exchange File". my main servlet code is following: InputStreamR

  • When I shake my iPhone 5 there is a loud thumping type sound.

    Any ideas ? Vibrate motor ? Battery? No Idea what's going on but it is very loud and you can feel the Shift in weight when moving / shaking phone. Thanks for any and all help :)

  • Comment

    [email protected] wrote: It seems to me that there should be an easy answer to the following problem, so much so that I feel foolish for submitting it. However, since this is my first posting, it is usually o.k. to be an dimwitted idiot.

  • PDFs from podcasts have lost their link to actual file-

    Is there a quick way to restore all links to the files instead of one at a time? I'm getting the " ! " next to the name in iTunes. Thank you.