Oracle Julian Date

I have an oracle date like this 1112260180
How can I change this to a date time so i can use a Min or Max function ?

Hi,
4e0dd858-387a-40ef-a3b0-de1fbd458a2c wrote:
I have an oracle date like this 1112260180
How can I change this to a date time so i can use a Min or Max function ?
Why can't you use MIN or MAX on the original number, without converting it?
Whenever you have a question, please post a little sample data (CREATE TABLE and INSERT statements), so the people who want to help you can re-create the problem and test their ideas.  Also post the results you want from that data, and an explanation of how you get those results from that data.
Explain, using specific examples, how you get those results from that data.
Always say what version of Oracle you're using (e.g. 11.2.0.2.0).
See the forum FAQ https://forums.oracle.com/message/9362002#9362002
As Hoek said, are you sure that's a Julian date?  Oracle DATEs only go up to Julian date 5373484.

Similar Messages

  • Julian date function.....

    Is there any built in function in Oracle to get the Julian date for a given date?
    Or if you have written a good function to accomodate the same plese share.
    Example:
    20080923 = getJulianDate(Today's date in date data type)
    Thank you,
    Smith

    First link found when i asked for
    Oracle Julian Date
    http://www.psoug.org/reference/date_func.html
    You may think to do a little research before posting questions here.

  • How to Convert Normal XML date or Oracle date to JDE Julian Date

    We can do a simple mathematical step in XSLT :
    'xpath20:format-dateTime(xpath20:current-dateTime(),"[Y0001][d001]") - 1900000'
    Or in SQL :
    Select to_char(sysdate,'YYYYDDD')-1900000 from dual;
    Julian Date is: Year in 4 digits, YYYY, and Number of days in 3 digits, DDD
    JDE Julian Date is Julian Date -1900000 (ie it counts Julian date from 1900 Year)
    "[Y0001][d001]” returns date in Year in 4 digit + number of days in 3 digits. This is the Julian date.
    Subtracting 1900000 ( ie YR ’1900’ & DAY ‘000’) gives the required JDE Julian Date.
    Edited by: prakash.pankaj on Jul 8, 2011 2:13 PM
    Edited by: prakash.pankaj on Jul 8, 2011 4:02 PM
    Edited by: panks on Jul 20, 2011 3:43 PM

    Hi,
    getTime() (in Date) will give you that date in milliseconds since January 1, 1970 00:00:00 GMT.
    To my knowledege, this is the same as Unix date format.

  • Conversion of Hiredate to Julian date

    Hi Gurus,
    Need help in Conversion of hiredate of emp table to Julian date...
    to_date('HIREDATE','YDDD')
    Thanks

    Hi,
    SeenuGuddu wrote:
    Hi Gurus,
    Need help in Conversion of hiredate of emp table to Julian date...
    to_date('HIREDATE','YDDD')
    ThanksIf you have a DATE column called hiredate, then you can use TO_CHAR to display it in the format you want, like this:
    TO_CHAR (hiredate, 'YDDD')Notice that there are no quotes around the first argument.
    Use TO_DATE if you are starting with a string and you want to produce a DATE. For example:
    TO_DATE ('9320', 'YDDD')or, if you have a column called hiredate_text:
    TO_DATE (hiredate_text, 'YDDD')Again, the first argument is not quoted, because it is a column name, not the literal value.
    The Julian Date is (currently) a 7-digit number. If you use some other coding system for dates, it will only cause confusion if you call it "Julian".
    There's already enough confusion between "Julian Date" and "Julian Calendar" (which Oracle uses for dates up to 1582).

  • JDCB Driver not doing data transformation on Julian dates and amount fields

    Hi All,
    In our newly installed BI Publisher instance (10.1.3) is not doing any data transformation on JDE Julian dates and Decimals. I've read that these field values are supposed to be converted automatically. Is there some setting in the JDEJDBC driver connection that makes this happen?
    While working with Oracle support I've found the following:
    1. Beware of white space in the collection string.
    2. Make sure the JDE user logging in goes straight to JDE and has full view privlidges on the tables you are selecting on.
    3. Parameters are not supported by the JDEJDBC Driver -- this pretty much renders this application worthless. Does anyone know of any workarounds?
    Database IBM DB2 UDB version 6.1
    JDE Version: World A7.3
    Edited by: enorton on Jun 30, 2010 2:02 PM

    Lets try com.jdedwards.as400.access.JDEWJDBCDriver (download from oracle support)
    JDEWorldJDBC.jar There is inbuild date conversion and decimal shift.

  • Julian date error

    Hi,
    I am getting an error in ERP.
    ORA-01854: julian date must be between 1 and 5373484
    Can anyone tell me how to get this resolved. I am not passing any dates as parameters.
    This problem does not occur in Production, only in Development.
    Do I have to reset the Julian date?
    Thanks
    Zicky

    Hi,
    What is the application release?
    Do you get this error when accessing all the forms or specific ones only?
    Try the solution in (Note: 207808.1 - WIPDJMDF - After Patch 2254178 Receive APP-FND-01564: ORACLE Error 1854 when Saving a Discrete Job) and see if it helps. Also, please verify the date format between the two instances as per the following documents:
    Note: 333785.1 - Oracle Applications 11i Internationalization Guide
    Note: 393861.1 - Globalization Guide for Oracle Applications Release 12
    Regards,
    Hussein

  • Are Julian Dates ever disabled?

    Hi
    I am trying to build a product that integrates JD Edwards data to a 3rd party system reading data through JDBC from customer's Oracle database. (I am not using data access driver for performance reasons)
    My system will convert Julian dates for E1 data tables to regular dates.
    But I see an option in P986115: Work with Datasources that there is an option to use regular dates instead of Julian. It is a check box for DB server settings.
    I am interested only in business data and wondering whether I need to support this option.
    My question is will ever a customer uncheck this and use regular dates in his database for "BUSINESS DATA". Does Oracle JD Edwards support such a system and treat it as an accepted practice?
    Has anyone in their experience seen this happen where a customer runs his business on regular dates rather than JDE dates?
    Any inputs will be deeply appreciated.
    Thanks!

    Never mind, I found the answer in other parts of this forum (This is a great resource)

  • How to embedded oracle report data in email body from forms?

    Hi,
    I am working on oracle forms and report 10g and i am new to this. I want to knw How to embedded oracle report data in email body ?
    Regards
    Shruti

    I have uploaded a sample . This might help
    http://www.alexyscorp.com/send_report_email.zip

  • Unable to connect SQL Developer 4.0.2 to Oracle REST Data Services 2.0.7 (Apex Listener)

    Background
    1. Weblogic 10.3.6.0 running on Oracle Linux 6.5 with Oracle JRockit(R) (build R28.2.3-13-149708-1.6.0_31-20120327-1523-linux-x86_64, compiled mode)
    2. Oracle Apex 4.2.1
    3. Apex Listener 1.1.3
    4. Apex and Apex Listener running on the Weblogic box above
    5. SQL Developer 4.0.2 running on Windows 7 64 bit / Java 1.7.0_55
    Updated Apex to 4.2.5 via p17966818_425_Generic.zip patchset. Apex environment running fine as do all applications via Listener 1.1.3
    Updated Oracle Listener to the latest version of Oracle REST Data Services 2.0.7
    Current Status
    Apex Applications and RESTful services are running fine.
    Problem
    Unable to connect SQL Developer 4.0.2 to Oracle REST Data Services 2.0.7
    Error message in SQL Developer - Cannot connect to DEV. HTTP/1.1 403 Target service not allowed
    Additional Information
    Steps followed -
    1. The oracle users APEX_LISTENER and APEX_REST_PUBLIC_USER did not exist, so I ran apex_rest_config.sql from the APEX 2.4.1 patchset whilst connected sys as sysdba and provided the same password as APEX_PUBLIC_USER for both users.
    2. I also ran
    grant insert, delete on APEX_040200.wwv_flow_rt$privilege_groups to APEX_LISTENER;
    alter session set current_schema = APEX_LISTENER;
    create or replace synonym wwv_flow_rt$privilege_groups for APEX_040200.wwv_flow_rt$privilege_groups;
    as per Oracle SQL Developer User's Guide Release 4.0
    3. copied ords.war to apex.war
    4. java -jar apex.war configdir /u01/app/oracle/admin/apex/devdomain1/
    5. java -jar apex.war
    Jun 5, 2014 5:15:31 PM oracle.dbtools.common.config.file.ConfigurationFolder logConfigFolder
    INFO: Using configuration folder: /u01/app/oracle/admin/apex/devdomain1/apex
    Enter the name of the database server [localhost]:dbservername
    Enter the database listen port [1521]:
    Enter 1 to specify the database service name, or 2 to specify the database SID [1]:1
    Enter the database service name:dbservicename
    Enter the database user name [APEX_PUBLIC_USER]:
    Enter the database password for APEX_PUBLIC_USER:
    Confirm password:
    Enter 1 to enter passwords for the RESTful Services database users (APEX_LISTENER,APEX_REST_PUBLIC_USER), 2 to use the same password as used for APEX_PUBLIC_USER or, 3 to skip this step [1]:2
    Jun 5, 2014 5:16:52 PM oracle.dbtools.common.config.file.ConfigurationFiles update
    INFO: Updated configurations: defaults, apex, apex_al, apex_rt
    Enter 1 if you wish to start in standalone mode or 2 to exit [1]:2
    6. java -jar apex.war user adminlistener "Listener Administrator"
    Jun 5, 2014 5:18:52 PM oracle.dbtools.common.config.file.ConfigurationFolder logConfigFolder
    INFO: Using configuration folder: /u01/app/oracle/admin/apex/devdomain1/apex
    Enter a password for user adminlistener:
    Confirm password for user adminlistener:
    Jun 6, 2014 5:19:12 PM AM oracle.dbtools.standalone.ModifyUser execute
    INFO: Created user: adminlistener in file: /u01/app/oracle/admin/apex/devdomain1/apex/credentials
    7. Updated the defaults.xml file
    Added
    <entry key="apex.security.user.roles">RESTful Services</entry>
    <entry key="apex.security.developer.roles">OAuth2 Client Developer, SQL Developer</entry>
    as per Oracle SQL Developer User's Guide Release 4.0
    Changed
    <entry key="debug.printDebugToScreen">false</entry>
    to
    <entry key="debug.printDebugToScreen">true</entry>
    for RESTful debugging
    Added
    <entry key="security.verifySSL">false</entry>
    to use OAuth2 in Non HTTPS Environment as per Oracle® REST Data Services Installation and Configuration Guide, Release 2.0
    8. Deleted the Admin and Manager Roles within the apex application deployment which were part of the Apex Listener 1.1.3 install
    9. Deployed the apex.war in weblogic
    10. Stopped and started the weblogic server to which apex.war was deployed
    11. In SQL Developer, View, RESTful Services. In the RESTful services windows hit connect, Create a new connection,
    Connection Name DEV
    Username adminlistener
    selected http protocol
    Hostname weblogicservername
    Port 7250
    Server Path /apex
    Workspace (blank)
    On the Authentication dialog
    Username adminlistener
    Password passwordsuppliedabove in step 6
    Response is a dialog box titled Authentication Failed
    message - Cannot connect to DEV. HTTP/1.1 403 Target service not allowed
    NOTHING UNUSUAL IN ANY OF THE WEBLOGIC LOG FILES, EXCEPT THAT IT STATES
    'Oracle REST Data Services version : 2.0.6.27.18.06' when I've installed 2.0.7.
    Any help much appreciated

    Further to the above post, I thought I'd simplify my Apex Listener install just to see if I can connect to it via SQL Developer
    So downloaded the latest version 2.0.8 and decided to configure and run the Listener on my pc whilst still connecting to the same database.
    Operating system : Window 7 Pro 64 bit
    Oracle Apex Listener 2.0.8
    Java(TM) SE Runtime Environment (build 1.7.0_25-b17)
    Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
    Went through the configuration as above, once started I tried again to access the listener via SQL Developer. This time I received this output from the listener:
    INFO: Error: ORA-02291: integrity constraint (APEX_040200.WWV_FLOW_RT$APPROVALS_SGID_FK) violated - parent key not found, occurred during execution of: [CALL, insert into wwv_flow_rt$approvals (user_name,status,client_id,security_group_id,created_by,created_on,updated_by,updated_on) values(/*in:user_id*/?,/*in:status*/?,/*in:client_id*/?,/*in:tenant_id*/?,upper(/*in:user_id*/?),/*in:created*/?,upper(/*in:user_id*/?),/*in:created*/?), [tenant_id, in, class java.math.BigInteger], [client_id, in, class java.math.BigInteger], [user_id, in, class java.lang.String], [status, in, class oracle.dbtools.rt.oauth.ApprovalRequest$Status], [created, in, class java.sql.Timestamp]]with values: [adminlistener, APPROVED, 3858401374580004, -1, adminlistener, 2014-06-23 12:19:18.785, adminlistener, 2014-06-23 12:19:18.785]
    SQL Developer responded with an Authentication Failed titled dialog with the following displayed in the body of the dialog
    Cannot connect to DEV.
    <!DOCTYPE html>
    <!--[if lt IE 7 ]> <html class="ie6"> <![endif]-->
    <!--[if IE 7 ]> <html class="ie7 no-css3"> <![endif]-->
    <!--[if IE 8 ]> <html class="ie8 no-css3"> <![endif]-->
    <!--[if IE 9 ]> <html class="ie9"> <![endif]-->
    <!--[if (gt IE 9)|!(IE)]><!-->
    <html>
    <!--<![endif]-->
    <html lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <style type="text/css" media="screen">html,body,div,span,h3,p,ol,ul,li,header,hgroup{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}header,hgroup{display:block}body{font:normal 12px/16px Arial,sans-serif;margin:0 auto;background:#6a9cda}header#xHeader{border-bottom:1px solid #8fa4c0;position:relative;z-index:10;background:none #000}header#xHeader hgroup{width:974px;margin:0 auto;position:relative;height:36px;background:none #000}header#xHeader a#uLogo{margin:8px 0;display:inline-block;font:bold 14px/20px Arial,sans-serif;color:#AAA;text-decoration:none}header#xHeader a#uLogo span.logo{color:#F00}.no-css3 div#xContentContainer div.xContent{padding-top:14px}.no-css3 div#xContentContainer div.xContent div.xMainLeft h2{margin-top:0}div#xWhiteContentContainer{margin-bottom:30px}div#xWhiteContentContainer.xContentWide{background:#FFF;margin-bottom:0}div#xWhiteContentContainer.xContentWide div.xWhiteContent{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}div#xWhiteContentContainer div.xWhiteContent{width:974px;margin:0 auto;padding:0 0 20px 0;background:#FFF;min-height:500px;-moz-border-radius:0 4px 4px 4px;-webkit-border-radius:0 4px 4px 4px;border-radius:0 4px 4px 4px;-moz-box-shadow:0 1px 2px rgba(0,0,0,0.15);-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.15);box-shadow:0 1px 2px rgba(0,0,0,0.15)}div#xContentHeaderContainer{background:#6a9cda;-moz-box-shadow:0 -1px 0 rgba(0,0,0,0.15) inset;-webkit-box-shadow:0 -1px 0 rgba(0,0,0,0.15) inset;box-shadow:0 -1px 0 rgba(0,0,0,0.15) inset}div#xContentHeaderContainer div.xContentHeader{width:974px;margin:0 auto;padding:30px 0 32px 0;position:relative;min-height:60px}div#xContentHeaderContainer div.xContentHeader h3{font:bold 24px/24px Arial,sans-serif;color:#fff;text-shadow:0 2px 1px rgba(0,0,0,0.25);margin:0 0 20px 0}div#xFooterContainer{min-height:200px;border-top:1px solid rgba(0,0,0,0.15);background:#6a9cda}body.errorPage div#xContentHeaderContainer div.xContentHeader{min-height:30px}body.errorPage div#xContentHeaderContainer div.xContentHeader h3{font:bold 30px/30px Arial,sans-serif;color:#FFF;text-shadow:0 1px 2px rgba(0,0,0,0.25);margin:0}div.errorPage p{font:normal 14px/20px Arial,sans-seri;color:#666;padding:0 0 10px 0}div.errorPage ul{list-style:disc outside;padding:0 10px 0;margin:0 0 20px 0}div.errorPage ul li{font:normal 12px/16px Arial,sans-serif;color:#666;margin:0 0 8px 10px}pre{font-family:Consolas,"Lucida Console","Courier New",Courier,monospace}
    </style>
    <script type="text/javascript" charset="utf-8">
      'header hgroup'.replace(/\w+/g,
      function(n) {
      document.createElement(n)
    </script>
    <title>Internal Server Error</title>
    </head>
    <body class="errorPage">
      <header id="xHeader">
      <hgroup>
      <a id="uLogo" href="./"><span class="logo">ORACLE</span>
      REST DATA SERVICES</a>
      </hgroup>
      </header>
      <div id="xContentHeaderContainer">
      <div class="xContentHeader">
      <h3>
      <span class="statusCode">500</span> - <span
      class="statusMessage">Internal Server Error</span>
      </h3>
      </div>
      </div>
      <div id="xWhiteContentContainer" class="xContentWide">
      <div class="xWhiteContent">
      <div class="errorPage">
      <p>
      <ul class="reasons">
      </ul>
      </p>
      <p>
      <pre>Request Path passes syntax validation
    Mapping request to database pool: PoolMap [_failed=false, _lastUpdate=-1, _pattern=null, _poolName=apex, _regex=null, _type=REGEX, _workspaceIdentifier=null, _serviceName=null]
    Applied database connection info
    Attempting to process with PL&#x2F;SQL Gateway
    Not processed as PL&#x2F;SQL Gateway request
    Attempting to process as a RESTful Service
    Choosing: oracle.dbtools.rt.oauth.TokenHandler as current candidate with score: Score [handle=null, score=0, scope=SecurityConfig [constraint=secure, realm=OAUTH_CLIENT, logonConfig=NONE], originsAllowed=[], corsEnabled=true]
    Determining if request can be dispatched as a Tenanted RESTful Service
    Request path has one path segment, continuing processing
    No Tenant Principal established yet, continuing processing
    APEX_LISTENER pool exists, continuing processing
    No matching tenant found for: oauth2, cannot dispatch
    Chose oracle.dbtools.rt.oauth.TokenHandler as the final candidate with score: Score [handle=null, score=0, scope=SecurityConfig [constraint=secure, realm=OAUTH_CLIENT, logonConfig=NONE], originsAllowed=[], corsEnabled=true] for: POST oauth2&#x2F;token
    oauth2&#x2F;token authorized as: p6xycV-2QceFnFHkWyJlnA..
    </pre>
      </p>
      <p>
      <pre>WebException [statusCode=500]
      at oracle.dbtools.rt.web.WebException.webException(WebException.java:343)
      at oracle.dbtools.rt.web.WebException.internalError(WebException.java:262)
      at oracle.dbtools.rt.oauth.jdbc.JDBCOAuthDataAccess.createApproval(JDBCOAuthDataAccess.java:514)
      at oracle.dbtools.rt.oauth.jdbc.JDBCOAuthDataAccess.createApprovedRequest(JDBCOAuthDataAccess.java:181)
      at oracle.dbtools.rt.oauth.OAuthAuthorization.resourceOwnerCredentials(OAuthAuthorization.java:654)
      at oracle.dbtools.rt.oauth.OAuthAuthorization.tokenRequest(OAuthAuthorization.java:273)
      at oracle.dbtools.rt.oauth.TokenHandler.post(TokenHandler.java:44)
      at oracle.dbtools.rt.web.RequestHandler.response(RequestHandler.java:268)
      at oracle.dbtools.rt.web.RequestHandler.dispatch(RequestHandler.java:361)
      at oracle.dbtools.rt.web.RequestHandler.dispatch(RequestHandler.java:85)
      at oracle.dbtools.rt.web.RequestDispatchers.dispatch(RequestDispatchers.java:93)
      at oracle.dbtools.rt.web.ETags.checkPrecondition(ETags.java:93)
      at oracle.dbtools.rt.web.HttpEndpointBase.restfulServices(HttpEndpointBase.java:426)
      at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:164)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at com.sun.grizzly.http.servlet.ServletAdapter$FilterChainImpl.doFilter(ServletAdapter.java:1059)
      at com.sun.grizzly.http.servlet.ServletAdapter$FilterChainImpl.invokeFilterChain(ServletAdapter.java:999)
      at com.sun.grizzly.http.servlet.ServletAdapter.doService(ServletAdapter.java:434)
      at oracle.dbtools.standalone.SecureServletAdapter.doService(SecureServletAdapter.java:91)
      at com.sun.grizzly.http.servlet.ServletAdapter.service(ServletAdapter.java:379)
      at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
      at com.sun.grizzly.tcp.http11.GrizzlyAdapterChain.service(GrizzlyAdapterChain.java:196)
      at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
      at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849)
      at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746)
      at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)
      at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)
      at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
      at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
      at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
      at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
      at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
      at java.lang.Thread.run(Unknown Source)
    Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-02291: integrity constraint (APEX_040200.WWV_FLOW_RT$APPROVALS_SGID_FK) violated - parent key not found
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:447)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
      at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879)
      at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:505)
      at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:223)
      at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
      at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:208)
      at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1046)
      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1336)
      at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3612)
      at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3713)
      at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1378)
      at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at oracle.ucp.jdbc.proxy.StatementProxyFactory.invoke(StatementProxyFactory.java:230)
      at oracle.ucp.jdbc.proxy.PreparedStatementProxyFactory.invoke(PreparedStatementProxyFactory.java:124)
      at com.sun.proxy.$Proxy44.execute(Unknown Source)
      at oracle.dbtools.common.jdbc.JDBCInsert.execute(JDBCInsert.java:58)
      at oracle.dbtools.rt.oauth.jdbc.JDBCOAuthDataAccess.createApproval(JDBCOAuthDataAccess.java:487)
      ... 34 more
    </pre>
      </p>
      </div>
      </div>
      </div>
      <div id="xFooterContainer">
      </div>
    </body>
    </html>
    I am assuming this must be part of the problem I am seeing this the Weblogic deployment in my original post.
    Does anyone have any suggestions on how best to tackle this?
    Regards,
    Derek

  • Oracle BAM Data Flow Service  service could not be started

    I can't start the Service Oracle BAM Data Flow Service
    I got the message: Error: A service specific error occurred: 126
    I follow the steps in the installation guide in the section:Data Flow Service Terminated with Service-Specific Error 126, but i get the error yet.
    Any body help please

    Check the event logs on the computer with Event Viewer to look for more information.

  • What is the role of Lns process in oracle 10g data guard

    Hi ,
    plz help me out to find out the actual working of lns process in oracle 10g data guard
    when i use SYNC redo transport
    the output of v$managed_stanbdy is like that ..
    PROCESS PID STATUS CLIENT_PROCESS GR# SEQ#
    ARCH 9258 CLOSING ARCH 2 498
    ARCH 9260 CLOSING ARCH 1 499
    ARCH 9262 CLOSING ARCH 2 496
    ARCH 9264 CLOSING ARCH 1 497
    LGWR 9206 CLOSING LGWR 2 482
    its not display any info about lns,thats means lns is not working in SYNC redo transport mode ?
    but if i changed it to ASYNC then the out put of v$managed_stanbdy is like this ..
    PS PID STS CPS GR# SEQ#
    ARCH 9258 CLOSING ARCH 1 509
    ARCH 9260 CLOSING ARCH 2 510
    ARCH 9262 CLOSING ARCH 1 505
    ARCH 9264 CLOSING ARCH 2 508
    LGWR 9206 CLOSING LGWR 1 503
    LNS 10528 CLOSING LNS 2 510
    Now it display all the info about lns process...
    i read in oracle documentation that lns process send redo data from primary,( through network service ) to RFS on standby side.
    but first output means that lns is not working,if not then which process send redo from primary to RFS on standby ?
    i also read in some blog that lgwr use some extra buffer size from primary db SGA ,to write redo in that buffer ,ans lns read redo from that buffer and send it to RFS on stanby side,
    i m totally confused ..can u plz help me with correct logic behind this .
    thanx in advance.

    Hello,
    On the primary database when you run the v$managed_standby, it shows up the LNS process as this process sends redo info to the standby database and on the standby database the RFS process receives the redo information.
    So on the primary database when you query the v$managed_standby, it shows up LNS and on the standby database when you query the v$managed_standby it shows up RFS. Please let us know where you are running the query.
    Refer this http://datadisk.co.uk/html_docs/oracle_dg/architecture.htm
    969752     
    Handle:     969752
    Status Level:     Newbie
    Registered:     Nov 6, 2012
    Total Posts:     9
    Total Questions:     2 (2 unresolved)
    Name     Hemendra Singh
    Location     NoidaPlease consider closing your questions by providing appropriate points and marking it as answered. Please keep the forum clean !

  • Conversion from YYYYMMDD to Julian Date in BPEL

    Hi,
    My requirement is to convert date format from YYYYMMDD to Julian Date (CYYDDD) in BPEL.
    C - Stands for Century
    Would like to know a way to achieve this conversion in BPEL. Please suggest.
    Appreciate your quick help.
    Thanks
    Priyanka G

    Hi,
    I suggest you use a java activity for that... There are many examples in java on how to convert a date to julian...
    Cheers,
    Vlad

  • Convert string (in a Julian Date format) to a date in CR XI Release 2

    How do you convert a string field  entered in a database as a Julian date " 10109 , 09008. ,,," to
    print on a report as  date?
    09008 would be 01/08/09
    10109                 04/19/10

    A small correction to Brian's formula:
    NumberVar myYear;
    NumberVar myDays;
    myYear := ToNumber( {table.JULIAN} [1 to 2]);
    myDays := TONUMBER({table.JULIAN} [3 to 5]);
    (Date (myYear, 1, 1) + myDays) - 1;
    The result for '09008' will be 01/08/9, by adding ToText, you can get the result in the desired format of 01/08/09.
    totext((Date (myYear, 1, 1) + myDays) - 1, "MM/dd/yy");
    Here is an alternate solution without having to create variables:
    totext(dateserial(tonumber(X[1 to 2]),1,tonumber(X[3 to 5])),"MM/dd/yy");
    where X is the julian date in string.
    Edited by: Sanjay Kodidine on Apr 20, 2010 8:25 AM

  • How to determine the proper size for Oracle 8i Data Base Objects

    Hi,
    I'm working on an Oracle 8i Data base. I'd like to know how to determine the proper size for the Data Base objects such as tables, datafiles, tablespaces...
    Thanks.

    Start with the docs.
    http://download-west.oracle.com/docs/cd/A87860_01/doc/server.817/a76956/schema.htm#949
    Best Regards
    Krystian Zieja / mob

  • How to get the today's julian date in java?

    how to get the today's julian date in java?
    hi can any one tell me how to get the todays julian date using Calender class or GregorianCalender class....
    Julian date for 2006.November.01 AD 05:54 PM : 2454041.0
    i have tryied with
    calJ.setGregorianChange(new Date(Long.MAX_VALUE));
    System.out.println(sdf2.format(calJ.getGregorianChange()));
    thanks
    Tushar
    Message was edited by:
    lad_tushar

    thanks a lot....for intrest....
    I have found some details about the Julian calendar as follows:
    The Julian date for 2006: JAN: 01:12:01:59 is 2453737.00138
    245 represent the year digits for year 2006
    3737 represent the date fir 1 Jan
    .00138 represents the time for 12:01:59
    Julian date change as per every day 12 noon it increase one digit in it.
    As per ref from
    http://www.aavso.org/observing/aids/jdcalendar.shtml
    Also chk this calendar where Julian date is 20. October 2006 for 02 November 2006
    As per ref from
    http://www.calendar.sk/julian_calendar-en.php
    I have tried the pure �GregorianCalendar� class from jdk1.4 API and its setGregorianChange method but not getting as per the expected Julian date format. Using the �setGregorianChange()� i have setting the cutover date to Long.MAX_VALUE it means GregorianCalendar now have to act as per the Julian calendar ...so after setting the cutover date it return me changed date using �getGregorianChange()� but that was not the Julian date of the current date...as expected or as per above both scenario. Even though the last two digits are nowhere equal to the actual Julian date.
    Program
    GregorianCalendar cal = new GregorianCalendar();
    cal.setGregorianChange(new Date(Long.MAX_VALUE)); // setting the calendar to act as a pure Julian calendar.
    // cal.set(Calendar.DATE, new Date().getDate()); // seting the current date
    // Date todayJD = cal.getGregorianChange(); // getting the changed date after the setGregorianChange
    Date todayJD = cal.getTime(); // getting the calculated time of today�s Julian date
    SimpleDateFormat sdfJulianDate = new SimpleDateFormat("yyDDD");
    SimpleDateFormat sdfJuliandayOfYear = new SimpleDateFormat("DDD");
    System.out.println("today Date = " + new Date());
    System.out.println("Today as julian date = " + sdfJulianDate.format(todayJD));
    System.out.println("Today as day of year = " + sdfJuliandayOfYear.format(todayJD));
    OUTPUT:
    USING : Date todayJD = cal.getGregorianChange();
    Today Date = Thu Nov 02 15:17:05 IST 2006
    Today as julian date = 94229
    Today as day of year = 229
    USING : cal.set(Calendar.DATE, new Date().getDate());
    Today Date = Thu Nov 02 15:19:22 IST 2006
    Today as julian date = 06319
    Today as day of year = 319
    USING : Date todayJD = cal.getTime();
    Today Date = Thu Nov 02 15:17:59 IST 2006
    Today as julian date = 06306
    Today as day of year = 306
    There is one another concept i found to get the Julian day of the year as per the Julian day chart mention on nasa site (http://angler.larc.nasa.gov/armsgp/JulianDayChart.html) and i m getting the moth of the year that is 306 for nov 02 2006 using getTime() method in above code then the out put is right for Julian day. But it was not as per the expected Julian date format. So in conclusion we can only able to retrieve the day of year for the Julian calendar. hope their will be a solution for this problem in java api ....else we allways have to depend upon the third party api that was not accepteble some times.....
    Kindly chk chart on the site
    http://angler.larc.nasa.gov/armsgp/JulianDayChart.html
    http://weather.uwaterloo.ca/julian.html
    http://www.fs.fed.us/raws/book/julian.shtml
    Thanks,
    Tushar Lad

Maybe you are looking for

  • Open file in PSE 9

    I using Window XP, Microsoft office 2010 and Adobe Photoshop Element 9. The procedure I used: 1 The images made by JPG format loaded from camera to My Picture  - it working fine 2. When i will open same image by Adobe  Photoshop Element 9 appear Note

  • How to break the limitations in jSlider?

    Is it possible to get higher Max than Maximum? Today, Im limited by the int data type, long would be nice. Ive seen some classes that extends jSlider to DoubleJSlider, FloatJslider, but they all resides in the limits of int. Is it any idea/solution t

  • Help! I can't reply to e-mails because there's no send button.

    I can create the message when I reply but I can't send it because it only allows me to save the draft. On what may be an unrelated matter, I don't receive all the e-mails that I'm supposed to get for my work e-mail. I have a blackberry e-mail and a w

  • Admin Notification

    I have a problem of getting email notifications for all my stalled actions and branches even-though i have checked "Enable Stalled Branches" and "Enabled Stalled Operations", i'm quite sure that the SMTP address that i am using its correct because i

  • Touchpad USB Port Question

    Does the touchpad usb port support ANY other connections besides charging and connection to a PC? I realize the usb port is un-powered, but there are easy ways to get around that. Can the SIM card port be used for anything else besides a SIM card? Do