Extend ctx_thes.syn to return  formatted synonyms

I am using Oracle 11.2.0.3. We have oracle context text index and have implemented thesaurus on selected few words.
Let say:
select ctx_thes.syn('nathan') from dual;
gives me
{nathan}| {nate}
However, I want   it to return nathan%| nate%  without  curly bracket and adding wildcard character.
Since , oracle text index is extensible indexing framework, is it possible to change ctx_thes.syn  to meet my requirement or should I write my custom code. If  I need to write a custom code, which table should I be looking into.
Thanks.

Regarding the above  test_proc, I am getting lots of NULL and some values are not preset. Is that expected?...
I think you may have copied a version of the procedure before I corrected it.  I added a sub-query that returns one row, instead of using dual.  That eliminates joining to every row in the table.  The other thing that causes null values is if there are double spaces in your data.  Please see the following example that shows what the corrected procedure returns.  Note that if there are triple spaces and such, then you would have to allow for that.  There are many was to tokenize strings and you can use whichever you like.  All of the special characters in the output below are ignored during indexing, so you end up with just the tokenized individual words.
SCOTT@orcl12c> begin
  2    ctx_thes.create_thesaurus ('test_thes');
  3    ctx_thes.create_relation ('test_thes', 'nathan', 'SYN', 'nate');
  4  end;
  5  /
PL/SQL procedure successfully completed.
SCOTT@orcl12c> create table org
  2        AS (SELECT 1 org_pk, 'ALL american  ,INC' org_nm FROM DUAL
  3            UNION ALL
  4            SELECT 2 org_pk, 'A.G  COMPANY' org_nm FROM DUAL
  5            UNION ALL
  6            SELECT 3 org_pk, 'GROWTH FUND SPONSORS and SONS, INC.' org_nm FROM DUAL)
  7  /
Table created.
SCOTT@orcl12c> insert all
  2  into org values (4, 'nate')
  3  into org values (5, 'nathaniel')
  4  into org values (6, 'nathin')
  5  into org values (7, 'nobody')
  6  into org values (8, 'Nathan Myhrvold')
  7  into org values (9, 'Nat King Cole')
  8  into org values (10, 'adviser')
  9  into org values (11, 'advisor')
10  into org values (12, 'advisers')
11  into org values (13, 'advisors')
12  into org values (14, 'advisory')
13  select * from dual
14  /
11 rows created.
SCOTT@orcl12c> create or replace procedure test_proc
  2    (p_rid  in         rowid,
  3      p_clob in out nocopy clob)
  4  as
  5  begin
  6    for r1 in
  7       (select ctx_thes.syn
  8             (trim (regexp_substr (org_nm, '[^ ]+', 1, rownum)),
  9              'test_thes') token
10        from     (select org_nm from org where rowid = p_rid)
11        connect by level <= regexp_count (replace (org_nm, '    ', ' '), ' ') + 1)
12    loop
13       dbms_lob.writeappend (p_clob, length (r1.token), r1.token);
14    end loop;
15  end test_proc;
16  /
Procedure created.
SCOTT@orcl12c> show errors
No errors.
SCOTT@orcl12c> declare
  2    v_clob  clob;
  3  begin
  4    for r in (select rowid from org) loop
  5       dbms_lob.createtemporary (v_clob, true);
  6       test_proc (r.rowid, v_clob);
  7       dbms_output.put_line (v_clob);
  8       dbms_lob.freetemporary (v_clob);
  9    end loop;
10  end;
11  /
{ALL}{AMERICAN}{,INC}
{A.G}{COMPANY}
{GROWTH}{FUND}{SPONSORS}{AND}{SONS,}{INC.}
{NATE}|{NATHAN}
{NATHANIEL}
{NATHIN}
{NOBODY}
{NATHAN}|{NATE}{MYHRVOLD}
{NAT}{KING}{COLE}
{ADVISER}
{ADVISOR}
{ADVISERS}
{ADVISORS}
{ADVISORY}
PL/SQL procedure successfully completed.
SCOTT@orcl12c>

Similar Messages

  • Greeting,  I want to reformat my external hard drive using Mac OS Extended (Journaled, Encrypted ) but before formatting it, I want to make sure that if I loose the hard drive or the hard drive get stolen, no one will be able to retrieve or recover the in

    Greeting,
    I want to reformat my external hard drive using Mac OS Extended (Journaled, Encrypted ) but before formatting it, I want to make sure that if I loose the hard drive or the hard drive get stolen, no one will be able to retrieve or recover the information on it so could you tell me what kind of encryption will be used or is there any way to recover the information?
    Thanks!

    I think FileVault is used to encryp internal hard drive but I wanna encrypt an external hard drive with Mac OS Extended Journaled Encrypted which is completely different!

  • CS5 Extended - Image Sequence Video Output Format

    Hi,
         I've recently installed CS5 Extended and was experimenting with the creation of a small video from a sequence of still images.  There are eighteen images in the sequence and I seem to be able to open the files properly.  By selecting the Image Sequence box in the Open popup, I assume it will retrieve all of the images.
         What I can't figure out is how to output any resulting video that is created and most importantly, what format it will be.  I would like to have a format that can be used on any PC, such as .avi or .wmv.
         I'd appreciate some help with this.
    Thank You...Vince

    In your menu use File>Export>Render video
    From here you can specify which format and codec you want to use. It requires quicktime to export.

  • Return formatted text from LOV

    I have text stored in a table as a varchar2 with carriage returns in the text using utl_tcp.CRLF. This works fine when I send an email using this text thru a procedure. I am trying to load this text to an unbound item (defined as char) thru an LOV created using Designer (web pl/sql page). The lov lists the text in read-only as formatted, but when I load it to the unbound item, it loses the formatting. I have tried to make a post-gen change to add WSGL.preformat to the javascript:passback function, but I am still not seeing the formatting in the unbound item on my page. Does anyone have any ideas (including post-gen changes to the package)how I might accomplish this?? Any ideas are welcome.

    I suspected that...
    Maybe someone has an idea for the following:
    I need a generic solution for a reference table (based on table name, key and value attribute names). In a function I generate this query statement.
    TEXT_FROM_LOV_QUERY would be just fine for me, for it lets me pass a statement as a string and providing me a solution with key/value pairs. However, due to the restrictions above I cannot use that function.
    Instead, I'd probably have to join the reference table somehow. I would have suggested the following
    SELECT e.empno, e.ename, d.display_value
      FROM emp e,
           f_get_generic_ref_table('dept', 'deptno', 'dname') d
    WHERE e.deptno = d.return_valuewhile the function f_get_generic_ref_table generates me a string like
    'SELECT deptno, return_value, dname display_value
       FROM dept'obviously that doesn't work since the function f_get_generic_ref_table only returns a statement as VARCHAR.
    Any ideas how I could solve that?
    Thanks,
    Michael

  • What opens exported Palm Memos in tab & return format?

    Two questions: Can anyone tell me whether memos exported from a Palm TX can be opened and used in some desktop  program? My exports, using "tab and return" or Palm format, can't be opened by my desktop Excel or FileMaker Pro (an old version).
    I am migrating away from my Palm to an iPod Touch, (I don't want a smartphone and I don't see a future in Palm) and I have not found an adequate substitute for Palm Memos. I bought MarkSpace Notes, but it's very much worse than Palm Desktop Memos. I would like to find a Desktop/iPod notes or memos program that can be synced, and that doesn't require putting the data in the cloud.I don't want to do that.
    Any recommendations welcome.
    Post relates to: Palm TX

    Looks like this thing won't come so easy.
    I try to reinstall WMP and it's been on 10 percents of progress for like 10 minutes now... Looks kinda frozen.
    Tried to install a newer version but then I didn't pass the Microsoft validation thing.
    Isn't there any shorter way around it or something? I mean reinstalling Media Player somehow else...
    Post relates to: Palm TX

  • After extending VO, the screen returns an error

    Dear Gurus,
    After I have extended VO, and did the substitution I got this error:
    You have encountered an unexpected error. Please contact the System Administrator for assistance.
    Without any error stack!
    I have only changed the query and didn't add any columns or attributes to the extended VO.
    OA Framework     12.1.3
    Edited by: otebry on Aug 19, 2012 10:19 AM

    After a while when I open the page again, I got this error stack:
    Exception Details.
    oracle.apps.fnd.framework.OAException: java.lang.NullPointerException at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:616) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252) at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252) at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252) at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1182) at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252) at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252) at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353) at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2620) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1940) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431) at OA.jspService(_OA.java:212) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259) at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51) at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193) at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284) at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198) at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395) at RF.jspService(_RF.java:225) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64) at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15) at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:619) ## Detail 0 ## java.lang.NullPointerException at oracle.apps.pay.selfservice.payslip.US.webui.PayPayslipChoosePayslipCO.processRequest(PayPayslipChoosePayslipCO.java:598) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:600) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252) at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252) at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252) at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1182) at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252) at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252) at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353) at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2620) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1940) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431) at OA.jspService(_OA.java:212) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259) at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51) at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193) at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284) at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198) at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395) at RF.jspService(_RF.java:225) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64) at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15) at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:619) java.lang.NullPointerException at oracle.apps.pay.selfservice.payslip.US.webui.PayPayslipChoosePayslipCO.processRequest(PayPayslipChoosePayslipCO.java:598) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:600) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252) at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252) at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252) at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1182) at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252) at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252) at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353) at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2620) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1940) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431) at OA.jspService(_OA.java:212) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259) at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51) at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193) at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284) at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198) at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395) at RF.jspService(_RF.java:225) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64) at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15) at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:619)

  • Adobe phtoshop CS5 Extended Couldnot open my Raw Format Images.

    Have anyone could help me about this question?
    I purchased Photoshop CS5 Extended and lightroom 3 together.
    My Camera is Canon Rebel T2i.
    My Lightroom can open Raw file; but I tried Photoshop many times to open Raw file-CR2. it doesnot work at all. I download camera raw 6.3 to my computer, but it couldnot RUN for me. I checked camera surpported list. I know my camera by 5.7 or 6.1 not 6.3
    but 6.1 doesnot run either after downloaded.
    Now I am cofused why so much trouble to use the software?
    After I EDIT images from Lightroom3, I want to edit in to photoshop, but lightroom says only compatible with camera 6.3.
    I am very sad now about this.
    Pang Pang

    Now It works for me.
    Thank you very much for
    all of your help. I went to a computer store, they helped me to updated my PS CS5  to camera RAW 6.3.
    Pang Pang

  • Generic funtction  return  format string Phone Number

    Hi
    I tried , tried but nothing
    I need build a Generic Function formating phone number, passing Type Telephone (Res,Cml,Cel...etc wiht 3 letters ) , Prefix can to have 3 or 4 digits and Sufix wih 4 digits
    How Can I to do It ?
    where can I to find tutorial about Regular Expression
    thank

    Asking the same question again?
    Re: Function that to Format
    Look in the documentation for regular expressions (it's not difficult to search you know!)
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_regexp.htm#ADFNS1003

  • Latest Annual PF Return Format

    Hi,
    My client have a requirement to create an annual PF report (other than the STD EPF reports, almost 116 fields - Indian PY)., they say its a mandatory format required by the PF department to be submitted annually. Anyone came across such requirement or any info? If its mandatory SAP will be bringing out the same?
    regards.

    used std reports

  • Hard Drive Accidental Format NTFS to OSX Extended Journaled

    Ok so here is what happened.
    I had 2 external HDD's connected to my MBP I wanted to format one and copy data from the other to it. The one with the Data on it was an NTFS Drive.
    The one I wanted to copy data to was also NTFS.
    My intention was to format the new drive as OSX Extended Journaled and copy the data to it.
    I was interrupted at just the wrong time by someone asking a question and formatted the wrong darn drive.
    I used the built in Disk utility with the erase option fortunately the default setting under security was set to not erase data.
    Does anyone have an idea how to get the data back or change the format back to NTFS without loosing the data ?
    Here is a curious thing at one time I had the drive I need to recover formatted with OSX Extended journaled and then later formatted it as NTFS to copy data from a PC. NTFS was the format prior to my screw up.
    So the history went like this: OSX with data on it NTFS with data OSX erase by mistake now need NTFS data back.
    The curious thing is that when I run Data Recovery 2 it pulls back data from when it was originally OSX but not from the more recent NTFS.
    Help really appreciated.

    In between the time I posted and you replied I came to a similar conclusion. I downloaded a trial version of Ontrack easy recovery pro and I am very surprised to see that nearly all of the data is recoverable.
    It looks Like I will be spending some money as the demo worked great.
    The strange thing in all of this is that each of the different utilities pulled data from their respective native operating systems, but not he other. Ah the joy of running windows on a mac
    I guess data is more persistent on hard drives than some would lead us to believe.

  • Format: Mac OS Extended

    Hi. I'm new to iTunes and have started burning CDs. I'm burning as Audio CD because I want them to be universally playable on any CD player. But when I check the file under Get Info, Kind:= Volume, Format:= Mac OS Extended. What is this format and will it be universally recognized?
    Also, how do I know the burn is good? When I try to play the CD to check it, the file launches from iTunes. The only alternative was to trash the iTunes file and then play the CD. Is there a better way?
    I am copying these spoken word files from CDs which are labelled AIFF. The import setting has been at AAC Encoder which doesn't seem to cause problems, but should I be importing under AIFF Encoder? Does it matter?
    I am sending these CDs out by mail and may never know if the lectures can be heard on a regular player. Do I risk a bad copy by using the default Max. Speed and will I be informed of failure? I am planning to make multiple copies of each original CD I have and want some way to verify they are good before mailing them. I've searched Help, etc., but these basic questions don't seem to be addressed. Thanks, Alex.

    No relation, except that we share the same first name.
    As Mac OS Extended is not listed as a format choice here, does this result from choosing as a 'Data CD or DVD' ?
    That is correct. The format of a 'real' Audio-CD will be recognized by the Finder as
    b Audio CD
    Also, does it sound right that these AIFF CDs that I import as AAC and then burn, end up being about one tenth the file size
    Whit the default settings of iTunes that is about true for
    b importing only.
    Lower bitrates means smaller files and lesser audio quality, higher bitrates means larger files and better audio quality.
    Is the compression that great with AAC? If so then I assume I could put 8 or 10 lectures on an Audio CD.
    Unfortunately not. When iTunes (or another burning program) burns an
    b Audio CD
    , all files, wether they are MP3 or AAC or...., are converted to AIFF.
    That means that they're expanded to meet the specifications of an audio CD.
    So, time is the limiting factor, not file sizes.
    The only way to fit more 'time' on a CD is, to burn it as MP3 CD.
    And most regular players don't accept those.
    Could this high factor of compression ~10:1, be a result of what the file info calls 'Profile: Low Complexity' -i.e. the software recognizes it is non-continuous data - simple speech as opposed to a symphony orchestra?
    Speech is indeed of low complexity. The human ear can hear frequencies from about 20 to 20,000 Hz (dependent of the age). Children can even hear lower and higher freqs.
    The sound of a symphony orchestra produces about all those frequencies and even lower an higher freqs.
    That's pretty complex.
    The 'reach' of a human voice fits the range from about 300 - 3,000 Hz, so that is indeed of low complexity.
    Hope that answers your questions.
    M
    Btw. I'm not an audio expert, so I expect others to correct me if I'm wrong.

  • Questions around use of thesaurus and synonyms

    Q1. Does thesaurus support Japanese/Chinese/Korean? The document didn't say no. But didn't confirm it explicitly.
    Q2. For ctxload to load a thesaurus import file, what encoding should be the file? UTF-8?
    Q3. Is synonym relation reflextive in Oracle Text? After define EUR is Euro, should I define Euro is EUR?
    Q4. From the document, when I define a synonym, I cannot specify language. If I define a synonym between 'USD' and 'US Dollar'. And when I query I use SYN(USD), will this expand into 'USD,US Dollar' no matter what language is the document?

    Here are some information which may answer your questions
    Ans1)
    We have a limitation for language specific character sets
    You can only add knowledge bases for languages with single-byte character sets.
    You cannot create a knowledge base for languages which can be expressed only in multibyte character sets.
    I think Japanese/Chinese/Korean are represented in multi byte character sets, so we cannot.
    Ans2) Supplied knowledge bases with Oracle text are in WE8ISO8859P1. You can store an extended knowledge base in another character set such as US7ASCII.
    Knowledge bases can be in any single-byte character set.
    Ans 3) No you dont need to.It is reflexive.
    you can check the following example
    create table test(id number, text varchar(20));
    insert into test values (1, 'os');
    insert into test values( 2, 'operating system');
    insert into test values(3, 'windows');
    exec ctx_thes.create_thes('my_thes',FALSE);
    exec ctx_thes.create_phrase('my_thes','os');
    exec ctx_thes.create_phrase('my_thes','operating system');
    exec ctx_thes.create_relation('my_thes','os','SYN','operating system');
    declare
    syno varchar2(50);
    begin
    syno := ctx_thes.syn('os','my_thes');
    dbms_output.put_line('the synonym of os is : ' || syno);
    end;
    --o/p is the synonym of os is : {OS}|{OPERATING SYSTEM}
    declare
    syno varchar2(50);
    begin
    syno := ctx_thes.syn('operating system','my_thes');
    dbms_output.put_line('the synonym of operating system is : ' || syno);
    end;
    --o/p is the synonym of op sys is : {OPERATING SYSTEM}|{OS}
    Ans 4) I think you are trying to say the following
    you have a thes file..say in spanish
    and you have an entry in that file for USD Syn in English...
    you want to ask whether still Oracle can return SYN(USD) = 'USD,US Dollar'
    Am I right?

  • Configure  context to return similar words

    Dear experts,
    we have Oracle 11.2.0.4 and we are using context index.
    What needs to be done so that searching for  the term 'center'  will return  center as well as centre automatically without the user having to do soundex search.
    Thanks.

    Here is an example of the kind of thing I think is going on, but with a different error.  In earlier versions I believe you may have received the error you got instead.  The following demonstrates the behavior you described, then corrects the problem by granting the privilege directly, instead of through a role.
    SCOTT@orcl> select banner from v$version
      2  /
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0    Production
    TNS for 64-bit Windows: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    5 rows selected.
    SCOTT@orcl> select owner, object_type from dba_objects where object_name = 'CTX_THES'
      2  /
    OWNER                          OBJECT_TYPE
    PUBLIC                         SYNONYM
    CTXSYS                         PACKAGE BODY
    CTXSYS                         PACKAGE
    3 rows selected.
    SCOTT@orcl> select * from dba_synonyms where synonym_name = 'CTX_THES'
      2  /
    OWNER                          SYNONYM_NAME
    TABLE_OWNER                    TABLE_NAME
    DB_LINK
    PUBLIC                         CTX_THES
    CTXSYS                         CTX_THES
    1 row selected.
    SCOTT@orcl> BEGIN
      2    CTX_THES.CREATE_THESAURUS ('test_thes');
      3    CTX_THES.CREATE_RELATION ('test_thes', 'center', 'SYN', 'centre');
      4    CTX_THES.CREATE_RELATION ('test_thes', 'SUN', 'SYN', 'ORACLE');
      5  END;
      6  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl> CREATE USER test IDENTIFIED BY test
      2  /
    User created.
    SCOTT@orcl> ALTER USER test QUOTA UNLIMITED ON USERS
      2  /
    User altered.
    SCOTT@orcl> GRANT CREATE SESSION TO test
      2  /
    Grant succeeded.
    SCOTT@orcl> GRANT CREATE PROCEDURE TO test
      2  /
    Grant succeeded.
    SCOTT@orcl> GRANT CTXAPP TO test
      2  /
    Grant succeeded.
    SCOTT@orcl> CONNECT test/test
    Connected.
    TEST@orcl> CREATE OR REPLACE FUNCTION synonyms
      2    (p_terms IN VARCHAR2)
      3    RETURN       VARCHAR2
      4  AS
      5    v_terms       VARCHAR2(4000) := LTRIM (p_terms) || ' ';
      6    v_result    VARCHAR2(4000);
      7  BEGIN
      8    WHILE INSTR (v_terms, '    ') > 0 LOOP
      9       v_terms := REPLACE (v_terms, '  ', ' ');
    10    END LOOP;
    11    WHILE INSTR (v_terms, ' ') > 0 LOOP
    12       v_result := v_result
    13       || ' AND (' || CTX_THES.SYN (SUBSTR (v_terms, 1, INSTR (v_terms, ' ') - 1), 'test_thes') || ')';
    14       v_terms := LTRIM (SUBSTR (v_terms, INSTR (v_terms, ' ')));
    15    END LOOP;
    16    RETURN SUBSTR (REPLACE (REPLACE (v_result, '{', ''), '}', ''), 6);
    17  END synonyms;
    18  /
    Warning: Function created with compilation errors.
    TEST@orcl> SHOW ERRORS
    Errors for FUNCTION SYNONYMS:
    LINE/COL ERROR
    12/5     PL/SQL: Statement ignored
    13/20    PLS-00201: identifier 'CTX_THES' must be declared
    TEST@orcl> SELECT synonyms ('oracle') FROM DUAL
      2  /
    SELECT synonyms ('oracle') FROM DUAL
    ERROR at line 1:
    ORA-06575: Package or function SYNONYMS is in an invalid state
    TEST@orcl> SELECT CTX_THES.SYN ('oracle', 'test_thes') FROM DUAL
      2  /
    CTX_THES.SYN('ORACLE','TEST_THES')
    {ORACLE}|{SUN}
    1 row selected.
    TEST@orcl> CONNECT ctxsys/ctxsys
    Connected.
    CTXSYS@orcl> GRANT EXECUTE ON CTX_THES TO test
      2  /
    Grant succeeded.
    CTXSYS@orcl> CONNECT test/test
    Connected.
    TEST@orcl> CREATE OR REPLACE FUNCTION synonyms
      2    (p_terms IN VARCHAR2)
      3    RETURN       VARCHAR2
      4  AS
      5    v_terms       VARCHAR2(4000) := LTRIM (p_terms) || ' ';
      6    v_result    VARCHAR2(4000);
      7  BEGIN
      8    WHILE INSTR (v_terms, '    ') > 0 LOOP
      9       v_terms := REPLACE (v_terms, '  ', ' ');
    10    END LOOP;
    11    WHILE INSTR (v_terms, ' ') > 0 LOOP
    12       v_result := v_result
    13       || ' AND (' || CTX_THES.SYN (SUBSTR (v_terms, 1, INSTR (v_terms, ' ') - 1), 'test_thes') || ')';
    14       v_terms := LTRIM (SUBSTR (v_terms, INSTR (v_terms, ' ')));
    15    END LOOP;
    16    RETURN SUBSTR (REPLACE (REPLACE (v_result, '{', ''), '}', ''), 6);
    17  END synonyms;
    18  /
    Function created.
    TEST@orcl> SHOW ERRORS
    No errors.
    TEST@orcl> SELECT synonyms ('oracle') FROM DUAL
      2  /
    SYNONYMS('ORACLE')
    (ORACLE|SUN)
    1 row selected.
    TEST@orcl> SELECT CTX_THES.SYN ('oracle', 'test_thes') FROM DUAL
      2  /
    CTX_THES.SYN('ORACLE','TEST_THES')
    {ORACLE}|{SUN}
    1 row selected.

  • External hard drive format error!

    Hey guys, running Mac OS 10.5.8. Just purchased a 2TB Hitachi XL2000 external hard drive.  I want to use this External HD on both my Mac and PC, and need to format it to HFS+ (for music software reasons) and use it on my PC via MacDrive.  I Followed the instructions given when i first plugged in the drive on how to format it to HFS+
    So I went to disk utility, on the left selected "1.8 TB HitachiHDS722020ALA330", there's an indented selection right below that, which is the volume i think.... but I selected what I wrote above which I believe is what you're supposed to do. Under the erase tab, I selected Mac OS Extended (Journaled) from the "Volume Format" options. I named the drive and then I hit erase. It begins "partitioning" and afterabout 3-4 seconds it stops and says
    Disk Erase Failed
    Disk Erase failed with the error:
    File system formatter failed.
    After that the Hard Drive no longer shows up in Finder under Devices.When I shut down and re-connected it I keep getting an error alert popup that says:
    Disk Insertion
    The disk you inserted was not readable by this computer
    "Initialize..."  "Ignore"  "Eject"
    The drive still shows up under disk utility, but when I try to format it again I get the same error.

    Try this:
    Drive Preparation
    1.  Open Disk Utility in your Utilities folder. 
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID then click on the OK button. Click on the Partition button and wait until the process has completed.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.

  • Using Synonyms With CATSEARCH

    Is it possible to search via synonyms when using the CATSEARCH function? If so, how is this done?

    Example:
    SCOTT@orcl_11g> CREATE TABLE test_tab
      2    (test_col  VARCHAR2 (30))
      3  /
    Table created.
    SCOTT@orcl_11g> INSERT ALL
      2  INTO test_tab VALUES ('cat')
      3  INTO test_tab VALUES ('dog')
      4  INTO test_tab VALUES ('dogs')
      5  SELECT * FROM DUAL
      6  /
    3 rows created.
    SCOTT@orcl_11g> CREATE INDEX test_idx ON test_tab (test_col)
      2  INDEXTYPE IS CTXSYS.CTXCAT
      3  /
    Index created.
    SCOTT@orcl_11g> SELECT * FROM test_tab
      2  WHERE  CATSEARCH (test_col, CTX_THES.SYN ('dog'), NULL) > 0
      3  /
    TEST_COL
    dog
    dogs
    SCOTT@orcl_11g>

Maybe you are looking for

  • 'CX_HRPA_INVALID_INFOTYPE_DB' Dump while maintaing Infotype 185

    Hi, We are getting an ABAP runtime error 'CX_HRPA_INVALID_INFOTYPE_DB' when tried to read or maintain the infotype 185 (personal Ids) via pa20 or pa30 for Japan. In IMG, Infy 185 is permitted for Japan for all the subtypes and we were able to load th

  • Photos received in Facebook are too dark

    Photos posted in albums on Facebook by friends are often too dark to identify the people. However, other people can go on Facebook and view the same album on their computers and they are fine. I use Firefox on a Mac OS X, version 10.4.11. It happens

  • Ticket solving tools

    HIII.........Could u tell me , which tools can be use when the solving of FICO support tickets , give some examples and some support tickets in GL , AR,AP , Give me some exaples ...regaring this.... thanks for advance Moderator: Please, read and resp

  • CAN I USE THE ONLINE WORKSPACE FOR MY COMPAY'S DATABASE MANAGEMENT?

    Hi Forum, I am the Database Management System Administrator for the company I am working with. The company has branches in other regions of the country. In order to control and centralize its operational information management I have realized the nee

  • How to load images in FLEX datagrid using Actionscript

    Hello friends, I need a small help from you. i am working in flex and in flash builder 4. Now my requirement was, i want to display images inside datagrid. I found a solution in mxml when searching in net. But i need a solution in actionscript. Can a