Blob interface problem

hi all,
im facing an stylist problem when inserting blob into oracle dbms. im trying in a very simple way like this :
stmt.executeUpdate("insert into picture values('sample1.gif',empty_blob())");
ResultSet rs= stmt.executeQuery("select * from picture where name='sample1.gif' for update");
          rs.next();
          oracle.sql.BLOB blob=(oracle.sql.BLOB)rs.getBlob(2);
          FileInputStream in= new FileInputStream(filename);
          OutputStream os=blob.getBinaryOutputStream();
          int data;
          while((data=in.read())!=-1){
                         os.write(data);
     in.close();
     os.close();
this code is ok but i have an allergy about standerizing my coding so im trying to use the following code :
stmt.executeUpdate("insert into picture values('sample1.gif',empty_blob())");
ResultSet rs= stmt.executeQuery("select * from picture where name='sample1.gif' for update");
          rs.next();
          java.sql.Blob blob=rs.getBlob(2);
          FileInputStream in= new FileInputStream(filename);
          OutputStream os=blob.setBinaryStream(1);
          int data;
          while((data=in.read())!=-1){
                         os.write(data);
     in.close();
     os.close();
but the problem is setBinaryStream(int pos) is not implemented by oracle.sql.BLOB class. my oracle version is 9.0.1.0.1. when i run it,it shows an exception like abtract method error. is there any way not to use the oracle.sql.BLOB for inserting blob into oracle database ?

I can't give a definitive answer but I've observed the same problem.
The ability to get an outputstream to a Clob was only introduced in JDBC 3.0.
Chapter 5 of Oracle's JDBC Developer's Guide and Reference http://download-west.oracle.com/docs/cd/B10501_01/java.920/a96654/jdbc30ov.htm#1004903 mentions that only some JDBC 3.0 features are implemented; none of the mentioned features include the API calls for streaming to a Clob.
T

Similar Messages

  • Interface Problems in Yosemite

    Problem shows up when using software other than the native OS X apps.
    If I attempt to close a window behind the app that has focus by clicking the red x part of the semaphore buttons (top left on every window) it will not work unless I change focus to that app by clicking the bar at the top.
    As an example if I'm using Byword to view a document while composing an email in Airmail once I finished and move on to viewing, say a receipt, in Airmail and want to make a copy of that receipt and place it on the desktop. I'm done with Byword and it is covering the desktop so why not close it and get it out of the way. I move the mouse pointer over the red X part of the semaphore buttons and click, nothing happens. I have to bring Byword into focus by clicking the title bar, then click the red x to finally close the window. If the app below Airmail happened to be Safari the red X works properly.
    On my Mac Mini using Yosemite this works properly for all apps.
    This is only a slight problem but I have been having the odd quirky interface problems for the past while and I'm worried that something has gone south and these may end up adding together to make a very large problem.  Initially I had problems with PopClip which seemed to be screwing around with the interface buttons in Rapidweaver 6. I removed the app to clear that problem using AppDelete.
    While trying to diagnose this problem I have removed all the auto login apps that I can and rebooted several times to no avail.
    Any help would be greatly appreciated!
    EtreCheck version: 2.1.8 (121) log:
    EtreCheck version: 2.1.8 (121)
    Report generated February 5, 2015 at 12:32:53 PM EST
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        iMac (27-inch, Late 2012) (Technical Specifications)
        iMac - model: iMac13,2
        1 3.4 GHz Intel Core i7 CPU: 4-core
        8 GB RAM Upgradeable
            BANK 0/DIMM0
                4 GB DDR3 1600 MHz ok
            BANK 1/DIMM0
                4 GB DDR3 1600 MHz ok
            BANK 0/DIMM1
                Empty 
            BANK 1/DIMM1
                Empty 
        Bluetooth: Good - Handoff/Airdrop2 supported
        Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
        NVIDIA GeForce GTX 680MX - VRAM: 2048 MB
            iMac 2048 x 1152
    System Software: ℹ️
        OS X 10.10.2 (14C109) - Time since boot: 0:0:46
    Disk Information: ℹ️
        APPLE HDD WDC WD10EALX-408EA0 disk1 : (1 TB)
            EFI (disk1s1) <not mounted> : 210 MB
            Recovery HD (disk1s3) <not mounted>  [Recovery]: 650 MB
            Macintosh HD (disk2) / : 1.11 TB (263.43 GB free)
                Core Storage: disk0s2 120.99 GB Online
                Core Storage: disk1s2 999.35 GB Online
        APPLE SSD SM128E disk0 : (121.33 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            Boot OS X (disk0s3) <not mounted> : 134 MB
            Macintosh HD (disk2) / : 1.11 TB (263.43 GB free)
                Core Storage: disk0s2 120.99 GB Online
                Core Storage: disk1s2 999.35 GB Online
    USB Information: ℹ️
        Verbatim Portable USB 3.0 Drive 1 TB
            EFI (disk3s1) <not mounted> : 210 MB
            Verbatim HD (disk3s2) /Volumes/Verbatim HD : 999.86 GB (31.06 GB free)
        Apple Inc. FaceTime HD Camera (Built-in)
        Logitech USB Receiver
        Samsung Electronics Co., Ltd. ML-2160 Series
        Wacom Co.,Ltd. Wacom Wireless Receiver
        Razer Razer 1600dpi Mouse
        Apple Inc. BRCM20702 Hub
            Apple Inc. Bluetooth USB Host Controller
    Thunderbolt Information: ℹ️
        Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Kernel Extensions: ℹ️
            /Applications/Transmit.app
        [not loaded]    com.panic.TransmitDisk.transmitdiskfs (4.0.0 - SDK 10.6) [Click for support]
            /Applications/VMware Fusion.app
        [not loaded]    com.vmware.kext.vmci (90.6.3) [Click for support]
        [not loaded]    com.vmware.kext.vmioplug.14.1.3 (14.1.3) [Click for support]
        [not loaded]    com.vmware.kext.vmnet (0231.47.74) [Click for support]
        [not loaded]    com.vmware.kext.vmx86 (0231.47.74) [Click for support]
        [not loaded]    com.vmware.kext.vsockets (90.6.0) [Click for support]
            /Library/Extensions
        [loaded]    at.obdev.nke.LittleSnitch (4234 - SDK 10.8) [Click for support]
        [loaded]    com.avatron.AVExFramebuffer (1.7 - SDK 10.9) [Click for support]
        [loaded]    com.avatron.AVExVideo (1.7 - SDK 10.9) [Click for support]
        [loaded]    com.globaldelight.driver.Boom2Device (1.1 - SDK 10.10) [Click for support]
        [loaded]    com.logitech.manager.kernel.driver (4.10.1 - SDK 10.8) [Click for support]
        [loaded]    com.sophos.kext.sav (9.2.50 - SDK 10.8) [Click for support]
        [loaded]    com.sophos.nke.swi (9.2.50 - SDK 10.8) [Click for support]
        [not loaded]    com.wacom.kext.ftdi (1 - SDK 10.9) [Click for support]
            /System/Library/Extensions
        [loaded]    com.Logitech.Control Center.HID Driver (3.7.0 - SDK 10.6) [Click for support]
        [loaded]    com.Logitech.Unifying.HID Driver (1.3.0 - SDK 10.6) [Click for support]
        [loaded]    com.eltima.SyncMate.kext (0.2.5b15) [Click for support]
        [loaded]    com.globaldelight.driver.BoomDevice (1.1 - SDK 10.1) [Click for support]
        [loaded]    com.splashtop.driver.SRXDisplayCard (1.6 - SDK 10.7) [Click for support]
        [not loaded]    com.splashtop.driver.SRXFrameBufferConnector (1.6 - SDK 10.7) [Click for support]
        [not loaded]    com.wacom.kext.wacomtablet (6.3.10 - SDK 10.9) [Click for support]
            /System/Library/Extensions/Soundflower.kext
        [not loaded]    com.Cycling74.driver.Soundflower (1.6.6 - SDK 10.6) [Click for support]
    Launch Agents: ℹ️
        [running]    at.obdev.LittleSnitchUIAgent.plist [Click for support]
        [not loaded]    com.adobe.AAM.Updater-1.0.plist [Click for support]
        [running]    com.Logitech.Control Center.Daemon.plist [Click for support]
        [running]    com.logitech.manager.daemon.plist [Click for support]
        [loaded]    com.oracle.java.Java-Updater.plist [Click for support]
        [running]    com.realvnc.vncserver.peruser.plist [Click for support]
        [not loaded]    com.realvnc.vncserver.prelogin.plist [Click for support]
        [running]    com.sophos.uiserver.plist [Click for support]
        [running]    com.wacom.wacomtablet.plist [Click for support]
    Launch Daemons: ℹ️
        [running]    at.obdev.littlesnitchd.plist [Click for support]
        [loaded]    com.adobe.fpsaud.plist [Click for support]
        [running]    com.backblaze.bzserv.plist [Click for support]
        [loaded]    com.barebones.authd.plist [Click for support]
        [loaded]    com.oracle.java.Helper-Tool.plist [Click for support]
        [loaded]    com.oracle.java.JavaUpdateHelper.plist [Click for support]
        [running]    com.realvnc.vncserver.plist [Click for support]
        [loaded]    com.rogueamoeba.instanton-agent.plist [Click for support]
        [loaded]    com.sharpcast.xfsmond.plist [Click for support]
        [loaded]    com.sheepsystems.CocoaPrivilegedHelper.plist [Click for support]
        [running]    com.sophos.common.servicemanager.plist [Click for support]
        [loaded]    de.appgineers.Mountain.Helper.plist [Click for support]
    User Launch Agents: ℹ️
        [loaded]    com.adobe.AAM.Updater-1.0.plist [Click for support]
        [running]    com.backblaze.bzbmenu.plist [Click for support]
        [running]    com.ecamm.printopia.plist [Click for support]
        [loaded]    com.google.keystone.agent.plist [Click for support]
        [loaded]    com.pia.pia_manager.plist [Click for support]
        [loaded]    com.sheepsystems.BookMacster.3EAE0703-42...plist [Click for support]
        [loaded]    com.sheepsystems.BookMacster.3EAE0703-42...plist [Click for support]
        [loaded]    com.valvesoftware.steamclean.plist [Click for support]
        [failed]    ws.agile.1PasswordAgent.plist [Click for support] [Click for details]
    User Login Items: ℹ️
        WD Quick View    Application  (/Library/Application Support/WDSmartware/WDQuickView.app)
    Internet Plug-ins: ℹ️
        FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        QuickTime Plugin: Version: 7.7.3
        Flash Player: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        WacomNetscape: Version: 2.1.0-1 - SDK 10.8 [Click for support]
        Default Browser: Version: 600 - SDK 10.10
        GarminGpsControl: Version: 4.0.2.6 Beta - SDK 10.6 [Click for support]
        WacomTabletPlugin: Version: WacomTabletPlugin 2.1.0.6 - SDK 10.9 [Click for support]
        JavaAppletPlugin: Version: Java 8 Update 31 Check version
    User internet Plug-ins: ℹ️
        Picasa: Version: 1.0 - SDK 10.6 [Click for support]
    Safari Extensions: ℹ️
        1Password
        Clip to DEVONthink
        Choosy
        Ember
        Save to Pocket
        Stache
    3rd Party Preference Panes: ℹ️
        AirServer Preferences  [Click for support]
        Backblaze Backup  [Click for support]
        Choosy  [Click for support]
        Flash Player  [Click for support]
        FUSE for OS X (OSXFUSE)  [Click for support]
        Hazel  [Click for support]
        Java  [Click for support]
        Logitech Control Center  [Click for support]
        Logi Preference Manager  [Click for support]
        Printopia  [Click for support]
        WacomTablet  [Click for support]
        WDQuickView  [Click for support]
        Web Sharing  [Click for support]
    Time Machine: ℹ️
        Skip System Files: NO
        Auto backup: YES
        Volumes being backed up:
            Macintosh HD: Disk size: 1.11 TB Disk used: 848.39 GB
        Destinations:
            Verbatim HD [Local]
            Total size: 999.86 GB
            Total number of backups: 101
            Oldest backup: 2013-11-22 16:26:50 +0000
            Last backup: 2015-02-05 15:55:38 +0000
            Size of backup disk: Too small
                Backup size 999.86 GB < (Disk used 848.39 GB X 3)
    Top Processes by CPU: ℹ️
            12%    mds
             2%    WindowServer
             0%    loginwindow
             0%    fontd
             0%    mds_stores
    Top Processes by Memory: ℹ️
        292 MB    mds_stores
        172 MB    SophosScanD
        172 MB    InterCheck
        155 MB    SophosAntiVirus
        120 MB    Finder
    Virtual Memory Information: ℹ️
        3.32 GB    Free RAM
        2.72 GB    Active RAM
        1.40 GB    Inactive RAM
        1.15 GB    Wired RAM
        1.56 GB    Page-ins
        0 B    Page-outs
    Diagnostics Information: ℹ️
        Feb 5, 2015, 12:30:03 PM    Self test - passed
        Feb 4, 2015, 10:59:58 PM    /Library/Logs/DiagnosticReports/RapidWeaver 6_2015-02-04-225958_[redacted].cpu_resource.diag [Click for details]
        Feb 3, 2015, 03:07:17 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/WebKitPluginHost_2015-02-03-15 0717_[redacted].crash
        Feb 3, 2015, 03:02:23 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/WebKitPluginHost_2015-02-03-15 0223_[redacted].crash
        Jan 15, 2015, 08:04:41 PM    /Library/Logs/DiagnosticReports/Kernel_2015-01-15-200441_[redacted].panic [Click for details]

    Try un-installing Sophos.
    Sophos Un-install

  • Interface Problems: DBA = Data Pump = Export Jobs (Job Name)

    Hello Folks,
    I need your help in troubleshooting an SQL Developer interface problem.
    DBA => Data Pump => Export Jobs (Job Name) => Data Pump Export => Job Scheduler (Step):
    -a- Job Name and Job Description fields are not visible. Well the fields are there but each of them just 1/2 character wide. I can't see/enter anything in the fields.
    Import Wizard:
    -b- Job Name field under the first "Type" wizard's step looks exactly the same as in Export case.
    -c- Can't see any row under "Chose Input Files" section (I see just ~1 mm of the first row and everything else is hidden).
    My env:
    -- Version 3.2.20.09, Build MAIN-09.87
    -- Windows 7 (64 bit)
    It could be related to the fact that I did change fonts in the Preferences. As I don't know what is the default font I can't change it back to the default and test (let me know what is the default and I will test it).
    PS
    -- Have tried to disable all extensions but DBA Navigator (11.2.0.09.87). It didn't help
    -- There are no any messages in the console if I run SQL Dev under cmd "sqldeveloper\bin\sqldeveloper.exe
    Any help is appreciated,
    Yury

    Hi Yury,
    a-I see those 1/2 character size text boxes (in my case on frequency) when the pop up dialog is too small - do they go away when you make it bigger?
    b- On IMPORT the name it starts with IMPORT - if it is the half character issue have you tried making the dialog bigger?
    c-I think it is size again but my dialog at minimum size is already big enough.
    Have you tried a smaller font - or making the dialogs bigger (resizing from the corners).
    I have a 3.2.1 version where I have not changed the fonts from Tools->Preferences->CodeEditor->Fonts appears to be:
    Font Name: DialogInput
    Font size: 12
    Turloch
    -SQLDeveloper Team

  • Any ideas about interface problems on 2014.1.1?

    On a fresh install of 2014.1.1 on a new macbook pro I am having interface problems. The Edge program locks up after a few minutes or the cursor won't show what's being selected, items disappear, sometimes get the "Save your work, error occurred" message and other odd interface behavior. Are there any known issues or likely culprits that might cause this sort of thing?

    Thanks for jumping in. Yes, I've restored prefs and even uninstalled all (including prefs) and reinstalled. If it helps at all, I run several cloud apps (googledrive, dropbox, icloud, box, transporter, etc.). Other installed items include a Wacom tablet driver, latest Java, Flash player, Logitech mouse driver. Other than those the mac is brand new with no unusual system mods yet.
    Appreciate any ideas.

  • Interfacing problem

    Dear All gurus/experts,
    I need help from you to solve an interface problem. The problem is how to create interface where I want to implement HR application (java) and SAP B1. I am really confusing to the stepwise I must do in creating interface.Do I must define fields/columns, forms, document or report in the SAP B1 side first and then compare to the HR application fields/columnc/forms/documents/reports. The difference between them then fixed and created if required. The main purpose is all the HR process will be handled by HR Application and the data will be sent to SAP B1. The data directly posted to G/L  for example payroll, expenses relate to HR and also pension. is it possible for me to create a template and then the template update to SAP B1 using Data transfer workbench (DTW) ? the application can be updated the data file into CSV, txt, etc. If you have any experience about that, pls share to me.  I appreciate your answer so much.
    TIA.
    Rgds,

    Tks for your answer. Actually it is interfacing other product or solutions, for example human resource solutions or from microsoft dynamics manufacturing module. is it possible to do that ? I appreciate your answer. TIA
    Rgds,

  • AP Invoice Open Interface Problem

    Hi,
    Im trying to load invoices through the open interface for AP. I am getting some invoices in but for some reason a large volume of the invoices are being rejected. The open interface is not logging any errors in ap_interface_rejections or on the interface report. It just ignores them. I can see in the log that 900 invoices got selected but only 300 created. HAs anyone had this problem and if so how to get around it?
    Thanks
    Keith

    Hi Keith,
    If this is a production environment I strongly suggest you raise an SR for this issue, as there are some known bugs for rejection of invoices during Open Interface run and Oracle support reps will be able to better help you.
    Please see:
    APXIIMPT: Payables Open Interface Rejects Invoices With Reason - INVALID_GLOBAL_CONTEXT (Doc ID 1548209.1)
    Payables Open Interface Import is not showing some of the Rejected Invoices in the Output Reports. (Doc ID 1476796.1)
    Thanks &
    Best Regards,

  • Interface Problem Sync/Async (Open Bridge)

    Hello everyone,
    we made the migration from PI 7 to PI 7.01 EHP1 SP7.
    After this migration, the Sync interface with BPM (Opens Bridge), began to give trouble.
    It turns out that the interface in SMQ2 stand still for a long time, and after some time, timeout error occurs.
    In transaction SXMS_SAMON, I noticed that some processes are in timeout.
    It seems the problem is that the interfaces are entering the SMQ2, in PI can not sue for any reason.
    Has also altered the value of the parameter CHECK_FOR_MAX_SYNC_CALLS most did not.
    Does anyone have any idea how we can solve this problem ?
    Thank you all.
    Marlon

    Interface Mapping is between SOAP Request <--> Your XML message Request Response.
    Only one interface mapping is required.
    Message Interface Required
    1. SOAP Synchronous
    2. XML Request Async
    3. XML Resp Async
    4. XML Message Request Response Sync
    Gaurav Jain
    Reward Points if answer is helpful

  • Intel Management Engine Interface problem.

    Hi evryone, i have problem with Intel Management Engine Interface on my laptop HP Elitebook 8470p, I did:
    - Install driver for MEI by Drivers, Software and Firmware for HP EliteBook ... 
    - Update new bios by Drivers, Software and Firmware for HP EliteBook ... 
    But when i open Device Manager , Intel Manager Engine Interface cannot start (error code 10)
    - When i restart then open Device Manger, device MEI have not list in Device Manager.
    But when I shut down and turn on laptop, device MEI list in Device Manager with error code 10.
    Any body can help me? Thanks.

    Hi bondpham,
    Welcome to the HP Support Forums!
    To get your issue more exposure I would suggest posting it in the commercial forums since the {insert product model} is a commercial product. You can do this at HP Enterprise Business Community.
    The support page for your product may be helpful in the meantime: HP EliteBook 8470p Notebook PC Support.
    I hope this helps, good luck!
    I worked on behalf of HP.

  • Releasing billing doc to accounting with FICO Interface problem

    Dear all,
    I have problem while releasing billing doc to accounting.
    When I use TCODE VF02, to release, I got the message :
    Condition type MWST tax code A1 does not exist
    Message no. FF762
    Diagnosis
    When calculating tax, the system tried to determine the condition amount and the condition number from tables A003 and A053 using the specified condition type and tax code. However, no values were found there.
    System Response
    The specified amount cannot be posted in FI.
    Procedure
    Check the Customizing settings for the specified tax code. Check whether the validity period (possible with tax jurisdictions) is defined.
    I have checked the condition Record MWST for tax code A1 through Analysis, and the value is already there
    I have checked the condition though TCODE VK12, the value is already there
    I have checked the condition though TCODE FTXP, the tax code is already maintain
    when I checked with TCODE VFX3, I saw the Posting Status is Error In Accounting Interface
    I might be not saw it thoroughly..
    What should I do ...?
    Regards,
    Rizki Harris

    Hi,
    Check whether account determination is done in OB40 (by FI people).
    there we have to assign the GL account for that tax condition account key (MWS) with Tax code A1.
    For this goto OB40 and double click on MWS transaction and you can see the tax code and GL account if you maintained here.

  • Vista 64bit and iTunes 8.2.0.23 - interface problems

    I've had these strange iTunes interface issues ever since I moved to Vista 64bit a while ago.
    I can't adjust the volume using the volume slider at the top of the iTunes window (to the right of the Play buttons) The volume slider won't respond to my mouse.
    I can't scroll the library window using the scroll bar on the right side of the iTunes window. I have to either scroll with my mouse wheel or click the arrows at the top and bottom of the scroll bar.
    I also can't resize the library columns. They are either very narrow, or if I double click the column edge they will auto resize, then I am stuck with them set at the widest item in the list.
    I recently uninstalled iTunes, QuickTime, Bonjour, Apple Mobile Devices and the Apple Updater. I then searched my Hard Drive and Registry for anything left over from Apple or iTunes and deleted it.
    I then downloaded and installed the latest iTunes, hoping that these issues would be resolved, but I am still having the same issues with the latest version.
    Any ideas would be welcome.
    I just realized I have another issue. I can't import my playlists from Windows Media Player either. I've added my Music folder to the iTunes playlist (the same one that Windows Media Player users) and went to File -> Library -> Import Play list -> chose my WMP playlist (a .wpl file) -> clicked Open and nothing happens.
    Message was edited by: Apr2009

    Ok, so I saved my Windows Media Player playlist as M3U files and imported them into iTunes. Wow! What a complete mess that made of my library.
    All songs that were on the playlists (hundreds of songs) were duplicated in my iTunes library. iTunes would show two entries for each song. When I right clicked and choose 'Show in Windows Explorer' both entries point to the same song, it just shows up twice in iTunes.
    I cleared my iTunes library file and am starting over. I'm thinking about just going back to Windows Media Player. I've been listening to music off my Blackberry and it's really been fine. Just seemed a shame that my iPod was sitting in a drawer because of all the issues I'm having with iTunes and Vista.
    The original problem I had months ago was that iTunes crashed on Vista and lost all my Playlists. I was so upset I put all my music on my SD card on my Blackberry, because Windows Media Player makes it so easy to back up your playlists. They are saved as files and can be included in any automatic backups (I have scheduled backups to another hard drive)
    I thought with this new version of iTunes I could at least export the playlists to files so they can be backed up, I just don't know if I can face re-creating the playlists in iTunes.

  • Urgent help about Interface problem

      Please take a look at the following picture:
    Description:The vitual keyboard doesn't disappear when I slide to the leftmost "Search :iPhone" and then slide to the right.Whatever I slide the interface It remains until I start an app ! What is the problem?
    Location:China mainland
    OS:iOS 5.1, Not  Jailbreak
    问题描述:如图所示,当滑动到最左面的"搜索:iPhone"后,再向右滑动,该虚拟键盘不消失,此时,不论左滑还是右滑,都是这种情况,只有当点击一个程序时,它才会消 失!
    位置:中国大陆
    <Edited by Host>

    Please ignore - DOH
    Mental Block removed, twas a silly mistake ;-) When I had tried it earlier this way I had made a typo.

  • Blob mapping problem

    Hi,
    I have some problems with blob mapping.
    I map a Serializable field in a BLOB column (in MySQL 4.1 w/ latest Kodo
    version) using following metadata:
    <field name="metadata" persistence-modifier="persistent">
    <extension vendor-name="kodo" key="type" value="Object"/>
    <!-- extension vendor-name="kodo" key="jdbc-size" value="-1"/ -->
    </field>
    <field name="metadata">
    <jdbc-field-map type="blob" column="METADATA"/>
    </field>
    Making the object persistent works well. The generated SQL is
    INSERT INTO ATTRIBUTE_TYPE (METADATA, NAME, POID)
    VALUES (?, ?, ?)
    [params=(InputStream) java.io.ByteArrayInputStream@1c9b9ca, (String)
    IntegerNew3, (long) 250] [reused=0]
    Problems occur when I try to load the object. I get a ClassCastException
    (see below). For information:
    - I have saved the blob to my hard disk, and read it using
    ObjectInputStream, and it works fine. So, the object is correctly stored.
    - I have set the field in my Java class to java.lang.Object (instead of
    my class implementing Serializable), and then it works fine too.
    SELECT t0.POID, t0.NAME
    FROM ATTRIBUTE_TYPE t0
    WHERE (t0.NAME = ?)
    [params=(String) IntegerNew3] [reused=0]
    5578 TRACE [main] kodo.jdbc.SQL - <t 4219289, conn 4729123> [15 ms]
    executing prepstmnt 2614099
    SELECT t0.METADATA
    FROM ATTRIBUTE_TYPE t0
    WHERE t0.POID = ?
    [params=(long) 250] [reused=0]
    Exception in thread "main" kodo.util.GeneralException:
    java.lang.ClassCastException: [B
         at kodo.runtime.StateManagerImpl.loadFields(StateManagerImpl.java:3155)
         at kodo.runtime.StateManagerImpl.loadField(StateManagerImpl.java:3227)
         at kodo.runtime.StateManagerImpl.isLoaded(StateManagerImpl.java:1368)
         at
    be.banksys.tams.model.base.AttributeType.jdoGetmetadata(AttributeType.java)
         at
    be.banksys.tams.model.base.AttributeType.getMetadata(AttributeType.java:50)
         at be.banksys.tams.model.base.Essai.main(Essai.java:55)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
    NestedThrowablesStackTrace:
    java.lang.ClassCastException: [B
         at
    be.banksys.tams.model.base.AttributeType.jdoReplaceField(AttributeType.java)
         at kodo.runtime.StateManagerImpl.replaceField(StateManagerImpl.java:3256)
         at
    kodo.runtime.StateManagerImpl.storeObjectField(StateManagerImpl.java:2640)
         at kodo.runtime.StateManagerImpl.storeObject(StateManagerImpl.java:2624)
         at kodo.jdbc.meta.BlobFieldMapping.load(BlobFieldMapping.java:231)
         at
    kodo.jdbc.runtime.JDBCStoreManager.loadMappings(JDBCStoreManager.java:1019)
         at
    kodo.jdbc.runtime.JDBCStoreManager.loadMappings(JDBCStoreManager.java:970)
         at kodo.jdbc.runtime.JDBCStoreManager.load(JDBCStoreManager.java:510)
         at
    kodo.runtime.DelegatingStoreManager.load(DelegatingStoreManager.java:133)
         at kodo.runtime.ROPStoreManager.load(ROPStoreManager.java:79)
         at kodo.runtime.StateManagerImpl.loadFields(StateManagerImpl.java:3128)
         at kodo.runtime.StateManagerImpl.loadField(StateManagerImpl.java:3227)
         at kodo.runtime.StateManagerImpl.isLoaded(StateManagerImpl.java:1368)
         at
    be.banksys.tams.model.base.AttributeType.jdoGetmetadata(AttributeType.java)
         at
    be.banksys.tams.model.base.AttributeType.getMetadata(AttributeType.java:50)
         at be.banksys.tams.model.base.Essai.main(Essai.java:55)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
    Regards,
    J-F

    Patrick Linskey wrote:
    Hi,
    This is a known issue with MySQL, and Kodo 3.3.3 has a workaround for it
    -- set the DBDictionary DriverDeserializesBlobs property to false:
    kodo.jdbc.DBDictionary: DriverDeserializesBlobs=false
    -PatrickDon't take it bad, but then why don't you put it in the MySQL known issues
    in the documentation. It is a pity to waste hours on a known problem.
    J-F

  • Persist document in BLOB column problem

    Hi all,
    I'm having problem with persisting document in BLOB column.
    Using debuger I checked that document.doc contains correctly uploaded file before persist. There are other attributes of document and they are persisted correctly, but when I check blob size in database it size is 1byte which is incorrect.
    After I persist second file, first one get his correct size value, and size of second one is 1byte.
    If I stop weblogic server, second value will never be populated. If I only restart application without restarting server, and then upload third document, size of second one will be corrected.
    Oracle JDeveloper 11g R1 11.1.1.2.0
    Oracle DataBase 10gR2
    Using ADF 11g RC & EJB
    I set id manually.
    Entity Document.java:...
    @Entity
    @NamedQueries({
      @NamedQuery(name = "Document.findAll", query = "select o from Document o")
    public class Document implements Serializable {
        @Id
        private Long id;
        @Lob
        private byte[] doc;
        private String title;
        private String type;
    }Here is persistence.xml:
    <?xml version="1.0" encoding="UTF-8" ?>
    <persistence xmlns="http://java.sun.com/xml/ns/persistence"
                 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                 xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
                 version="1.0">
      <persistence-unit name="Model">
        <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
        <jta-data-source>jdbc/FileUDS</jta-data-source>
        <class>fu.model.entity.Document</class>
        <properties>
          <property name="eclipselink.target-server" value="WebLogic_10"/>
          <property name="javax.persistence.jtaDataSource" value="jdbc/FileUDS"/>
        </properties>
      </persistence-unit>
    </persistence>Here is sample project with DDL for document table:[url http://uploading.com/files/52m65757/TestFileUpload.zip]TestFileUpload.zip

    Finest log when it doesn't work:
    [EL Finest]: 2010-09-22 15:01:12.732--ServerSession(32436700)--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Begin deploying Persistence Unit Model; state Predeployed; factoryCount 1
    [EL Finest]: 2010-09-22 15:01:12.748--ServerSession(32436700)--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Begin weaver class transformer processing class [fu.model.entity.Dummy].
    [EL Finest]: 2010-09-22 15:01:12.748--ServerSession(32436700)--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Weaved persistence (PersistenceEntity) [fu.model.entity.Dummy].
    [EL Finest]: 2010-09-22 15:01:12.748--ServerSession(32436700)--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Weaved change tracking (ChangeTracker) [fu.model.entity.Dummy].
    [EL Finest]: 2010-09-22 15:01:12.748--ServerSession(32436700)--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Weaved fetch groups (FetchGroupTracker) [fu.model.entity.Dummy].
    [EL Finest]: 2010-09-22 15:01:12.748--ServerSession(32436700)--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--End weaver class transformer processing class [fu.model.entity.Dummy].
    [EL Finer]: 2010-09-22 15:01:12.794--ServerSession(32436700)--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Could not initialize Validation Factory. Encountered following exception: java.lang.NoClassDefFoundError: javax/validation/Validation
    [EL Finest]: 2010-09-22 15:01:12.81--ServerSession(32436700)--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--property=eclipselink.target-server; value=WebLogic_10; translated value=org.eclipse.persistence.platform.server.wls.WebLogic_10_Platform
    [EL Finest]: 2010-09-22 15:01:12.81--ServerSession(32436700)--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--property=eclipselink.logging.level; value=FINEST; translated value=FINEST
    [EL Finest]: 2010-09-22 15:01:12.81--ServerSession(32436700)--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--property=eclipselink.logging.level; value=FINEST; translated value=FINEST
    [EL Finest]: 2010-09-22 15:01:12.81--ServerSession(32436700)--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--property=eclipselink.target-database; value=Oracle10g; translated value=org.eclipse.persistence.platform.database.oracle.Oracle10Platform
    [EL Finest]: 2010-09-22 15:01:12.826--ServerSession(32436700)--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--property=javax.persistence.jtaDataSource; value=jdbc/OracleTextDS
    [EL Finest]: 2010-09-22 15:01:12.841--ServerSession(32436700)--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--property=eclipselink.cache.shared.default; value=false; translated value=false
    [EL Finest]: 2010-09-22 15:01:12.841--ServerSession(32436700)--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--property=eclipselink.jdbc.native-sql; value=true
    [EL Info]: 2010-09-22 15:01:12.873--ServerSession(32436700)--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--EclipseLink, version: Eclipse Persistence Services - 1.2.0.v20091016-r5565
    [EL Info]: 2010-09-22 15:01:12.873--ServerSession(32436700)--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Server: WebLogic Server 10.3.2.0  Tue Oct 20 12:16:15 PDT 2009 1267925
    [EL Config]: 2010-09-22 15:01:12.888--ServerSession(32436700)--Connection(25502890)--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--connecting(DatabaseLogin(
         platform=>Oracle10Platform
         user name=> ""
         connector=>JNDIConnector datasource name=>jdbc/OracleTextDS
    [EL Config]: 2010-09-22 15:01:12.951--ServerSession(32436700)--Connection(31684552)--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Connected: jdbc:oracle:thin:@itimserver:1521:omnidb
         User: OTEXT
         Database: Oracle  Version: Oracle Database 10g Release 10.2.0.1.0 - Production
         Driver: Oracle JDBC driver  Version: 11.1.0.7.0-Production
    [EL Config]: 2010-09-22 15:01:12.966--ServerSession(32436700)--Connection(13432760)--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--connecting(DatabaseLogin(
         platform=>Oracle10Platform
         user name=> ""
         connector=>JNDIConnector datasource name=>jdbc/OracleTextDS
    [EL Config]: 2010-09-22 15:01:12.966--ServerSession(32436700)--Connection(10190221)--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Connected: jdbc:oracle:thin:@itimserver:1521:omnidb
         User: OTEXT
         Database: Oracle  Version: Oracle Database 10g Release 10.2.0.1.0 - Production
         Driver: Oracle JDBC driver  Version: 11.1.0.7.0-Production
    [EL Info]: 2010-09-22 15:01:13.576--ServerSession(32436700)--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--file:/C:/oracle/Middleware/jdeveloper/system11.1.1.2.36.55.36/o.j2ee/drs/TestFileUpload/ModelEJB.jar/-Model login successful
    [EL Finest]: 2010-09-22 15:01:13.591--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--The applicationName for the MBean attached to session [file:/C:/oracle/Middleware/jdeveloper/system11.1.1.2.36.55.36/o.j2ee/drs/TestFileUpload/ModelEJB.jar/-Model] is [TestFileUpload]
    [EL Finest]: 2010-09-22 15:01:13.591--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--The moduleName for the MBean attached to session [file:/C:/oracle/Middleware/jdeveloper/system11.1.1.2.36.55.36/o.j2ee/drs/TestFileUpload/ModelEJB.jar/-Model] is [TestFileUpload-ViewController-context-root]
    [EL Finest]: 2010-09-22 15:01:13.591--ServerSession(32436700)--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--End deploying Persistence Unit Model; state Deployed; factoryCount 1
    [EL Finer]: 2010-09-22 15:01:13.623--ServerSession(32436700)--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--client acquired
    [EL Finer]: 2010-09-22 15:01:13.623--UnitOfWork(9288343)--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--TX binding to tx mgr, status=STATUS_ACTIVE
    [EL Finest]: 2010-09-22 15:01:13.623--UnitOfWork(9288343)--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--PERSIST operation called on: fu.model.entity.Document@d52347.
    [EL Finer]: 2010-09-22 15:01:13.638--UnitOfWork(9288343)--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--TX beforeCompletion callback, status=STATUS_ACTIVE
    [EL Finer]: 2010-09-22 15:01:13.638--UnitOfWork(9288343)--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--begin unit of work commit
    [EL Finer]: 2010-09-22 15:01:13.654--ClientSession(22623994)--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--TX beginTransaction, status=STATUS_ACTIVE
    [EL Finest]: 2010-09-22 15:01:13.669--UnitOfWork(9288343)--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Execute query InsertObjectQuery(fu.model.entity.Document@d52347)
    [EL Finest]: 2010-09-22 15:01:13.685--ClientSession(22623994)--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--reconnecting to external connection pool
    [EL Fine]: 2010-09-22 15:01:13.685--ClientSession(22623994)--Connection(6662457)--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--INSERT INTO DOCUMENT (ID, TITLE, DOC, TYPE) VALUES (?, ?, ?, ?)
         bind => [106, Oracle Text 106, [B@b48094, DOC]
    [EL Fine]: 2010-09-22 15:01:13.732--ClientSession(22623994)--Connection(6662457)--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--SELECT DOC FROM DOCUMENT WHERE (ID = ?) FOR UPDATE
         bind => [106]
    [EL Finest]: 2010-09-22 15:01:13.873--ClientSession(22623994)--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Writing BLOB value(size = 152,064 bytes) through the locator to the table field: DOC
    [EL Finer]: 2010-09-22 15:01:13.888--UnitOfWork(9288343)--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--TX afterCompletion callback, status=COMMITTED
    [EL Finer]: 2010-09-22 15:01:13.888--UnitOfWork(9288343)--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--end unit of work commit
    [EL Finer]: 2010-09-22 15:01:13.888--UnitOfWork(9288343)--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--release unit of work
    [EL Finer]: 2010-09-22 15:01:13.888--ClientSession(22623994)--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--client releasedFinest log when it works:
    [EL Finest]: 2010-09-22 15:09:29.741--ServerSession(29669964)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Begin deploying Persistence Unit Model; state Predeployed; factoryCount 1
    [EL Finer]: 2010-09-22 15:09:29.787--ServerSession(29669964)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Could not initialize Validation Factory. Encountered following exception: java.lang.NoClassDefFoundError: javax/validation/Validation
    [EL Finest]: 2010-09-22 15:09:29.803--ServerSession(29669964)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--property=eclipselink.target-server; value=WebLogic_10; translated value=org.eclipse.persistence.platform.server.wls.WebLogic_10_Platform
    [EL Finest]: 2010-09-22 15:09:29.803--ServerSession(29669964)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--property=eclipselink.logging.level; value=FINEST; translated value=FINEST
    [EL Finest]: 2010-09-22 15:09:29.803--ServerSession(29669964)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--property=eclipselink.logging.level; value=FINEST; translated value=FINEST
    [EL Finest]: 2010-09-22 15:09:29.803--ServerSession(29669964)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--property=eclipselink.target-database; value=Oracle10g; translated value=org.eclipse.persistence.platform.database.oracle.Oracle10Platform
    [EL Finest]: 2010-09-22 15:09:29.834--ServerSession(29669964)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--property=javax.persistence.jtaDataSource; value=jdbc/OracleTextDS
    [EL Finest]: 2010-09-22 15:09:29.834--ServerSession(29669964)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--property=eclipselink.cache.shared.default; value=false; translated value=false
    [EL Finest]: 2010-09-22 15:09:29.834--ServerSession(29669964)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--property=eclipselink.jdbc.native-sql; value=true
    [EL Info]: 2010-09-22 15:09:29.866--ServerSession(29669964)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--EclipseLink, version: Eclipse Persistence Services - 1.2.0.v20091016-r5565
    [EL Info]: 2010-09-22 15:09:29.866--ServerSession(29669964)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Server: WebLogic Server 10.3.2.0  Tue Oct 20 12:16:15 PDT 2009 1267925
    [EL Config]: 2010-09-22 15:09:29.881--ServerSession(29669964)--Connection(16935504)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--connecting(DatabaseLogin(
         platform=>Oracle10Platform
         user name=> ""
         connector=>JNDIConnector datasource name=>jdbc/OracleTextDS
    [EL Config]: 2010-09-22 15:09:29.944--ServerSession(29669964)--Connection(32957960)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Connected: jdbc:oracle:thin:@itimserver:1521:omnidb
         User: OTEXT
         Database: Oracle  Version: Oracle Database 10g Release 10.2.0.1.0 - Production
         Driver: Oracle JDBC driver  Version: 11.1.0.7.0-Production
    [EL Config]: 2010-09-22 15:09:29.944--ServerSession(29669964)--Connection(7874461)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--connecting(DatabaseLogin(
         platform=>Oracle10Platform
         user name=> ""
         connector=>JNDIConnector datasource name=>jdbc/OracleTextDS
    [EL Config]: 2010-09-22 15:09:29.944--ServerSession(29669964)--Connection(7387593)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Connected: jdbc:oracle:thin:@itimserver:1521:omnidb
         User: OTEXT
         Database: Oracle  Version: Oracle Database 10g Release 10.2.0.1.0 - Production
         Driver: Oracle JDBC driver  Version: 11.1.0.7.0-Production
    [EL Info]: 2010-09-22 15:09:30.428--ServerSession(29669964)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--file:/C:/oracle/Middleware/jdeveloper/system11.1.1.2.36.55.36/o.j2ee/drs/TestFileUpload/ModelEJB.jar/-Model login successful
    [EL Finest]: 2010-09-22 15:09:30.444--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--The applicationName for the MBean attached to session [file:/C:/oracle/Middleware/jdeveloper/system11.1.1.2.36.55.36/o.j2ee/drs/TestFileUpload/ModelEJB.jar/-Model] is [TestFileUpload]
    [EL Finest]: 2010-09-22 15:09:30.444--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--The moduleName for the MBean attached to session [file:/C:/oracle/Middleware/jdeveloper/system11.1.1.2.36.55.36/o.j2ee/drs/TestFileUpload/ModelEJB.jar/-Model] is [TestFileUpload-ViewController-context-root]
    [EL Finest]: 2010-09-22 15:09:30.444--ServerSession(29669964)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--End deploying Persistence Unit Model; state Deployed; factoryCount 1
    [EL Finer]: 2010-09-22 15:09:30.475--ServerSession(29669964)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--client acquired
    [EL Finer]: 2010-09-22 15:09:30.491--UnitOfWork(5094647)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--TX binding to tx mgr, status=STATUS_ACTIVE
    [EL Finest]: 2010-09-22 15:09:30.491--UnitOfWork(5094647)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--PERSIST operation called on: fu.model.entity.Document@1b12136.
    [EL Finest]: 2010-09-22 15:09:30.491--UnitOfWork(5094647)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--PERSIST operation called on: fu.model.entity.Dummy@1fc0ac1.
    [EL Finer]: 2010-09-22 15:09:30.491--UnitOfWork(5094647)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--TX beforeCompletion callback, status=STATUS_ACTIVE
    [EL Finer]: 2010-09-22 15:09:30.491--UnitOfWork(5094647)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--begin unit of work commit
    [EL Finer]: 2010-09-22 15:09:30.506--ClientSession(3813659)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--TX beginTransaction, status=STATUS_ACTIVE
    [EL Finest]: 2010-09-22 15:09:30.537--UnitOfWork(5094647)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Execute query InsertObjectQuery(fu.model.entity.Document@1b12136)
    [EL Finest]: 2010-09-22 15:09:30.553--ClientSession(3813659)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--reconnecting to external connection pool
    [EL Fine]: 2010-09-22 15:09:30.553--ClientSession(3813659)--Connection(31488401)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--INSERT INTO DOCUMENT (ID, TITLE, DOC, TYPE) VALUES (?, ?, ?, ?)
         bind => [107, Oracle Text 107, [B@88e6ad, DOC]
    [EL Fine]: 2010-09-22 15:09:30.584--ClientSession(3813659)--Connection(31488401)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--SELECT DOC FROM DOCUMENT WHERE (ID = ?) FOR UPDATE
         bind => [107]
    [EL Finest]: 2010-09-22 15:09:30.725--ClientSession(3813659)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Writing BLOB value(size = 152,064 bytes) through the locator to the table field: DOC
    [EL Finest]: 2010-09-22 15:09:30.725--UnitOfWork(5094647)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Execute query InsertObjectQuery(fu.model.entity.Dummy@1fc0ac1)
    [EL Fine]: 2010-09-22 15:09:30.725--ClientSession(3813659)--Connection(31488401)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--INSERT INTO DUMMY (ID, DUMMYCOLUMN, DOCUMENT_ID) VALUES (?, ?, ?)
         bind => [107, null, null]
    [EL Finer]: 2010-09-22 15:09:30.772--UnitOfWork(5094647)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--TX afterCompletion callback, status=COMMITTED
    [EL Finer]: 2010-09-22 15:09:30.772--UnitOfWork(5094647)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--end unit of work commit
    [EL Finer]: 2010-09-22 15:09:30.772--UnitOfWork(5094647)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--release unit of work
    [EL Finer]: 2010-09-22 15:09:30.772--ClientSession(3813659)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--client releasedRegards,
    Alexandar

  • File to Essbase Interface Problem

    Hi,
    I have a interface from text file to essbase cube.
    but I have a problem as below;
    Have you any suggestions?
    thanks...
    [2011-12-13T15:43:39.379+02:00] [odi] [WARNING] [] [oracle.odi.agent] [tid: 14] THROW[[
    com.sunopsis.jdbc.driver.file.redir.NotImplementedException
         at com.sunopsis.jdbc.driver.file.redir.FileConnection.rollback(FileConnection.java:57)
         at com.sunopsis.dwg.dbobj.SnpSession.rollbackAllTansactions(SnpSession.java:3218)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2099)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:322)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:224)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:246)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:237)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:794)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:114)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
         at java.lang.Thread.run(Thread.java:662)
    [2011-12-13T15:43:39.379+02:00] [] [ERROR] [ODI-1217] [] [tid: 14] [arg: File_to_Essbase_ANSI] [arg: 53001] [arg: 7000] Session File_to_Essbase_ANSI (53001) fails with return code 7000.[[
    ODI-1226: Step File_to_Essbase_ANSI fails after 1 attempt(s).
    ODI-1240: Flow File_to_Essbase_ANSI fails while performing a Loading operation. This flow loads target table Projects.
    Caused By: java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
         at java.util.Vector.elementAt(Vector.java:427)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.getBindVar(SnpSessTaskSql.java:1860)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execCollOrders(SnpSessTaskSql.java:643)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2815)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2515)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:534)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:449)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1954)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:322)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:224)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:246)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:237)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:794)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:114)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
         at java.lang.Thread.run(Thread.java:662)
    ]]

    Murali,
    You get this error when  Adapter specific attributes are missing..
    Maintain Adapter Specific Attributes for business system in Integration directory.
    Select your business system...Then select Service-->Adpater Specific identifiers.
    from right hand window..
    Set Logical System ID(of  R/3 system), R/3System ID and client.
    Let us know if you need more details.
    Nilesh

  • M-Box audio interface problem

    My M-box audio interface does not show up in the audio in/out preferences for my audio applications. I have to boot up the computer while it is plugged in (via USB) in order for it to show up and function. I have tested the USB cable and other USB devices work in both ports, ruling out a problem with USB ports. Any idea?
    Thank you

    bbbberny wrote:
    I can't get it to work with itunes, or any program that outputs sound
    For that to happen you also have to open the Sound panel in *System Preferences* and designate your Tascam as the output (and input-) device.
    On the 'audio midi setup' in utilities (under applications in finder), it has the device listed, but doesn't necessarily say it is connected...
    If it isn't connected, it won't show up in AMS. so if it shows up, it's connected.
    The device comes with its own application called 'FW-1804 manager', which does detect it when it is connected and on. A little green light appears on this program to show that audio is enabled.
    Have you investigated that Program thoroughly?
    The device has 12 outputs, 8 of which are adat, 2 spdif, then the 2 main analogue outputs. It doesn't say which is which in the list of outputs within 'audio midi setup', it just numbers them 1 to 12.
    Here your Tascam manual should shed light on what is what. Or you may have to assign those in the control software.
    The levels by each output slider are all set to 0 and are greyed out and unchangeable, whereas when the output is set to 'built in output', the faders are available to adjust.
    Yes, those only appear with built in audio - that's normal. You have to set the sliders in the control program.
    Does this mean that the output routing is incorrectly set up, or something along those lines? I'm pretty sure it should work, it says it is leopard and intel mac compliant.
    Yes, probably.
    And it does still work with the PC, leading me to believe i just need to change some settings?
    Yep.
    Could it be anything to do with the fact that it is a FW-400 device, with a 6 pin connection, and I am using a 6 - 9 pin cable to connect it to the FW-800 bus on the mac?
    No. If the cable was faulty, it would not have shown up in the AMS utility.

Maybe you are looking for

  • Set Page "HEIGHT" ---Very Urgent, Please Help me on this issue. Please.

    Hi all , Very Urgent, Please Help me on this issue. when_now_form trigger i set set maximize the window and MDI. And my window and canvas is same height (1500). The formsweb.cfg also changed to 1500. But still I can not view full page on web. Where t

  • Why did Mavericks block my access to iPhoto?

    It warned me on install that Photoshop Elements wouldn't work, but I don't recall seeing it tell me that iphoto would be torpedoed too.  Is there an easy fix?  I assume all the photos on my drive are still there, just inaccessible right now.

  • Router compatible with windows 8?

    I have windows 8.  Is the Netgear N300 Wireless Router (model WNR2000) compatible with windows 8?

  • IE Tester vs. Adobe BrowserLab

    Which website tester is more accurate out of IE Tester and Adobe BrowserLab? I sometimes get different results, but usually when I test IE6 (I don't know why I care about IE6, but this may be the last project I worry about IE6). Here is what I get wi

  • I cannot access my time machine folder created by my previous gen macbook

    Guys, I created a time machine back form my previous MB Pro (mid 2010) and now I am not able to restore my new MB Pro (2012) from the previous time machine backup. Nonetheless, I was able to use migration assistant to trans files and use settings. Bu