Catching Database Constraints in Jdev

Hi,
Am using Jdev 11.1.1.5.0(R1). While violating a Constraint Eg. Primary Key, i get error as follows,
ora-00001 : unique constraint(xx.xxx_pk) violated
I need to show user some user friendly messages instead of the above. Please guide me.
-Arunkumar Kootharasan

Duplicate of {thread:id=2494005}
Timo

Similar Messages

  • Deferrable database constraint

    I am using JDev 9.0.5.2, ADF, UIX, and struts.
    I have a deferrable database constraint so that it is checked during commit. My question is where can I catch this to give a user friendly error message. I usually catch constraint messages in the doDML method in the entity objects Impl class. I tried the beforeCommit and afterCommit methods but they didn't work either.
    Thanks for any help.

    you can caught exceptions in findForward method:
    ArrayList excList=ctx,getBindingContainer().getExceptionList();
    all items are oracle.jbo.JboException.
    you iterate exceptions; native exception are those exceptions where
    hasExceptions() return false.
    catched your exception, you can alter standard forward: ctx.setAcionForward(errorForward);
    i hope i helped you!
    I am using JDev 9.0.5.2, ADF, UIX, and struts.
    I have a deferrable database constraint so that it is
    checked during commit. My question is where can I
    catch this to give a user friendly error message. I
    usually catch constraint messages in the doDML method
    in the entity objects Impl class. I tried the
    beforeCommit and afterCommit methods but they didn't
    work either.
    Thanks for any help.

  • Database constraints propagated to entity

    I'm trying to determine which database constraints are propagated to an entity when the entity is generated from a table.
    From what I can tell, it looks like
    <ul><li>primary key</li>
    <li>not null</li>
    <li>unique key</li>
    <li>precision</li>
    <li>foreign key (via
         associations)</li>
    </ul>
    are honored in the entity.
    <ul><li>check constraints</li>
    <li>default values</li>
    </ul>
    are not carried over.
    However, even though some constraints are carried over, does this mean they are enforced (or validated)?
    It looks like the following Validation rules are created:
    <ul><li>Not Null constraints --&gt; Database Constraint - Mandatory</li>
    <li>Precision constraints --&gt; Database Constraint - Precision</li>
    </ul>
    Do the rest--even the Primary Key constraint-need to be created as Validation rules in the entity? The documentation is not very clear on this.
    Thanks.

    Please read under Unique Key Validator
    http://one-size-doesnt-fit-all.blogspot.com/2007/08/jdev-11g-new-features-adf-bc-entity.html
    Unique Key Validator - has changed somewhat and now allows you to define validation on primary and unique keys defined for the EO (indirectly derived from the underlying table). In addition you may define multiple Unique Key Validators against the one EO where the 10.1.3 release limited this to one.
    In summary the 10.1.3 release introduced the basic declarative validators against Entity Objects in ADF Business Components. Within the 11g release this has given the JDeveloper team the opportunity to go beyond the obvious validation requirements and give sophisticated declarative business rule validation still with the advantage of minimal to no coding required.

  • Custom Error Messages for Database Constraint Violations Problem

    Hi
    I have added a custom message bundle for the model project as explained in
    37.8.3 in the Fusion Developer's Guide - How to customize error messages for database constraint violations.
    http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/bcadvgen.htm#BABEFGCI
    Constraint Name : SYS_C0018574
    And I have following CustomErrorMessages class
    public class DBCustomErrorMessages extends ListResourceBundle {
        private static final Object[][] sMessageStrings =
            new String[][] { { "SYS_C0018574",
                               "Existing Record Found" } };
        protected Object[][] getContents() {
            return sMessageStrings;
    }This works fine when I run application model and adding records to vialate the constraint. So it gives me following message
    (oracle.jbo.DMLConstraintException) Existing Record FoundBut when run ui project it does not fire.
    Still it gives the message
    ORA-00001: unique constraint (CCBS2.SYS_C0018574) violatedCould you please shed some light?
    Edited by: deshan on Mar 15, 2011 11:28 AM

    Please see the image.
    http://4.bp.blogspot.com/-Fna66p-W5Jw/TX7uSQqqBtI/AAAAAAAAAH0/D1APg6oAIxI/s1600/1.JPG
    Error in Application Module ORA-00001: unique constraint (CCBS2.SYS_C0018574) violated exception is different from ui project.
    Any hint?
    Thanks
    deshan
    Edited by: deshan on Mar 15, 2011 10:16 AM

  • How can I use database constraints in entity attribute validation rules

    I am interested in using database constraints to validate attributes in entity objects.
    I would like to implement a JboValidatorInterface in a way that I can use an operator like "GreaterOrEqualTo" to compare with values retrieved from the database for a column associated with an entity object attribute.
    I have used this pattern with success in other environments, where the user community decides the minimum value for a thing should change from x to y, and simply changing a database object also changes the validation methods of all applications which access it.
    I am not certain that column constraints are the appropriate vehicle, but so far that seems to be the case.
    I see that you can create a validation rule which makes comparisons against a view object attribute. I am wondering if there is a generic way to use standardized names for column constraints along with ADF hooks into properties of database columns, to avoid writing individual queries for each attribute.
    Thanks in advance!!!

    Jeffrey,
    If you already have constraints on the underlying tables, why do you need to validate them in ADF BC? You can certainly use some framework extension classes to give the user nicely formatted error messages - see ER: ADF BC - allow custom error msgs for common exceptions (e.g. DML) for more details.
    I am using this method so that anything that is enforced in the database (check constraints, foreign keys, unique constraints, etc) are not enforced in the ADF BC layer as well - after all, there's more than one way to get data into a table, and DB constraints ensure that even if data gets in through another mechanism (apart from the ADF application), it is valid. My 2 cents, of course.
    Hope this helps,
    John

  • JhsError Messages for Database constraint

    Hello JhaedStart Team
    I want to display mycustome entity alias name in place of entity name in Jhs Error messages for Database constraint , as you know we can customize this error message by replacing ConstraintName as a key in our registered customMessage Bundle (according to 25.8.3 sction of ADFdevelopers guide) .
    In order to do that I should disable JHS NLS generation for JHS because it's custome messages prevent my message to be display from my customMessage Bundle , So I have tried to delete constraint key (eg CASCADING_DELETE_VIOLATION) from GeneratorText.properties but I see that the CASCADING_DELETE_VIOLATION message still generated in my project JHS message bundle.
    Please help me to fix the problem

    JHeadstart also supports customizing database constraint messages, as explained in section 11.4 of the JHeadstart 10.1.3.2 Developer's Guide. So you don't need to use the technique of section 25.8.3 of the ADF Developer's Guide, you can customize the message directly in the JHeadstart resource bundle.
    Hope this helps,
    Sandra Muller
    JHeadstart Team
    Oracle Consulting

  • How to write code to insert record in database programtically in Jdev rel

    Hi Experts,
    Please tell me how to write code to insert record in database programtically in Jdev rel .2.
    Thanks
    Shiv Naresh

    To insert the record programmatically i will provide you some sample below
    ViewObject vo = this.getVoXXXX();
    Row vor = vo.getCurrentRow();  // get the current row of the record
    ViewObject vo1 = this.getvoYYYY();
    Row vor1 = vo1.createNewRow(); //creating new row in the table
    vor1.setAttribute("aaaaa",vor.getAttribute("ttttt")) // In this we are getting the current row value of "ttttt" and inserting into "aaaaa"Hope this could help you!

  • Triggers missing from offline database source in JDev 10.1.3.4/5

    Hi,
    I cannot copy triggers to offline database source in JDev 10.1.3.4/5.
    In a project under Offline Database Source->[Schema Name] -Right Click- Import Database Objects -> Connection-> Filter Types (Triggers are not listed)
    Is this a setup issue in JDev or the database or are triggers not supported in this version of JDev?
    thanks,
    Brenden

    Hi,
    the BPEL extension is developed and owned by the BPEL group. Please try the BPEL forum at BPEL Note that if they can't provide immediate help for your probem, you may consider customer support for help
    Frank

  • Creating new database schema in jdev

    can I create new database schema in jdev.If yes how?
    I have checked many links but they are telling how to create connection to an existing database but not to create new databse?
    Please help..

    I have checked many links but they are telling how to create connection to an existing database but not to create new databse?
    Database is required to be installed and a database instance created.
    Oracle Database Software Downloads | Oracle Technology Network | Oracle &lt;/title&gt;&lt;meta name=&quot;Title&quot; co…

  • Database Constraint Error Handling on create/edit (Struts ADF)

    Hi,
    In our project we use Struts ADF (JDeveloper 10.1.3) technology. And we're facing the following trouble with it.
    If we try to create a record that violates say Unique constraint in the database, then during commit procedure of the AppModule's Transaction an exception occurs.
    We handle this exception with our extension of DCErrorHandlerImpl. And we have to do the rollback action because the Transaction became invalid and we cannot do the commit since there was an error.
    But unfortunately appModule.getTransaction().rollback(); forces ViewObj to loose all of the newly created rows. Because of this, after pressing submit with the same (violating) data once more our edit form shows the first row in a rowset.
    Are there any ideas about what we may be doing wrong?
    Any standard approaches on database constraint error handling?
    The "before/after commit/rollback" approach is very effort-consuming because we have a lot of views in our app and tracking all of them may become a nightmare in future.
    Thanks in advance.
    Regards,
    Larry

    Hi Steve!
    I'm using Postgree.
    Here is StackTrace
    06/06/27 09:52:24 Commit
    oracle.jbo.DMLException: JBO-26041: Failed to post data to database during "Insert": SQL Statement "INSERT INTO public.test_tb(id,name,org_code) VALUES (?,?,?)".
         at oracle.jbo.server.BaseSQLBuilderImpl.doEntityDML(BaseSQLBuilderImpl.java:481)
         at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:5731)
         at com.yukon.adf.postgre.entities.PostgreEntityImpl.doDML(PostgreEntityImpl.java:22)
         at com.yukon.adf.postgre.entities.PostgreSequenceEntityImpl.doDML(PostgreSequenceEntityImpl.java:58)
         at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:4531)
         at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:2993)
         at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2804)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:1968)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2170)
         at view.actions.ListTestPageController.onCommit(ListTestPageController.java:32)
         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 oracle.adf.controller.v2.lifecycle.PageController.invokeEventMethod(PageController.java:110)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.handleEvent(PageLifecycleImpl.java:950)
         at oracle.adf.controller.v2.struts.lifecycle.StrutsPageLifecycle.handleEvent(StrutsPageLifecycle.java:238)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.processComponentEvents(PageLifecycleImpl.java:322)
         at oracle.adf.controller.v2.lifecycle.PageController.processComponentEvents(PageController.java:54)
         at oracle.adf.controller.v2.lifecycle.Lifecycle$3.execute(Lifecycle.java:275)
         at oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase(Lifecycle.java:116)
         at oracle.adf.controller.v2.lifecycle.LifecycleProcessor.execute(LifecycleProcessor.java:100)
         at oracle.adf.controller.v2.struts.actions.DataAction.execute(DataAction.java:123)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:527)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:629)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    java.sql.SQLException: ERROR: current transaction is aborted, commands ignored until end of transaction block
         at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1471)
         at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1256)
         at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:175)
         at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:389)
         at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:330)
         at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:282)
         at oracle.jbo.server.BaseSQLBuilderImpl.doEntityDML(BaseSQLBuilderImpl.java:352)
         at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:5731)
         at com.yukon.adf.postgre.entities.PostgreEntityImpl.doDML(PostgreEntityImpl.java:22)
         at com.yukon.adf.postgre.entities.PostgreSequenceEntityImpl.doDML(PostgreSequenceEntityImpl.java:58)
         at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:4531)
         at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:2993)
         at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2804)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:1968)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2170)
         at view.actions.ListTestPageController.onCommit(ListTestPageController.java:32)
         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 oracle.adf.controller.v2.lifecycle.PageController.invokeEventMethod(PageController.java:110)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.handleEvent(PageLifecycleImpl.java:950)
         at oracle.adf.controller.v2.struts.lifecycle.StrutsPageLifecycle.handleEvent(StrutsPageLifecycle.java:238)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.processComponentEvents(PageLifecycleImpl.java:322)
         at oracle.adf.controller.v2.lifecycle.PageController.processComponentEvents(PageController.java:54)
         at oracle.adf.controller.v2.lifecycle.Lifecycle$3.execute(Lifecycle.java:275)
         at oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase(Lifecycle.java:116)
         at oracle.adf.controller.v2.lifecycle.LifecycleProcessor.execute(LifecycleProcessor.java:100)
         at oracle.adf.controller.v2.struts.actions.DataAction.execute(DataAction.java:123)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:527)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:629)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)

  • Database constraint

    Hi,
    The rule of thumb state that not to implement business logic in database trigger and stored procedure.
    How about database constraint? Is that means we can eliminate the database constraint, and then develop all the validation logic in EJB or java bean?
    Which approach is correct? DB constraint or EJB?
    Pls give some suggestion and advise.

    Consider the SQL script below, which return in Oracle:
    CREATE TABLE s_customer
    (customer_id NUMBER(7) CONSTRAINT s_customer_id_nn NOT NULL,
    name VARCHAR2(50),
    local VARCHAR2(1) DEFAULT 'Y' NOT NULL,
    CONSTRAINT const_local CHECK (local IN ('Y', 'N')),
    CONSTRAINT customer_id_pk PRIMARY KEY (customer_id)
    See that the 'local' column of s_customer table does have a validation check for either Y or N.
    customer_id have constraint of primary key.
    Ok, let say design decision to use EJB, so can i put the 'local' column validation in EJB or java bean. But the primary key constraint maintain in database.
    Is is GOOD to design in this way?

  • Customise database constraints errors

    Hi All
    I'm developing web application using jdeveloper Version 11.1.1.3.0. And I want to customise database constraints errors. I used message.property file to get the error. But It wont pick error from that file when a database error throws.
    Eg. I configure the precision validation in the freeRate EO for the field rates. when it fires that error it doesnt diplay the configured error. always it disolays a error like this
    " Error: Attribute set with value 1234567891234567891234567891234 for Boundary in SetupAM.feeRates1 has invalid precision/scale "
    which is not user friendly. can any body tell me how to customise data base constraints such as precision of a number.
    Thank You
    Padma

    Refer ADF-BC:Customize Error Messages for Database Constraint Violations
    Customize JBO-XXX messages
    Re: Customize Error Messages in ADF BC Entity Object
    Amit
    Edited by: amseth on Feb 14, 2011 9:27 PM

  • EJB3 + Database constraint

    Hi,
    Whats the prefered option to add Database constraints?
    @Table(uniqueConstraints = { @UniqueConstraint(columnNames = "a","b") } )
    would add a simple column based unique key.
    But how to add something more complex like a CHECK constraint?
    "CONSTRAINT ck_name length(a)>=5))"
    (Is there a possibility to plug some alter statements into the ddl generation process?)
    thx,
    Bernhard

    Consider the SQL script below, which return in Oracle:
    CREATE TABLE s_customer
    (customer_id NUMBER(7) CONSTRAINT s_customer_id_nn NOT NULL,
    name VARCHAR2(50),
    local VARCHAR2(1) DEFAULT 'Y' NOT NULL,
    CONSTRAINT const_local CHECK (local IN ('Y', 'N')),
    CONSTRAINT customer_id_pk PRIMARY KEY (customer_id)
    See that the 'local' column of s_customer table does have a validation check for either Y or N.
    customer_id have constraint of primary key.
    Ok, let say design decision to use EJB, so can i put the 'local' column validation in EJB or java bean. But the primary key constraint maintain in database.
    Is is GOOD to design in this way?

  • Are oracle database constraints hold only acedemic values????

    Dear all,
    I'm working as DBA at one of the bank in Nepal and working on Finacle Core Database which uses back end as oracle.But, I'm surprised exploring that it does not use single oracle database constraints...when I asked authority of finacle about this issue they replied constraints hold only academic values they are not implemented in real time application...Is it true or not??? please help me....
    Regards,
    Matrika

    ...when I asked authority of finacle about this issue they
    replied constraints hold only academic values they
    are not implemented in real time application...Is it
    true or not???That's not true. All applications I know have constraints implemented. It is the way to guarantee that your data is according to the rules you have defined.
    But, you probably have an application that can run against any database, in your case Oracle, but other clients may have other databases. So the vendor probably has decided to implement all their constraints in the application, and uses the database only as a bit bucket.
    Regards,
    Rob.

  • Invalid File after Downloading from Database using JSP/JDev 10.1.2

    Hi, i got a problem when i download a file from my blobColumn in database.
    Well, actually i got no problem in reading the file out of database, but when i download this file, there are 3 more bytes then in the original one in Database...
    Here's my java-code in the jsp-page i used as "save as" field:
    Hashtable ht = Dokument.createDOK(request);
    String dateiname = (String)ht.get("Dateiname");
    byte[] fileBytes = (byte[])ht.get("Dokument");
    ByteArrayOutputStream ba = new ByteArrayOutputStream();
    ba.write(fileBytes);
    // RESPONSE
    response.setContentType("application/octet-stream");
    response.setHeader("Content-Disposition","attachment; filename=\"" + dateiname + "\"");
    // DOWNLOAD
    OutputStream outs = response.getOutputStream();
    ba.writeTo(outs);
    outs.flush();
    outs.close();
    }catch(Exception ex){
    ex.printStackTrace();
    for testing i used a simple text file with 28bytes:
    begin----
    Test Zeile 1.
    Test Zeile 2.
    end-------
    after downloading this file it looks like:
    begin----
    Test Zeile 1.
    Test Zeile 2.
    end-------
    There are 3 bytes 0A(hex) at the beginning...
    I dont know why.
    after closing "outs" i made system.out for checking the amount of bytes in "fileBytes"-Array, and it was correct, just the 28 bytes like in the file from the Database.
    But i actually dont get, why there are 3 more bytes at the beginning after downloading it.
    The main problem is, some other files like word or excel documents cannt be opened, because of this 3 bytes at the beginning, and they seem to be invalid.
    Would be glad if someone can help me, got really stuck and have no idea any more.
    Thanks
    Sebastian

    Dont someone has a solution, or got a similar problem ?
    Thought about it could be a bug in the basic java classes of JDev 10.1.2
    but i dont really know...
    Have no idea left.
    Sebastian

Maybe you are looking for