File Image store in BLOB column Oracle 6i form

Hi all

I want to save the image file into the BLOB column using oracle forms 6i. I used READ_IMAGE_FILE to retrieve image at the point of the image on the forms, but all save the image file recording is not in the type BLOB in a corresponding table column.

Please help and guide me in this regard.

Atif Zafar

Here's a code example

declare
    filename varchar2(256);
    VNAME varchar2(100);
begin
    SELECT LIC_SERVER_NAME INTO VNAME --- DESTINATION SERVER / PC NAME START WITH "//". eXAMPLE //SERVER-NAME
    FROM PATH_TABLE;

    filename:=GET_FILE_NAME(File_Filter=> 'JPG Files (*.jpg)|*.jpg|');
    read_image_file(filename, '', 'CUST.TXT_VOTER_ID_CARD');
    host ('cmd /c copy "'||filename||'" "'||VNAME||'/CNG_SOFT/voter_id_card/'||'\'||:CUST.AD_CODE||'.jpg',NO_SCREEN);
end;

Hope this helps

Hamid

Tags: Oracle Development

Similar Questions

  • APEX - opening World document (and other files) stored in a blob column?

    Hello

    I have an application developed in Oracle Apex 3.2.1 and RDBMS Oracle 9.2.0.8 (SUN SOLARIS SPARC 64-BIT).

    I have a table called BAC_ARQUIVO, with the following structure:

    CREATE TABLE BAC_ARQUIVO
    (NAME VARCHAR2 (4000), / * name of the file stored in a BLOB column * /)
    TOPIC VARCHAR2 (4000), / * a brief presentation of this file stored * /.
    Identification NUMBER, / * an identification of this file - it s a PK of this table column * /.
    BLOB BLOB_CONTENT, / * Blob field to store different types of files - XLS, DOC, PPT, PDF, EXE, ZIP, etc.) ;
    Mime_type VARCHAR2 (4000) / * Identification whose file type is stored in BLOB field * /.
    )


    The field BLOB_CONTENT in this table can store:

    -Executable files;
    -MS-world Documents (DOC);
    -Zip Files (ZIP).
    -Ms-Excel (XLS) files;
    -Ms-Powerpoint files (PPT);
    -Adobe (PDF) documents.

    In fact, in this application, APEX, I developed an interactive report in which the user can download these files to the desktop without problem.

    But now, my user I would like to know if it s possible ask APEX can OPEN some of these files stored on this download of WITHOUT BLOB column.

    My user would like to see a hiperlink (or button) that, if you press on/accessed, can open a new page (or page within the application) with the document. Doesn´t need to edit this file oppened. He wants only to see.

    For example, if the file stored in the blob column is type ms word, so the application opens an MS-WINDOWS application with these files.

    Is this possible?

    In this forum, I saw this it possible s to open a file stored on the directory "/ i /", but I need to open the file stored in the BLOB column. I Don t want to store the file in the operating system of the server.

    Could someone show me how it could be done?

    Best regards

    Sergio Coutinho

    Hi Sergio,

    You might find this link useful:

    http://www.Oracle.com/WebFolder/technetwork/tutorials/OBE/DB/Apex/R31/apex31nf/apex31blob.htm

    See also the Mask of Format download BLOB :

    {message: id = 9716335}

    Here I gave the format mask for APEX 4.0, which will be slightly different for 3.2.1 and proposed changes
    in the format of mask are:
    (1) mask format: DOWNLOAD
    (2) content-disposition: Inline

    This will be achieved with her:
    >
    But now, my user I would like to know if it s possible ask APEX can OPEN some of these files stored on this download of WITHOUT BLOB column.

    My user would like to see a hiperlink (or button) that, if you press on/accessed, can open a new page (or page within the application) with the document. Doesn´t need to edit this file oppened. He wants only to see.
    >

    I hope that helps!
    Kind regards
    Kiran

  • Downloading files from the blob column

    Hello

    I had the file it is implemented for the database blob column using the document below:
    http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html#85

    Now can someone please tell me how to download or view the file from the database blob column?
    I use jdev 11

    Thank you

    Hello

    At the end of your download method invoke:

    ActualExceptionIter.executeQuery ();

    Kuba

  • Load the BLOB column in Oracle to an Image column in MS SQL Server

    Hello
    I have an Oracle table as the source and a MS SQL Server table as a target. A blob column (4000) in the source is mapped to a column (2147483647) Image in the target.
    Execution will give me the error message "* java.lang.NumberFormatException: for the input string:"4294967295"*"when it comes to step 'load the data into the staging of table' '.
    The LKM that I use is LKM SQL for MSSQL.

    I also tried LKM SQL for MSSQL (BULK), LKM SQL for SQL (jython), LKM SQL for SQL. None of them are useful.

    Impossible, someone tell me how to fix this 4294967295? Thank you very much

    Hi Yang,

    Oracle recommends the setting of the 'get_lob_precision' false flag to avoid this error.

    For this,.

    1. make a backup of your ODIPARAM. BAT file.
    2. open ODIPARAM. BAT file and add the following line.

    Set ODI_ADDITIONAL_JAVA_OPTIONS = % ODI_ADDITIONAL_JAVA_OPTIONS % ""-Doracledatabasemetadata.get_lob_precision = false ' "

    Next to

    Set ODI_ADDITIONAL_JAVA_OPTIONS = ""-Djava.security.policy = server.policy ' "

    PS:If, the parameter is defined, the result "ODI_ADDITIONAL_JAVA_OPTIONS" ("SNP_ADDITIONAL_JAVA_OPTIONS" or "SNP_JAVA_OPTIONS") should be similar to the foregoing.

    Restart the ODI and try.

    Thank you
    G

  • Store the output XML editor in the database blob column

    Hello

    We have a requirement to store the pdf files generated by several applications simultaneous xml editor in a database blob column, so that they can be recovered later, whenever required by the user. As far as we know, publisher concurrent request XML output files are stored on the node of simultaneous treatment and the location of the file does not exist in the FND_CONCURRENT_REQUESTS table. But these files to purge from time to time. We are therefore looking for a solution to store these files in the database to the display if necessary.

    If someone knows a solution or can point me to the right direction, it would be much appreciated.

    Thank you very much
    Mary

    Hi Mary,

    You must load the PDF files in the database. Write a regular competitor program which monitors fnd_concurrent_requests and load a custom table or fnd_lobs with any editor of BI exit function application concurrent reading files. BI Publisher output files according to naming convention, so easy to find. http://garethroberts.blogspot.com/2008/07/where-do-i-get-XML-file-or-request.html

    Kind regards
    Gareth

  • How to make the image Inline source to read from database BLOB column?

    Dear all

    I have a database table that contains the BLOB column. And tif files in the BLOB column.

    Now, I want to display the value of the BLOB file in af:inlineFrame.

    I want to do this because I installed "AlternateTiff" on my browser to view tif files in the browser.

    You can download it from http://www.alternatiff.com/

    The inLine frame component has a property called 'Source '. The value of the "Source" property must be the location of the URI of the content you want to display in the example of frame.for online:

                          <f:facet name="second">
                                <af:inlineFrame id="if2" styleClass="AFStretchWidth"
                                                shortDesc="To browse the selected document" source="/temp/myFile.tif"/>
    

    now, I want to change this example to read the content of the BLOB column.

    IS this possible?

    Thanks in advance

    You must install a servlet which reads the data from the BLOB and represents the data structure.  My blog http://wp.me/pcBZk-bU shoes how to proceed.

    Timo

  • How can I read a BLOB column with images and write a directory

    Hello

    I have a few paintings with a Blob column, in the columns there are documents (word, excel, images... etc), I have read the column of table and save a directory



    How can I do


    Version 9.2.08

    LS - ltr/bdados3/repser
    ls - ld /bdados3/

    view the results of above OS commands

  • compress the blob column to save space on the server

    Hi friends,

    I have a problem with the blob column, in the oracle 11.2.0.4 on aix Server database

    I have a table with a blob of column (containing a jpg file). This table is in a tablespace of 300 GB and storage space is full. There is no space on the server (asm).

    I need to load the jpg more in this table, but there is no space.

    I've read a few articles on tha compress blob type column, but I'm not sure what I should do.

    Is it possible to compress the blob column without going to a different tablespace (because the server has no more space to create a new one).

    The table and column have been created in a traditional way.

    Please, advice?

    Best regards

    Dbape.

    But this method requires add-on EA "Adv. Compression" ($$$).

    OP he wanted to compress .jpg files.

    BUDOKAI

    It is not possible.

    the .jpg files are already compressed.

    IIRC (of my Compression Adv. test) - SecureFile "knows best" and will not try to compress BLOBs identified as JPGs or any other known formats of files (such as .zip files)

    In other words - SecureFile is not the OP no good for the type of data, it is try to compress them.

    Are the only solutions that the OP has to enable it to store more JPG images

    • get rid of the old pictures
    • Add more disks
    • resize images (ordimage)
    • recompress the image by reducing the quality as long as the resulting image is unusable (ordimage)

    MK

  • Stored in the BLOB column display PDF problem

    Hello everyone.

    I tried to follow this tutorial http://asktom.oracle.com/pls/asktom/f?p=100:11:0:p11_question_id:232814159006 on the display of PDF files stored in BLOB columns. This is done on Apex 4.2, with my DB 11 g running. I have my procedure, which I will post below:
    create or replace procedure "PDF" (p_id IN gvo_documents.doc_id%type)
    is
        l_lob    blob;
        l_amt    number default 30;
        l_off   number default 1;
        l_raw   raw(4096);
    begin
        select contents into l_lob
            from gvo_documents 
             where doc_id = p_id;
    
     -- make sure to change this for your type!
        owa_util.mime_header( 'application/pdf' );
    
    
        begin
            loop
              dbms_lob.read( l_lob, l_amt, l_off, l_raw );
              htp.prn( utl_raw.cast_to_varchar2( l_raw ) );
              l_off := l_off+l_amt;
              l_amt := 4096;            
        end loop;
            exception
               when no_data_found then 
                  NULL;
            end;
    
    end;
    
    I am trying to run this through a region dynamic PL/SQL, and even if I don't get any error, the content displayed is a huge mess of truncated text and strange characters. I tried to run this procedure on many other types of documents, including word and jpeg image files, all with the necessary changes in my inside, and regardless of what I use, I always get a big mess of strange characters. Does anyone have information or ideas why this is happening?

    If I understand correctly, your needs must be broken down into two problems:
    1) click the link that opens a window showing a new APEX page
    (2) an APEX page displays the document, download it not.

    I did not (yet) #1.
    However, you can generate a URL that points to the new page in the select for the report.

    It's a related issue, but no response yet:
    Open the pdf file in the browser window

    The key is to target = "_blank" to the anchor tag.
    To generate the URL, you must use the APEX_UTIL.prepare_URL () function.

    If this does not work, a dynamic Action that makes magical things of JavaScript may be necessary.

    # 2, I lost the URL that showed how to display a PDF file in a page "form.
    From what I remember:
    Start with a blank page with a pristine area of HTML (all items will in the HTML area)
    Add an element to the PK/annual
    part I forgot Create a Data Manipulation process
    -Automated row Fetch
    -By loading - after the header
    -(stuff for your table/view)
    part I forgot Create a (I think) "File browser" item type. For the parameters:
    -Storage of Type "BLOB column specified in the Source element" (and put the name of the BLOB column)
    -MIME Type column: (column name) - since there are several types, this is a MUST HAVE
    -Filename column: (column name) - I highly recommend you have this.
    -Provision of content is INLINE<-- this="" is="" the="">

    In addition, you will need a browser for each of the Types MIME Plugin (if not, the browser may try to "Download" the file)
    Browsers can manage the types of images internally. Plugin Adobe can handle PDF files. I do not know Word/Excel.

    Yet once again, I don't remember the exact details, but that should cover most of it.

    MK

  • Validation of BLOB column

    Hello world

    I need to a blob column validation in order to limit the types of attachments. I want the user to be able to download images and pdf files, but no word or excel or any other type of file. How can I do this?

    Thank you

    See discussed previously thread Restict the file attachments of type to be limited pdf, gif, jpeg, doc, docx, xls, xlsx.

    who can help you and it is independent of the browser.

  • Update a BLOB column

    Hello

    I have Oracle XE 11.2.0 loaded on a Windows Server.  It works very well.  I use Apex 4.1 on break as well.

    In a table, I have a column (LIST_FILE) that contains the name of a file and does not include the file extension.  Recently, I added a BLOB (LIST_PDF) column to this table.

    I would like to create SQL to update each row of this table by inserting PDF file into the blob.  For each row in the table, there is a file beginning with value in LIST_FILE and followed by a period and PDF (.) (PDF).  File1.PDF, File2, PDF, etc.  The windows directory that contains the PDF files can be moved anywhere on the windows server.

    How to build the SQL to update the BLOB column?

    Thanks for your help.

    Hi, PhilMan2

    You cannot load the PDF by single SQL. It must be the script on PL/SQL. Visit this link to find out how you can make your task How to insert blob in the database file

    ---

    English is not my mother tongue; Please forgive my faults

  • Creating INDEX on a BLOB column in a separate tablespace

    Hello


    Our database contains 2 storage spaces :

    -Tablespace DATA : is reserved to hold the data.

    -Tablespace INDX: is reserved to hold the index.


    For some reason, that we must create the indexes on columns of type blob and the pending order are:

    SQL > CREATE INDEX my_index ON DOC_CONTENTS (doc_content) INDEXTYPE IS CTXSYS. CONTEXT;  / / doc_content a blob type.

    SQL> index created

    Now, all indexes are created in the tablespace for DATA that is not good, they should be created in the tablespace INDX (now is empty)

    For this reason, and after a search, I specified the tablespace INDX , which will contain the index, and the used command is:

    SQL > CREATE INDEX my_index ON DOC_CONTENTS (doc_content) INDEXTYPE IS CTXSYS. CONTEXT TABLESPACE INDX;

    *

    ERROR on line 1:

    ORA-29850: invalid option for creating domain index

    NB: also, when I try to use the same command with varchar column, it works.

    SQL > CREATE INDEX my_index ON DOC_CONTENTS (doc_name) TABLESPACE INDX;  / / doc_content a type VARCHAR2.

    SQL> index created


    Do you have an idea on how to create indexes on a blob column in a different tablespace?

    This question has nothing to do with the Oracle objects, but is related to Oracle Text, then perhaps that some moderator moves text objects.

    To specify a storage space for a ctxsys.context Oracle Text index domain index tables, you must create a storage preference, specify storage spaces in attributes of this preference, then use this preference in settings of creating index.  Please see the example below which shows first create domain index tables in the default users tablespace, then the creation of the field tables to be indexed in the example tablespace.

    Scott@orcl_11gR2 >-test environment:

    Scott@orcl_11gR2 > doc_contents CREATE TABLE

    2 (doc_content BLOB)

    3.

    Table created.

    Scott@orcl_11gR2 > INSERT INTO doc_contents VALUES

    2 (UTL_RAW. CAST_TO_RAW ("test data"))

    3.

    1 line of creation.

    Scott@orcl_11gR2 >-create domain index tables in default users tablespace:

    Scott@orcl_11gR2 > my_index CREATE INDEX

    2 doc_contents (doc_content)

    3 INDEXTYPE IS CTXSYS. FRAMEWORK

    4.

    The index is created.

    Scott@orcl_11gR2 > SELECT index_name, nom_tablespace

    2 FROM user_indexes

    3. WHERE index-name LIKE '% MY_INDEX % '.

    4.

    INDEX_NAME TABLESPACE_NAME

    ------------------------------ ------------------------------

    MY_INDEX

    DR.$ MY_INDEX$ X USERS

    2 selected lines.

    Scott@orcl_11gR2 > SELECT table_name, nom_tablespace

    2 FROM user_tables

    3 WHERE table_name LIKE '% MY_INDEX % '.

    4.

    TABLE_NAME, TABLESPACE_NAME

    ------------------------------ ------------------------------

    DR. MY_INDEX$ I HAVE USERS

    USERS R DR$ MY_INDEX$

    DR.$ MY_INDEX$ N

    DR.$ MY_INDEX$ K

    4 selected lines.

    Scott@orcl_11gR2 >-creating the tables index field in example of tablespace:

    Scott@orcl_11gR2 > my_index DROP INDEX

    2.

    The index is deleted.

    Scott@orcl_11gR2 > start

    2 ctx_ddl.create_preference ("mystore', 'BASIC_STORAGE'");

    3 ctx_ddl.set_attribute ("mystore', 'I_TABLE_CLAUSE',")

    4 "tablespace storage example (original 1 K) ');

    5 ctx_ddl.set_attribute ("mystore', 'K_TABLE_CLAUSE',")

    6 "tablespace storage example (original 1 K) ');

    7 ctx_ddl.set_attribute ("mystore', 'R_TABLE_CLAUSE',")

    8 ' lob tablespace storage example (original 1 K)

    9 (data) store as (storage off in row cache)');

    10 ctx_ddl.set_attribute ("mystore', 'N_TABLE_CLAUSE',")

    11 "tablespace storage example (original 1 K) ');

    12 ctx_ddl.set_attribute ("mystore', 'I_INDEX_CLAUSE',")

    13 ' example of tablespace storage (initial 1 K) compress 2 ');

    14 ctx_ddl.set_attribute ("mystore', 'P_TABLE_CLAUSE',")

    15 "tablespace storage example (original 1 K) ');

    16 ctx_ddl.set_attribute ("mystore', 'S_TABLE_CLAUSE',")

    17 "tablespace storage example (original 1 K) ');

    18 end;

    19.

    PL/SQL procedure successfully completed.

    Scott@orcl_11gR2 > my_index CREATE INDEX

    2 doc_contents (doc_content)

    3 INDEXTYPE IS CTXSYS. FRAMEWORK

    4 PARAMETERS ('STORAGE mystore')

    5.

    The index is created.

    Scott@orcl_11gR2 > SELECT index_name, nom_tablespace

    2 FROM user_indexes

    3. WHERE index-name LIKE '% MY_INDEX % '.

    4.

    INDEX_NAME TABLESPACE_NAME

    ------------------------------ ------------------------------

    MY_INDEX

    DR.$ MY_INDEX$ X FOR EXAMPLE

    2 selected lines.

    Scott@orcl_11gR2 > SELECT table_name, nom_tablespace

    2 FROM user_tables

    3 WHERE table_name LIKE '% MY_INDEX % '.

    4.

    TABLE_NAME, TABLESPACE_NAME

    ------------------------------ ------------------------------

    DR. MY_INDEX$ I EXAMPLE

    DR.$ MY_INDEX$ R EXAMPLE

    DR.$ MY_INDEX$ N

    DR.$ MY_INDEX$ K

    4 selected lines.

    Post edited by: BarbaraBoehmer (corrected for error due to the already existing preference)

  • Interactive report will not save the BLOB column attributes

    I created several interactive reports with the 4.0 and 4.1 which had columns of type BLOB with no problems and the download link worked fine. After 4.2 update, interactive reports get the following error when you click on the download link:
    Not found
    The requested URL /apex/apex_util.get_blob was not found on this server

    If I open the edit page of the report, the BLOB downloads very well. When I looked at the report in detail the attributes of the BLOB column, I noticed that the BLOB column attributes had not been met. I tried several times to fill in (name of the Table column name, Primary Key, MIMETYPE, etc), but after applying changes and reopen the attributes page for the blob column, the values, that I entered is not saved.
    For completeness, here is the select statement for the report:
    Select "DESC_ATT_ID."
    "BR_ID,"
    "FILENAME."
    "MIME TYPE"
    DBMS_LOB. GetLength ("DESC_ATTACHMENT") 'DESC_ATTACHMENT '.
    of ' #OWNER # '. " ALTEC_BR_DESC_ATT ".
    WHERE BR_ID =: P3_BR_ID

    Also, here is the value for the number/Date of the BLOB column format:
    DOWNLOAD: ALTEC_BR_DESC_ATT:DESC_ATTACHMENT:DESC_ATT_ID

    Can someone tell me please in the right direction to get the link to the interactive report work correctly?
    Thank you very much
    Jerry

    Hello
    How about you, you do not format BLOB column, do you it manually like this example here:

    Apex. Oracle.com
    workspace: somefeto
    user: test
    PWD: test
    Application 63066

    in the same workspace, there is Sample File Upload and Download (App ID 10540), and it works very well...

    If not, Pls, reproduce the problem on apex.oracle.com

    Best regards
    Fateh
    ------
    If you believe that my answer is correct or helpful to you pls, then mark the reply as useful or correct

  • blob column field index

    SQL > select * from v version $;

    BANNER

    Oracle Database 10g Release 10.2.0.4.0 - Production
    PL/SQL Release 10.2.0.4.0 - Production
    CORE 10.2.0.4.0 Production
    AMT for Mac OS X Server: release 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production

    SQL > documents desc;
    Name Null? Type
    IDENTIFICATION NUMBER
    TITLE VARCHAR2 (100)
    FILENAME VARCHAR2 (200)
    BLOB OF DOCUMENT

    SQL > create index idx_documents
    2 documents (document)
    3 indextype is ctxsys.context;

    The index is created.

    SQL > exec ctx_ddl.sync_index ('IDX_DOCUMENTS');

    PL/SQL procedure successfully completed.

    SQL > Select token_text of Dr.$ idx_documents$ i;

    no selected line

    SQL > Select file name of documents;

    FILE NAME
    --------------------------------------------------------------------------------
    Axiom.txt
    test.txt

    SQL >

    Axiom.txt:
    ----------
    Nach der Installation wird als Axiom MIDI-Gerät mit zwei MIDI-Eingangen und einem MIDI-exit auf Ihrem Computer gefuhrt.
    Fur den Einsatz von axiom mit will host application must the first der Sie in der Eingangsliste aufgefuhrten noon-Eingange
    von Axiom MIDI-Eingabegerat als Park. Erst nach dieser Einstellung kann Ihre host application MIDI - und Notenbefehle
    -Controllerbefehle von Axiom only.

    Falls Sie ein external MIDI-Gerät (Drum Machine oder equipped keyboard) a MIDI-digitization den von Axiom angeschlossen haben.
    können Sie Axiom als simply MIDI-USB-Interface, indem Sie den second wins der in der list aufgefuhrten Axiom-Eingange als MIDI -.
    Eingabegerat aktivieren.
    Like können Sie ein external, a MIDI-exit dem von Axiom angeschlossenes MIDI-Gerät über die application-host ansteuern und
    ALS axiom MIDI-USB-Interface benefits. There must Sie Axiom MIDI-Ausgabegerat als Park. Further notices zu diesen
    Is find in den nachfolgenden Handbuchs Kapiteln sharps.

    Die EuGHMR der to hear MIDI-Ein-und von Axiom unter den individual functionality sind der nachstehenden Tabelle unit
    aufgefuhrt. Calendar Sie Bitte, dass sharp positions you can hear, I depending on ob Sie am PC oder am Mac arbeiten bzw. den
    Windows-Multi-Client-Treiber installed haben oder nicht. (Information zur Treiber-Installation und - configuration items
    Sie in den nachfolgenden Kapiteln.)

    Select Dr. token_text $ idx_documents$, I am not returned no line! The same text stored in a clob column works fine.

    Thanks in advance

    The filter has failed.

    Because you use a BLOB column, it will try to invoke the filter of binary document (INSO_FILTER or AUTO_FILTER depending on the version).

    The filter SHOULD be able to deal with plain text documents, but who knows what kind of problems of translation of characters you'll have when writing a document in plain text in a binary container.

    If you only use plain text documents, you must use a CLOB column. Alternatively, you can try specifying the FILTER CTXSYS. NULL_FILTER in a parameters clause, but there still may be problems of translation.

    If you need to index a combination of binary and plain text documents, then try this again with a file binary document - a PDF or DOC file for example. If those who fail this way then it is probably your method of loading that is at fault.

  • Persist document into BLOB column problem

    Hi all

    I have a problem with persistence of document in the BLOB column.

    Using debuger I checked that document.doc contains the file successfully downloaded before persist. There are other attributes of the document and they are kept properly, but when I check the size of the blob in the database it size is 1 byte, which is incorrect.
    Once I still the second file, first to get its value of good size and the second size is 1 byte.
    If I stop the weblogic server, the second value will never fill. If I restart only request without restarting the server and then third transfer document, size of a second is corrected.


    Oracle JDeveloper 11g R1 11.1.1.2.0
    Oracle DataBase 10 g 2
    The use of EJB and ADF 11 g RC

    I put id manually.

    Document.Java of the entity:
    ...
    @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's 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 the example project with the DDL for platen: [url http://uploading.com/files/52m65757/TestFileUpload.zip] TestFileUpload.zip

    Very strange, seems to be a database issue. Maybe try the jdbc/database forum, or another version of the database/driver.

    It is probably related to the use of job locator, you can try not to use the Locator (use OraclePlatform instead of Oracle10Platform).

    ---
    James: http://www.eclipselink.org

Maybe you are looking for

  • L520 - can't adjust the brightness

    Another problem on my Lenovo Thinkpad L520: After you have installed the Lenovo power management driver, I can no longer adjust the brightness of the LCD screen using the keys FN + DELETE/POS1. Immediately after setting the brightness, it gets return

  • Accidentally deleted my Windows XP program ALONE.

    It said to insert the Windows XP CD that came with the purchase, but I can't find that.  My husband is not going to be happy!

  • Changing of win 10 for Win 7

    New computer came with 10 Win Home installed. I need to remove & install Win 7 Pro / SP1. Trying to install to & drive offers the possibility to get upgrades - try the result is a statement is not compatible. This jump. Then came the four partition o

  • I have windows haveremoving 10 to return to the original

    comes to be upgraded to windows 10 I hate, how to return to my earlier version of windows without losing my data

  • Address bar keeps jumping and rolling

    Hi people, A problem a friend has: Medion laptopAbout 3 yearsWindows 7IE9 Laptop is certainly not overloaded.Photo & music she transfers to an external hard drive as soon as it finishes work on/with themCCleaner each monthOK AV, no virus Have all the