HO to Comapre with Number data Type

Hello

My need is to perform validation in the ValidateEntity method.

How to compare the data type number:

For ex: number = gatAbc();

If(a>10)
{
throw new oaExcption...
}

But while comapring got compiler error

Error (218,17): not found >(oracle.jbo.domain.Number, int) method in the abc.oracle.apps.per.irc.pqr.schema.server.XxabcEOImpl class

So please tell me how to compare integer value with the Number data type

Thanx

Check with the float. It will certainly work.

float number = Float.parseFloat(HrsPerDay); //HrsPerDay is a String and I am converting it to float 

if(( number <= 0) || (number >= 21))
                   {
                        throw new OAAttrValException(OAAttrValException.TYP_VIEW_OBJECT,
                                          "xxCopyResourceVO1",
                                          rowi.getKey(),
                                          "NoOfCopies",
                                          rowi.getAttribute("NoOfCopies"),
                                          "PA",
                                          "xx_xx_COPY_POSITIVE_NUM");
                   }

Here in this code I also check the hours cannot be less then 0 and 20 above.

Thank you
-Anil

Tags: Oracle Applications

Similar Questions

  • Largest number of digits for the NUMBER data type?

    What length more of a NUMBER that Oracle will "support"?

    The documentation says the following:

    Limitations of the data type says:

    «Can be represented in a comprehensive precision 38 digits»

    NUMBER of Data Types says:

    "Oracle guarantees portability of numbers with precision of up to 20 digits of base-100, which equals 39 or 40 decimal digits according to the position of the decimal point."

    I realize account that if I define a column as simply NUMBER, I can insert numbers with a size up to 126 characters.  However, Oracle seems to maintain only the first 40 digits in MOST cases.  The largest number of digits, it seems to allow is 40 before it begins to be replaced by 0.

    With numbers that have more than 40 figures, Oracle will sometimes replace all numbers according to the 38th numbers with a 0 and sometimes replace 0 after the digit 39th or 40th.

    Therefore, what is the largest number of digits, can be trusted to safely store Oracle?

    This is the code I used for this testing process.

    create the table max_num (num number);

    declare

    number of l_x;

    Start

    for x in 1.200

    loop

    l_x: = x;

    insert into max_num values (rpad (1, x, 1));

    end loop;

    exception

    while others then

    dbms_output.put_line ('STOP: ' | l_x);

    dbms_output.put_line (SQLERRM);

    end;

    /

    Select num, length (replace (num, 0)) of max_num;

    What length more of a NUMBER that Oracle will "support"?

    You have already given your own answer. If 'length': the maximum number of digits is written the doc gives you the answer:

    999... (38 9's) x 10 value maximum125

    The 38/39/40, hereinafter referred to as the doc means "significant digits". This is why rounding or truncation occurs if you provide more significant digits of 38/39/40.

    Oracle stores the numbers internally in a binary format 21 bytes using a documented structure in the doc of the OIC in the section 'NUMBER'.

    http://docs.Oracle.com/CD/E11882_01/AppDev.112/e10646/oci03typ.htm#i423684

    Oracle database stores the values of the NUMBER data type in a variable length format. The first byte is the exponent and is followed by 1 to 20 mantissa bytes. The high bit of the exponent byte is the sign bit; It is defined for positive numbers, and it is cleared for negative numbers. The lower 7 bits represent the exponent, which is a number of base-100 with an offset of 65.

    This article from doc continues to show you how to convert the internal format to the real value.

    An additional byte of 1 is used for all types of data to store the length; That's why you often see docs saying numbers can take 22 bytes.

  • the selection of all colomns_names of a table, with their data types...

    HI :)

    I would like to know, how to select in SQL for all the names of columns in a table with their data types so that I get something like this:

    Table 1: table_name

    the ID of the column has the NUMBER data type
    the name of the column has Datatype Varchar2
    *....*

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

    Table 2: table_name

    the check in the column has the NUMBER data type
    the air of the column has Datatype Varchar2
    *....*


    and it must be for all the tables that I own!...

    P. S: I'm trying to do this with java, so it s would be enough if you just tell me how to select all tables_names with all their colums_names and all their data types!...

    Thanks :)



    I've heard this can be done with USER_TABLES... but I have no idea how: (...)

    Edited by: user8865125 the 17.05.2011 12:22

    Hello

    USER_TAB_COLUMNS data dictionary view has a row for each column of each table in your schema. The columns TABLE_NAME, COLUMN_NAME and DATA_TYPE contains all the information you need.
    Another view of data, USER_TABLES dictionary, can be useful, too. He has a line of table pre.

  • Convert or map Typedonnees decimal Transact-SQL for Oracle Number data type?

    MSSQL 2005
    Oracle 10.2 g

    In a MSSQL table, I have a column with the data type set on (decimal (1.0), null) with the values of line-1. (695 lines in total)

    In the Oracle table, the proposed mapped column is a number data type. When I import data, I received 695 errors with the message "invalid value for the field. How to properly convert or map Decimal (MSSQL) Transact-SQL for Oracle Number data type for a negative value?

    Thank you.

    How do you load data into Oracle? What tool or programming language you are using? Can you post something cause what you stated in your post should work, but there may be some ODBC, or other type of conversion factors to be taken into account.

     > create table t1 (field1  number(1,0));
    
    Table created.
    
     > insert into t1 values (-1);
    
    1 row created.
    
    UT1 > select * from t1;
    
        FIELD1
    ----------
            -1
    

    HTH - Mark D Powell.

  • How to make a list of question field with the data type DATE?

    I have a column with the DATE data type. Using forms 6i I want to generate a poplist field of list item with this column while the value of the items in the list of names of days like SATURDAY, SUNDAY, MONDAY. If we change the date to a char data type, it won't work properly, but now with the data type DATE behind him, it gives the following error message

    "FRM-32082: invalid value for given the type of element."
    List WEEKREST
    Article: WEEKREST
    Block: EMPRESTS
    Form: module 3
    FRM-30085: unable to adapt to the shape for the release. »


    Using forms 6i how a list item field type DATE data which may contain names of days?

    Set your date as a hidden field (not shown) column. Create your item list with the names of day of varchar2. Create the list item as a base table field that accepts the values of text in the names of the days. On this area, create a when-validate-item trigger that translated the text into an actual date that it then uses to set the value of the real object of the base table.

  • Problem with the DATA types, in a UNION

    Hello
    I m trying to disply a custom message when no data found using the structure below. Unfortunately I ve you have a problem with the data types I im trying to union
    I tried different types of data in the 2nd SELECTION tool but the rest of the problem. Help, please.

    SELECT HOSP_NAME 'HOSPITAL' DOC_SUR 'NAME', 'NAME' DOC_NAME, d.DOC_ID ID, diagnosis
    H., DOCTOR d, (SELECT d.DOC_ID, COUNT (d.DIAGN_ID) diagnosis
    OF PATIENT_DIAGNOSIS d
    GROUP BY d.DOC_ID)
    WHERE diagnosis > 1

    UNION ALL

    SELECT TO_CHAR ('test'), TO_CHAR ('test'), TO_CHAR ('test'), TO_CHAR ('test'), 0
    OF THE DOUBLE
    If NOT EXISTS (HOSP_NAME 'HOSPITAL' 'NAME' 'NAME' DOC_NAME DOC_SUR, d.DOC_ID ID, diagnosis
    OF ΝΟΣΟΚΟΜΕΙΟ h, ΙΑΤΡΟΣ d, (SELECT d.DOC_ID, COUNT (d.DIAGN_ID) diagnosis
    OF PATIENT_DIAGNOSIS d
    GROUP BY d.DOC_ID)
    WHERE diagnosis > 1);


    ORA-01790: expression must have same type of data, matching expression
    01790 00000 - "expression must have the same type of data, matching expression.

    DOC_SUR 'NAME' DOC_NAME 'NAME', ID d.DOC_ID, HOSP_NAME "HOSPITAL", diagnosis

    What is the data type for these columns

    To_char('test'), to_char ('test'), to_char ('test'), to_char ('test'), 0

    What you're doing here 'test' is already a character. Why do you use TO_CHAR?

  • Data problem whith model number data type

    Hi all

    Here's a strange thing with the data model of the Editor (Oracle Business Intelligence 11.1.1.7.0 / windows 7 / Firefox).

    Create a data set of sql query with this statement "select 1.23 double." The data type of the column is whole and cannot be changed.

    So I use the cast function "select cast (1.23 v number (16.2)) double ' and now it's OK the data type is double.

    Now add a second line, change the statement like this:

    Select cast (1.23 v number (16.2)) double

    Union of all the

    Select cast (4.56 v number (16.2)) double

    If you save the template, and charge it, the type of data has changed in full!

    Anyone know why this is happening?

    The patch should be applied, but is a temporary solution:

    Select cast (d.v number (12,2)) v

    de)

    Select v 1.23 double

    Union of all the

    Select 2.34 double v

    ) d

    Thank you

  • Probable bug with decimal data type mapping in storage of XmlType relational object

    Hello

    I'm having a problem with what appears to be a bug me when Oracle creates the mapping object / relational schema for a data type "XSD: Decimal":

    I want to store geo codes 6 fractional digits, so I need to 3 digits to the left and 6 digits to the right of the decimal point.

    In the XSD data type restrictions, which would give me a 'fractionDigits' and a 'totalDigits' 9 6.

    Oracle must convert this number (9, 6).

    However, what Oracle made out that is a NUMBER (15.6)

    In order to get an Oracle to generate a NUMBER (9, 6), I need to qualify the 'totalDigits' 3, which is accepted by Oracle, but makes my schema invalid for virtually any other application XML, because it violates the official specs of XSD:

    http://www.w3.org/TR/xmlschema-2/#RF-fractionDigits:

    4.3.12.4 constraints on fractionDigits components of schema

    Schema component constraint: fractionDigits less than or equal to totalDigits

    It is an error for fractionDigits is greater than totalDigits.

    Is it possible to have the good totalDigits of 9 in my scheme and force the Oracle to translate that into NUMBER (9,6)?

    Maybe some attribute oraxdb I do not know yet?

    I'm surprised that this has not been found earlier.

    There was an announcement about this before, but he did not get the real answers:

    TotalDigits and fractionDigits to number conversion problem

    Here is my complete code example:

    -- Registering the schema
    BEGIN
    DBMS_XMLSCHEMA.REGISTERSCHEMA(
    'http://localhost/decimaltest.xsd',
    '<?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns:oraxdb="http://xmlns.oracle.com/xdb" oraxdb:storeVarrayAsTable="true" oraxdb:schemaURL="http://localhost/decimaltest.xsd">
      <xs:element name="dataTypeTests" oraxdb:SQLName="ZZZ_DATA_TYPE_TEST" oraxdb:SQLType="ZZZ_DATA_TYPE_TEST_TYPE" oraxdb:defaultTable="" oraxdb:tableProps="TABLESPACE CATALOG NOLOGGING" oraxdb:maintainDOM="false">
      <xs:complexType>
      <xs:sequence>
      <xs:element name="geoCode" type="geoCodeType" oraxdb:SQLName="GEO_CODE" oraxdb:maintainDOM="false"/>
      </xs:sequence>
      </xs:complexType>
      </xs:element>
      <xs:simpleType name="geoCodeType">
      <xs:restriction base="xs:decimal">
      <xs:totalDigits value="9"/>
      <xs:fractionDigits value="6"/>
      </xs:restriction>
      </xs:simpleType>
    </xs:schema>',
    gentables=>FALSE);
    end;
    /
      
      
    -- Display the auto-generated Oracle custom type
    describe ZZZ_DATA_TYPE_TEST_TYPE;
      
    -- Clean up
      
    begin
      DBMS_XMLSCHEMA.DELETESCHEMA(
      'http://localhost/decimaltest.xsd',
      DBMS_XMLSCHEMA.DELETE_CASCADE
      );
    end;
    /
    

    In the XSD data type restrictions, which would give me a 'fractionDigits' and a 'totalDigits' 9 6.

    Oracle must convert this number (9, 6).

    And that's where you're wrong.

    fractionDigits = 6 means at least 6 digits located to the right of the decimal point.

    This is different from the semantics of NUMBER (m, n), where n is exactly n fractional digits stored.

    123.456789 is a valid number by the XSD.

    123456789 is as valid a number, but of course it does not fit in a NUMBER (9.6).

    Oracle must create a NUMBER (15.6) to store any number of valid schema, it is a necessary condition.

    But this is not a sufficient condition: obviously, any number in a NUMBER (15.6) is not valid per the XSD, and this is where the schema validation occurs to enforce the constraints of two facets.

    Here are some examples:

    BEGIN

    DBMS_XMLSCHEMA. REGISTERSCHEMA)

    schemaURL-online "decimaltest.xsd."

    schemaDoc =>

    '

    http://www.w3.org/2001/XMLSchema"elementFormDefault ="qualified"xmlns:oraxdb ="http://xmlns.oracle.com/xdb"oraxdb:storeVarrayAsTable ="true"oraxdb:schemaURL ="http://localhost/decimaltest.xsd">" "

    '

    genTypes-online true

    genTables-online fake

    enableHierarchy-online dbms_xmlschema. ENABLE_HIERARCHY_NONE

    );

    end;

    /

    SQL > declare

    doc 2 xmltype: = xmltype)

    3'123456789"

    .createSchemaBasedXML('decimaltest.xsd') 4);

    5. start

    6 doc.schemaValidate ();

    7 end;

    8.

    PL/SQL procedure successfully completed.

    SQL > declare

    doc 2 xmltype: = xmltype)

    3'123456789.1'

    .createSchemaBasedXML('decimaltest.xsd') 4);

    5. start

    6 doc.schemaValidate ();

    7 end;

    8.

    declare

    *

    ERROR on line 1:

    ORA-31154: invalid XML document

    ORA-19202: an error has occurred in the processing of XML

    LSX-00215: value '123456789.1' whose total numbers exceed 9

    ORA-06512: at "SYS." XMLTYPE", line 354

    ORA-06512: at line 6

    SQL > declare

    doc 2 xmltype: = xmltype)

    3'12.3456789'

    .createSchemaBasedXML('decimaltest.xsd') 4);

    5. start

    6 doc.schemaValidate ();

    7 end;

    8.

    declare

    *

    ERROR on line 1:

    ORA-31154: invalid XML document

    ORA-19202: an error has occurred in the processing of XML

    LSX-00211: "12.3456789", including the fractional numbers exceeds 6

    ORA-06512: at "SYS." XMLTYPE", line 354

    ORA-06512: at line 6

  • How to auto-off rounded af:inputText liaison with the data type Double?

    Hello Experts,

    If a component af:inputText is bind with a field whose data type is Double I saw if I enter 12.0 in the text field, and then it changes automatically to 12. Another example: 12,010 turns into 12.01.

    My requirement is to maintain the value that it has been seized. But the validation client side of the field, that ADF provides by default, should be present. I mean that ADF throws the error message if I get 12a.01; as it is not a Double.

    How can I achieve this?

    Any pointer would be vary useful.

    JDeveloper version: 11.1.1.6.0

    No, what I mean is that if you keep the zeros on the right, the data type is not a Double.

    Once you save 12.010 and read it again, you will see zero residue. You would see only the zero if you or the other say the number still show for example 3 fraction digits or if you store the value as a string that will store the entry as is and use a regular expression validator to ensure that only valid numbers are entered.

    In the first case ever number has 3 digits of fraction for example 12-> 12.000 and 12.010-> 12.010

    In summary, you will need to decide which way to go. If the data type must be Double, then there is no zero leakage or you must use the minFractionDigits which will always use the zero leak until the number of spezified. If the does not like what you have to store strings.

    Timo

  • to join two columns with different data types

    Hello experts,

    I have two tables...
         create table1
       (
         col1 varchar2(20)
        );
        
      create table2
        (
          col1 number(10)
        );  
    
      
    with their data as below
              with table1 as
      (  select 'xx' col1 from dual union all 
         select 'yy' col1  from dual union all
         select '01' col1  from dual union all
         select '02' col1  from dual union all
         select '03' col1  from dual union all
         select '04' col1  from dual 
      ),table2 as 
       (
         select '01' col1 from dual union all
         select '02' col1 from dual union all
         select '03' col1 from dual union all
         select '04' col1 from dual 
        )
          
        
    My question
    How to join table1.col1 table2.col1? since they are different data types... .i tried to use To_char but then I got 0 zero,.
    is there is all the functions I can use?


    Thank you!!

    user642297 wrote:
    Hello experts,

    I have two tables...

    create table1
    (
    col1 varchar2(20)
    );
    
    create table2
    (
    col1 number(10)
    );  
    

    with their data as below

    Above, you said that table2.col1 was a NUMBER.
    Below, is a VARCHAR2:

    with table1 as
    (  select 'xx' col1 from dual union all
    select 'yy' col1  from dual union all
    select '01' col1  from dual union all
    select '02' col1  from dual union all
    select '03' col1  from dual union all
    select '04' col1  from dual
    ),table2 as
    (
    select '01' col1 from dual union all
    select '02' col1 from dual union all
    select '03' col1 from dual union all
    select '04' col1 from dual
    )
    

    Woudn't be a better approximation of your real tables:

       ),table2 as
        (
          select 1 col1 from dual union all
          select 2 col1 from dual union all
          select 3 col1 from dual union all
          select 4 col1 from dual
         )
    

    ?

    My question
    How to join table1.col1 table2.col1? since they are different data types... .i tried to use To_char but then I got 0 zero,.
    is there is all the functions I can use?

    Your postal code. I think the best way is to use TO_CHAR, but maybe you were using it differently.

    SELECT     *
    FROM     table1
    JOIN     table2     ON     NVL ( LTRIM (table1.col1, '0')
                       , '0'
                       )     = TO_CHAR (table2.col1)
    ;
    

    This assumes that table1.col1 never contains decimal points, unary + signs, exhibitors, or other things like that.
    He will be responsible for negative numbers, but if table1.col1 contains 0 in front after the sign less (for example '-0012' "), then the solution is a bit more complicated.

  • Question number data type

    Dear all,

    I have the instruction insert statement in my form. Because I'm inserting fields numbers two at a table. These two fields are of the form variables. Those that contain the data type number. In the database, we have datatype as number (14.3) for these fields. These 2 areas containing value according to the 12-digit number.

    Where to insert it showing me an error message such as,
    ORA-01438: value superior to the precision specified for the column.

    Give me advice to solve this problem.

    Thanks in advance,
    Lakshmi.P.

    Hello

    Number (14.3) means 11 digits and 3 decimals. Display the number you are trying to insert. It must be greater than 99,999,999,999
    or maybe, you have a problem with the decimal separator character.

    François

  • MessageTextInput element with the Data Type - Date

    I'm working on an extension customized using OAF in a region where there are a few things and one of them is a 'messageTextInput '.
    Here I put the Data Type as 'Date' so that the date selection dialog box is displayed for the user to select the date from.
    However, when the user selects the date in the date box, messageTextInput box fills with a date in the form ' 12.7.11"but I want the date appears as July 12, 2011.
    Can someone let me know how to achieve this.

    Concerning
    Hawker

    Hawker,

    Click on Preferences and check regional > setting of the territory.

    Let me know the value that you have it here.

    Kind regards
    GYAN

  • Consume a web service from ASP which responds with complex data types...

    Here's my problem - I'm trying to consume a web service from a provider that uses complex data types.

    The starting of the WSDL part looks like this (I have not included all) - named have been changed to protect the innocent:

    " < wsdl:definitions targetNamespace = ' http://domain_name ">
    WSDL: < types >
    " < s:schema elementFormDefault ="qualified"targetNamespace =" http://domain_name ">
    < s:element name = "Authentication" >
    < s:complexType >
    < s:sequence >
    < s:element minOccurs = "0" maxOccurs = "1" name = "User name" type = "s:string" / >
    < s:element minOccurs = "0" maxOccurs = "1" name = "Password" type = "s:string" / >
    < s:element minOccurs = "0" maxOccurs = "1" name = "Token" / >
    < / s:sequence >
    < / s:complexType >
    < / s:element >
    < s:element name = "AuthenticateResponse" >
    < s:complexType >
    < s:sequence >
    < s:element minOccurs = "1" maxOccurs = "1" name = "AuthOK" type = "s:int" / >
    < s:element minOccurs = "0" maxOccurs = "1" name = "Token" / >
    < / s:sequence >
    < / s:complexType >
    < / s:element >

    Since it is a return, with a sequence of complexType, I expect an array or a structure returned, but instead I just get the value of "AuthOK" and no way to get something else.

    Here are the ways I tried to call it:

    < cfscript >

    WS = createObject ("WebService", "https://WSDL_URL");

    WS_ret = WS. Authentication (name of user = "username", password = "password", token = "");

    < / cfscript >

    < cfdump var = "" #WS_ret # "/ >"

    < cfinvoke webservice = "WSDL_URL" method = "Authentication" returnVariable = "WS_ret" >

    < name cfinvokeargument = "userID" value = "7253320" / >
    < cfinvokeargument name = "password" value = "ctpjxs3" / >
    < name cfinvokeargument = "SecurityToken" value = "" / > "

    < / cfinvoke >

    < cfdump var = "" #WS_ret # "/ >"

    Any ideas how I can get the other variables in the sequence? I have other calls after that have a greater amount of variables, and as such I can't use without being about to get more than the

    You can try using the function GetSOAPResponse to review the XML code you receive.

    'GetSOAPResponse '.

    http://livedocs.Adobe.com/ColdFusion/8/htmldocs/help.HTML?content=functions_e-g_59.html#50 54378

    "Troubleshooting SOAP requests and responses.

    http://livedocs.Adobe.com/ColdFusion/8/htmldocs/help.HTML?content=webservices_27.html#1222 070

    As for the question of docs, I suspect mediocre edition is at fault.  I assume that the web service is supposed to have an echoStruct method but this is unclear.

  • Table of functions and direct requests for NUMBER data types database

    Hello. I call a number of functions table of our Enterprise BI server, and I chose to do this by using direct database requests (I believe you can also call functions table in the physical layer of the repository, but is not what I do). The problem is that whenever I go back any number of the table function which is not a whole number (1.23, for example), BI assigns the INTEGER data type to the field rather than the data type DOUBLE, rounded so my number to the nearest integer. Here is a short example:

    Create these 3 database objects:

    CREATE or REPLACE TYPE my_row AS OBJECT (my_num NUMBER);

    CREATE or REPLACE TYPE my_tab AS TABLE OF THE my_row;

    FUNCTION to CREATE or REPLACE my_table_function RETURN my_tab
    PIPELINED IS
    BEGIN
    PIPE ROW (my_row (1.23));
    END;
    /


    Make this your request at your request Direct to database:

    SELECT my_num FROM table (my_table_function);


    This query returns correctly '1.23' when it is called from the database. In BI, on the other hand, it returns a value of '1' (and the field of labels an INTEGER rather than data type DOUBLE). If at the request of data Direct you change column properties-> data-> decimal from 0 to 2 Format, then it displays is not surprising "1.00". I then tried to change MY_ROW. Data type of MY_NUM by explicitly specifying the precision and no luck. BI still labels this field as an INTEGER. Then I started to try to deceive BI massaging the SQL statement itself. None of the following worked:

    SELECT to_number (my_num) as my_num2 FROM table (my_table_function);
    SELECT my_num2 + 0.01 as my_num3 FROM (SELECT my_num - 0.01 AS my_num2 FROM table (my_table_function));
    SELECT to_number (to_char (my_num)) as my_num2 FROM table (my_table_function);
    SELECT to_number (substr (to_char ('x' | my_num), 2)) as my_num2 FROM table (my_table_function);

    Now, I found a solution, but I'm surprised that I have to resort to that:

    SELECT * FROM (SELECT / * + NO_MERGE * / table my_num (my_table_function));

    Is anyone out there knows a better way to do it? The above is a hack in my opinion. :)

    Thanks in advance for any input.

    -Jim

    Yes, it's really amazing.
    But I got it.

    CREATE OR REPLACE TYPE my_row AS OBJECT (my_num NUMBER(10,2));
    

    and in your SQL:

    SELECT cast(my_num as double precision) as my_num2 FROM table(my_table_function);
    

    I have the good result and I see the numbers after the decimal point.
    Very delicate!

    Published by: gerardnico on July 7, 2009 14:55 change number (10.2) in double precision... pffff

  • Working with complex data types in web services...

    Hi all
    I have created a Web service and created an interface for this in the ADF. Now that my web service returns a complex data type, I followed the steps in this article "http://www.oracle.com/technology/products/jdev/howtos/1013/wsadf/adfcomplexwstypes.html" and it works very well, my results are also displayed. But the only problem is that I get a warning "Houston-25009: cannot create an object of type: java.util.calendar value: 2008-09 - 23 T 23: 51:30.000 + 05:30 ' and if I can replace all the java.util.Date oracle.jbo.domain.Date then I get a warning" Houston-25009: failed to create an object of type: oracle.jbo.domain.Date with the value: 2008-09 - 23 T 23: 51:30.000 + 05:30. Now I am unable to understand this, but I think it's a problem of data type mapping, but do not know how to remedy this.

    Everyone knows the wayout?

    Concerning
    Lokesh

    Hi Lokesh,
    I have been troubled by the same question in the past. The problem is that the entrants is a format for dateTime xml adf trying to analyze the underlying java object. Java.util.Calendar, java.util.Date, or oracle.jbo.domain.Date to get a date in adf when scanning automatically your incoming xml file. See this thread on the forum for more information jdeveloper Re: how to deal with xsd: DateTime to webservice in ADF? The answer that gives Frank Nimphius is correct but I used option 1 option 2 should also work.

    Kind regards
    André

Maybe you are looking for