Writing query to Oracle DB with DATE field in it.

When I try to execute the following query on Oracle DB I get an exception. I know that the problem is with Date representation on the query string. Please, if anyone knows how to make it work help me.
query = "INSERT INTO MYTABLE (NAME , BIRTHDAY ) VALUES ('" + person.getName() +" ' , " + person.getBirthday() + " )";
statment.executeUpdate(query);
getBirthday() returns java.sql.Date object.
Please, please, help to work it out!

Thank you, very much.
I've put the record into DB!!!! Hurray!
But now I have another problem. I've got a ResultSet & I'd like to extract the DATE from it. But how?
The Exception text states that the name of the field (Birthday) is incorrect.
My code:
Date birthday = resultSet.getDate("Birthday");
All other fields are perfectly well extracted, but they are Strings.

Similar Messages

  • JHeadstart query operator between with date field

    Hallo,
    I am using JDeveloper 10.1.1.0.2 and JHeadstart 11 Technical Release 1.
    In my Application Definition Editor I use the Query Operator 'between' on a data-field. In my Application I can see a 'from' and 'to' date field.
    Testcase:
    In my table I have 3 dates: 1-1-2009, 17-1-2009 and 18-1-2009.
    If I use:
    Date from: 1-1-2009 and Date to: 18-1-2009 in my Application I expect to see only 2 rows (1-1-2009 and 17-1-2009). But I can see 3 rows.
    So my question is: what does 'to' mean in the JHeadstart generator? Does it include the date you fill in with the 'to' field?

    I can change the text in GeneratorText_nl.properties, but this does not completely solve my problem.
    I use a DateTimeField in my Application and if I use 'Date to' in my search criteria it seems that the Time of my Date-field is being ignored!
    Testcase:
    'Date to' in searchcriteria = 13-10-2009 *12:10:00* also gives results with the same date but time greater than 12:10:00, for example 13-10-2009 *16:10:00*.

  • Problem with date fields in where clause after changing driver

    Hi,
    We have changed the oracle driver we use to version 10
    and now we have some trouble with date-fields.
    When we run this SQL query from our Java program:
    select *
    from LA_TRANS
    where LA_TRANS.FROM_DATE>='20040101' AND LA_TRANS.FROM_DATE<='20041231'
    We get this error code:
    ORA-01861: literal does not match format string
    The query worked fine whit the previous driver.
    Is there some way I can run a SQL query with date fields
    as strings in the where clause?
    Thanks!

    Keeping the argument of standard SQL or not aside, comparing DATE columns to a constant string (which looks like a date in one of the thousands of the formats available, but not in others) is NOT one of the best programming practices and leads to heartburn and runtime errors (as you have seen yourself).
    I would rather compare a DATE to a DATE.
    Also, constants like that would be another issue to fix in your code:
    http://asktom.oracle.com/pls/ask/f?p=4950:8:6899751034602146050::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:528893984337,

  • Updating an oracle table with data from an xml string

    Hi - I need help with the following problem:
    We have a table in the database with a field of xml type. We are going to take each string that gets inserted into the xml type field in the 'xml table' and parse the data into another oracle table with corresponding fields for every element.
    once the record gets inserted into the 'real table' the user might want to update this record they will then insert another record into the 'xml table' indicating an update(with a flag) and then we need to update the 'real table' with the updated values that have been sent in.
    The problem that I am having is that I do not know how to create this update statement that will tell me which fields of the table need to be updated.(only the fields that need to be updated will be in the xml string in the 'xml table').
    Please help me with this - ASAP!

    Are you wanting to upload the file through an Oracle Form or just upload a file? If it isn't via forms, then you should probably post your question here: {forum:id=732}
    You also should post the version of Forms, Database, etc...
    As far as uploading files via a text file, I personally like to use Oracle External Tables even in Forms. You can Google that and there is plenty of information. If you search this forum, then you will see lots of people use UTL_FILE in forms, but you can Google that also for more information.

  • Data moving between Oracle 10g with CLOB fields

    Hi all,
    I have a trouble in migrate data between Oracle 10g with different platform. The worst thing is that I don't have a DBA account for the DB importing data. I think I can't use IMP or IMPDP in this way. So I seek help from sql developer, but it seems having another problem with CLOB data moving.
    Re: EA2 : SQL Developer 1.5 : export data CLOB columns
    in the thread, I found someone wrote this:
    - SQL Developer v1.5 EA2 - exports first 4000 chars (which is anyway too small for me, because my CLOBs are larger - if they were smaller, I would have made them VARCHAR2s instead!).
    I would like to ask:
    1, What SQL Developer v1.5 EA2 is? Is it the Data Modeling one?
    2, How to export table data with CLOB with SQL Developer v1.5 EA2? Since 4000 chars is enough for me to use.
    OR any other method to export CLOB but not IMP / IMPDP ?
    Now I am using the spool of sqlplus to export CLOB.
    Many thanks,

    1. The EAs are Early Adapters, betas, so you should expect the same behaviour from the latest 1.5.4 production release.
    2. Exports can be done with the Database Export tool, through the table's context menu in the navigator tree or the result grid's context menu.
    Have fun,
    K.

  • View criteria with date field in ADF

    Hi ADF Experts,
    I have a requirement like.I have a VO with query let say  "Select * from Employee"
    I have created viewCriteria in that VO like "HireDate between 'abc' and 'XYZ'.
    In AMImpl class I have written, one fuction to apply viewcriteria on VO and execute query.
    Expose that function as service method, and execution form backing bean.
    It is working properly for all other column except the date field.(May be beause of date format, as we cannot apply To_Char, or ToDate in view criterai for date format)
    Tried all possible combination but no luck
    Please help

    Hi,
    The below link might be helpful for you
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/59-table-filter-by-data-range-176653.pdf
    Thanks
    Prabhat

  • Materialized view fast refresh with date field

    I have a situation where I need to create a materialized view worth of 6 months of data with fast refresh option from the master table. Somehow whenever I have the where clause added with the date field then it craps out with "ORA-12015: cannot create a fast refresh materialized view from a complex query".
    Here is what I am trying to do. Please let me know if there is any other way to accomplish this.
    create table test (id number, date_time DATE);
    CREATE MATERIALIZED VIEW LOG ON test WITH ROWID;
    CREATE MATERIALIZED VIEW cms.scoreboard_statistics_mv
    BUILD IMMEDIATE
    REFRESH FAST
    WITH ROWID
    AS
    SELECT * from test
    WHERE date_time >= sysdate - 180;
    ORA-12015: cannot create a fast refresh materialized view from a complex query
    Thanks,
    Raj

    It's crazy but a new time Metalink help us into the Note:179466.1
    The restrictions that prevent snapshots from being fast refreshed depend on
    the version of Oracle being used, a full list of these by version is included
    in section 3. In all cases the snapshot defining query should:
    - refer to fully qualified table names rather than to partial table names.
    - refer to remote tables only, not to remote master views or synonyms.
    - not generate context sensitive data. For example, do not create a simple
    snapshot with a query that uses the SQL functions :SYSDATE, UID or USER.

  • Working with Data Field (XMLTYTPE)

    XMLTYPE is a new type of data element I have yet to work with and I am seeking some guidance as how best to approach
    this in order to display the contents of these fields.
    I have the XSD available to me which I believe I will have to query the contents withing this field and within a outter query.
    This may not be an easy task to explain, but if some one is willing to take a stab at it, i'd greatly appreciate any advice given.
    Enjoy your Day,
    Sincerely,
    George

    Check this link
    http://docs.oracle.com/cd/B10500_01/appdev.920/a96620/xdb04cre.htm
    If helps pls mark

  • ROracle with Date fields

    I am trying to switch over to ROracle for performance reasons and yes it is much faster than RODBC. However, whenever I query and return a column that is in an Oracle date/time format the dbGetQuery kicks an error:
    [1] "Error in .oci.GetQuery(conn, statement, ...) : \n Error in try({ : ORA-01455: converting column overflows integer datatype\n\n\n"
    attr(,"class")
    [1] "try-error"
    attr(,"condition")
    <simpleError in .oci.GetQuery(conn, statement, ...): Error in try({ : ORA-01455: converting column overflows integer datatype
    Is there a way to avoid the conversion or to have it instead convert to a character field?
    Thanks,
    sd

    Denis,
    The query is a straight forward select * from my_table. to_char does fix the issue, but since the number of columns in most the tables I query from is significant, I don't want to put the to_char into the sql or have to create views to use ROracle.
    Below is the column classification table return from rociResInfo call. I've blinded the column and table names since this is company data. All the columns with field precision = 16 were date fields and were set to integer.
    -sd
    statement     isSelect     rowsAffected     rowCount     completed     fields.name     fields.Sclass     fields.type     fields.len     fields.precision     fields.scale     fields.nullOK
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN1     integer     NUMBER     22     20     0     FALSE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN2     character     VARCHAR2     1000     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN3     character     VARCHAR2     255     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN4     character     VARCHAR2     40     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN5     integer     NUMBER     22     16     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN6     character     VARCHAR2     255     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN7     character     VARCHAR2     255     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN8     character     VARCHAR2     100     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN9     character     VARCHAR2     100     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN10     character     VARCHAR2     4000     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN11     character     VARCHAR2     4000     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN12     character     VARCHAR2     100     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN13     character     VARCHAR2     4000     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN14     character     VARCHAR2     100     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN15     integer     NUMBER     22     10     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN16     character     VARCHAR2     100     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN17     character     VARCHAR2     100     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN18     numeric     NUMBER     22     0     -127     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN19     integer     NUMBER     22     16     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN20     integer     NUMBER     22     16     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN21     character     VARCHAR2     400     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN22     character     VARCHAR2     400     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN23     character     VARCHAR2     100     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN24     character     VARCHAR2     400     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN25     integer     NUMBER     22     16     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN26     numeric     NUMBER     22     0     -127     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN27     character     VARCHAR2     100     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN28     numeric     NUMBER     22     0     -127     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN29     character     VARCHAR2     1000     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN30     character     VARCHAR2     4000     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN31     numeric     NUMBER     22     0     -127     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN32     numeric     NUMBER     22     0     -127     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN33     numeric     NUMBER     22     0     -127     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN34     numeric     NUMBER     22     0     -127     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN35     numeric     NUMBER     22     0     -127     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN36     integer     NUMBER     22     10     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN37     character     VARCHAR2     100     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN38     character     VARCHAR2     4000     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN39     character     VARCHAR2     4000     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN40     integer     NUMBER     22     10     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN41     integer     NUMBER     22     10     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN42     numeric     NUMBER     22     0     -127     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN43     numeric     NUMBER     22     0     -127     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN44     numeric     NUMBER     22     0     -127     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN45     numeric     NUMBER     22     0     -127     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN46     character     VARCHAR2     100     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN47     character     VARCHAR2     4000     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN48     character     VARCHAR2     4000     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN49     character     VARCHAR2     4000     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN50     character     VARCHAR2     100     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN51     character     VARCHAR2     100     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN52     integer     NUMBER     22     10     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN53     integer     NUMBER     22     10     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN54     integer     NUMBER     22     10     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN55     integer     NUMBER     22     16     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN56     integer     NUMBER     22     10     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN57     character     VARCHAR2     4000     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN58     numeric     NUMBER     22     0     -127     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN59     numeric     NUMBER     22     0     -127     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN60     numeric     NUMBER     22     0     -127     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN61     character     VARCHAR2     100     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN62     character     VARCHAR2     100     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN63     character     VARCHAR2     100     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN64     character     VARCHAR2     100     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN65     character     VARCHAR2     100     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN66     character     VARCHAR2     4000     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN67     character     VARCHAR2     100     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN68     character     VARCHAR2     100     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN69     character     VARCHAR2     200     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN70     character     VARCHAR2     100     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN71     character     VARCHAR2     100     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN72     character     VARCHAR2     100     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN73     character     VARCHAR2     100     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN74     character     VARCHAR2     100     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN75     character     VARCHAR2     100     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN76     character     VARCHAR2     4000     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN77     character     VARCHAR2     4000     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN78     character     VARCHAR2     40     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN79     integer     NUMBER     22     19     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN80     character     VARCHAR2     100     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN81     character     VARCHAR2     40     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN82     integer     NUMBER     22     1     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN83     integer     NUMBER     22     1     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN84     character     VARCHAR2     4000     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN85     character     VARCHAR2     4000     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN86     character     VARCHAR2     100     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN87     numeric     NUMBER     22     0     -127     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN88     integer     NUMBER     22     20     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN89     character     VARCHAR2     100     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN90     character     VARCHAR2     100     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN91     integer     NUMBER     22     10     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN92     integer     NUMBER     22     10     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN93     integer     NUMBER     22     10     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN94     character     VARCHAR2     100     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN95     character     VARCHAR2     100     0     0     TRUE
    Select * from MYTABLE     TRUE     0     0     FALSE     COLUMN96     character     VARCHAR2     100     0     0     TRUE

  • Problem with date field (truncation)

    Hi guys!
    I have an interface between Oracle and Oracle. My LKM is SQL to SQL and my IKM is SQL Control Append.
    In the source table i have a date with a hour but after executing the interface in the target date field I receive only date without hour...
    Do you know where it can be truncated ?
    With regards,
    PsmakR

    This an Oracle JDBC Driver error...
    Try this to fix the issue:
    Go to Topology Manager and from the Physical Architecture > Technologies > Oracle > your Data Server > Properties tab, add the oracle.jdbc.V8Compatible property and set its value to true.
    Doing that you can loose the millisecond precision for timestamps format.
    You can also have a try with the Oracle JDBC Driver version 11.1

  • Can i Use a time stamp vale  in where condition with date field?

    HI,
    In a where condition the table field vale is of type timestamp and select options value is of type date.
    How do i select data?

    Define a range for r_dt for timestamp field.
    Initailize the range with the below values.
    r_dt-sign = 'I'.
    r_dt-option = 'CP'.
    concatenate r_date-low '*' into r_dt-low.
    concatenate r_date-high '*' into r_dt-high.
    append r_dt.
    Use r_dt in your select query where clause.
    Note - r_date is the select-option for your date field.
    Regards
    Anurag

  • Jdev 10.1.13 EA1 - search form (BC + ADF faces) with date field

    Did anyone tried to make a simple search form with BC,( just draging view form control palette to faces page?)
    Because when i did it and tried to search by one date field (for example orderDate) i got exception:
    oracle.adfinternal.view.faces.convert.ConvertException: Could not convert instance:Wed Sep 07 00:00:00 CEST 2005 of type:class java.util.Date into type:class java.lang.String
    Is it a bug?
    I tried to use converDateTime component but it haven't fixed the problem.
    Bart.

    Hi,
    Business Components doesn't perform type conversion. This is the problem I see. Basicaly the expected format is String
    Could not convert instance:Wed Sep 07 00:00:00 CEST 2005 of type:class java.util.Date into type:class java.lang.String
    Is you date field really a date field ?
    Frank

  • Unable to Connect Oracle 7 with Data Services 3.2

    Hi All,
    I am incredibly facing an issues with Oracle 7 connecting with Data Services 3.2. with Native client drivers (TNS Names).
    The client legacy application is on Oracle 7, they are moving the data from legacy to SAP ECC. My role is to transfer the data from Oracle 7 to SAP ECC, We are using Data Services 3.2 for conversion. This Data Services 3.2 is not connecting with Oracle 7 by using oracle native drivers (TNS Names).
    I am able to connect Oracle 8 client with SQL *Plus, but with Data Services its not connecting, I am able create Data Store but when try to import the table the error message I am getting like "ORA-24316: Illegal handle Type"
    Is there any other solution for this to connect, or Is Data Services 3.2 will not connect to Oracle 7 since its older version.
    Please reply with your thoughts, or with some solution.
    Appreciate your prompt reply. Many thanks.

    Hi Paul,
    Currently I am using ODBC connection to read the data from legacy Oracle7, but ODBC is very very slow, queries are taking hours to fetch the data. Is there any other solution by chance... I read that DataDirect is the one can connect to any versions of oracle and its bit faster, is that true. Please clarify me. If that is the solution where can I get this DataDirect drivers for oracle 7? Please advice me.
    Thank  You,
    Ashok

  • Problem with Date fields in Search panel

    Hi all,
    I use TP2 and in my jspx page I have a search panel with two date fields and table where the results is displayed. But there is a problem with these date fields, because when I search dates the results is nothing even I retype the date from table. Also I have other pages where this problem exist with same structure.
    Could somebody help me with some advice?
    Thanks in advance!

    Hi Frank,
    Thanks for the answer.
    I use the standart method to make search panel with drag and drop the data control to the page. The other search panel fileds work fine, only the date fileds are problem. Maybe something in view object doesn't work properly.
    Here I post the code from my page.
    <table border="1" style="margin:5px;">
    <tr>
    <td>
    <af:showDetailHeader text="ТЪРСЕНЕ" disclosed="true"
    inlineStyle="width:780px;">
    <table cellspacing="2" cellpadding="3" border="0">
    <tr align="left">
    <td align="right">
    <af:outputLabel value="#{bindings.EGN.hints.label}"/>
    </td>
    <td align="left">
    <af:inputText value="#{bindings.EGN.inputValue}"
    label="#{bindings.EGN.hints.label}"
    columns="#{bindings.EGN.hints.displayWidth}"
    maximumLength="#{bindings.EGN.hints.precision}"
    simple="true"/>
    </td>
    <td align="right">
    <af:outputLabel value="#{bindings.LNC.hints.label}"/>
    </td>
    <td align="left">
    <af:inputText value="#{bindings.LNC.inputValue}"
    label="#{bindings.LNC.hints.label}"
    columns="#{bindings.LNC.hints.displayWidth}"
    maximumLength="#{bindings.LNC.hints.precision}"
    simple="true"/>
    </td>
    <td align="right">
    <af:outputLabel value="#{bindings.AccPersonID.hints.label}"/>
    </td>
    <td align="left">
    <af:inputText value="#{bindings.AccPersonID.inputValue}"
    label="#{bindings.AccPersonID.hints.label}"
    columns="#{bindings.AccPersonID.hints.displayWidth}"
    maximumLength="#{bindings.AccPersonID.hints.precision}"
    simple="true"/>
    </td>
    </tr>
    <tr align="left">
    <td align="right">
    <af:outputLabel value="#{bindings.PersonName.hints.label}"/>
    </td>
    <td align="left" colspan="5">
    <af:inputText value="#{bindings.PersonName.inputValue}"
    label="#{bindings.PersonName.hints.label}"
    columns="#{bindings.PersonName.hints.displayWidth}"
    maximumLength="#{bindings.PersonName.hints.precision}"
    simple="true"/>
    </td>
    </tr>
    <tr align="left">
    <td align="right">
    <af:outputLabel value="#{bindings.DateFrom.hints.label}"/>
    </td>
    <td align="left">
    <af:inputDate value="#{bindings.DateFrom.inputValue}"
    label="#{bindings.DateFrom.hints.label}"
    simple="true">
    <af:convertDateTime pattern="#{bindings.DateFrom.format}"/>
    </af:inputDate>
    </td>
    <td align="right">
    <af:outputLabel value="#{bindings.DateTo.hints.label}"/>
    </td>
    <td align="left">
    <af:inputDate value="#{bindings.DateTo.inputValue}"
    label="#{bindings.DateTo.hints.label}"
    simple="true">
    <af:convertDateTime pattern="#{bindings.DateTo.format}"/>
    </af:inputDate>
    </td>
    </tr>
    <tr>
    <td align="right">
    <af:commandButton actionListener="{bindings.Execute.execute}"
    text="#{bundle.FindBtn_LABEL}"
    disabled="#{!bindings.Execute.enabled}"
    icon="/images/find.png"/>
    </td>
    <td align="left">
    <af:commandButton text="#{bundle.FindClearBtn_LABEL}"
    icon="/images/find_clear.png"
    action="#{PeopleBean.onClearVCBtn}"/>
    </td>
    </tr>
    </table>
    </af:showDetailHeader>
    </td>
    </tr>
    </table>
    Also I have a result table for the search panel, but I don't believe the problem can be there because it works fine when I search in fields different by inputDate.
    Do you have any suggestions?

  • Problem with Date-Field

    Hi,
    I have a problem with a date-field. Maybe I must describe the problem more detailled, but first I just want to ask you, if you know the following error-message: "21.10.2010 kommt nicht in der Menge der erlaubten Werte vor". I don't know the correct translation but it must be something like this: "21.10.2010 does not occur in the quantity of the permitted values". I don't find the position in the sourcecode of this message. And I know, that this message isn't thrown by a functionblock from SAP. So what is the describtion of this message?

    Yes I have a date field in my form. Ok I must describe it more detailled. I have an employee searchfield. After select an employee you see a form. After filling the form you click on "Send". It creates a ticket and sends the data to the Backend and jumps back to the employee search field. Untill this point everything works fine. There is no problem with the datefield. Now I want to create the form. I choose an employee and fill the form. But now it comes this message. But not after clicking the "send" button. The message comes after changing some data (e.g. change a radio button). So it looks like a validationproblem, but only at the second creationprocess. Maybe the first date is in some cache? I don't know...

Maybe you are looking for

  • Did you know that your Internet Explorer is out of date?

    Hello there, when i access this site http://www.sickkids.ca/ , I am getting this error message, please advice. Did you know that your Internet Explorer is out of date? To get the best possible experience using our website we recommend that you upgrad

  • How do I install Version 11.1.4 of iTunes successfully?

    I received an update to iTunes which I tried to install on my Windows 7 desktop, as I always have, but found that there was a file MSVCR80.dll missing - it couldn't open the service. I followed the advice from Apple of clearing a Temp folder, uninsta

  • Email syncing/new notifications

    I added my hotmail account to my "email" app and have it set to sync every 15 mins but when I get a new email, I do not get a notificication in my notification bar, even though I DO have that option set in my settings.  I often have to manually refre

  • Renaming files in batchscript

    what is the code in batch script for renaming the file

  • Change the Proficiencies in Appraisal Model, PD???

    Dear All, I am trying to change the Proficiencies in Appraisal Model from the following, as per standard; 1 = 100% 2 = 90%+ 3 = 80%+ 4 = 70%+ 5 = 60%+ 6 = 50%+ To the following, as per the requirements of the client; 1 = 50%+ 2 = 60%+ 3 = 70%+ 4 = 80