How to use oracle.ifs.search.ContextSearchSpecification.setMedia()

The javadoc states that "The user can also specify the Media on which the Text Queries are to be performed".
How ?
The Media[] argument of this method is not documented and there seems to be no constructor for the class either.
I want to make a context query on content in one class + on description (or also content if that were impossible) in another class.

Tom
This allows a content search on description.
It uses the FreeForm SQL ability. It gets the score for the search of the related Content. I'm not sure if I can get the score for the description search.
// $Header$
// Copyright (c) 2000 Oracle Corporation
package ifs.pm.examples.search;
import ifs.pm.common.application.*;
import oracle.ifs.beans.LibrarySession;
import oracle.ifs.beans.PublicObject;
import oracle.ifs.beans.Document;
import oracle.ifs.beans.ContentObject;
import oracle.ifs.common.IfsException;
import oracle.ifs.beans.Search;
import oracle.ifs.beans.SearchResultObject;
import java.io.BufferedReader;
import java.io.IOException;
import oracle.ifs.search.*;
* A Class class.
* <P>
* @author Mark D. Drake
* Please complete these missing tags
* @rref
* @copyright
* @concurrency
* @see
public class ExtendedContentSearch extends BaseTestHarness
* Constructor
* Please complete the missing tags for ContentSearch
* @param
* @return
* @throws
* @pre
* @post
public ExtendedContentSearch()
* Please complete the missing tags for doSomething
* @param
* @return
* @throws
* @pre
* @post
public void doSomething( LibrarySession ifs )
throws IfsException
ifs.setAdministrationMode(true);
SearchSpecification searchSpecification = buildSearch( Document.CLASS_NAME, "doc", "zydeco" );
Search search = new Search( ifs, searchSpecification );
search.open();
SearchResultObject [] results = search.getItems();
search.close();
if( results != null )
System.out.println("The number of object found is " + results.length);
for( int i = 0; i < results.length; i++ )
SearchResultObject sro = results [ i ];
Document doc = ( Document ) sro.getLibraryObject( Document.CLASS_NAME );
System.out.println( "Document : " + doc.getName() + " Score (query1) = " + sro.getScore("query1"));
doc.filterContent( false );
BufferedReader reader = new BufferedReader( doc.getFilteredContent() );
try
for( String nextLine = reader.readLine();
nextLine != null;
nextLine = reader.readLine() )
System.out.println( nextLine );
catch( IOException ioe )
throw new IfsException( 9999, ioe );
else
System.out.println("No Results Found");
* Please complete the missing tags for buildSearch
* @param
* @return
* @throws
* @pre
* @post
public SearchSpecification buildSearch( String className, String fileExtension, String phrase )
throws IfsException
// Document.DescriptionAttribute contains 'phrase';
AttributeQualification aq1 = new AttributeQualification();
aq1.setAttribute( Document.CLASS_NAME, PublicObject.NAME_ATTRIBUTE );
aq1.setOperatorType( AttributeQualification.LIKE );
aq1.setCaseIgnored( true );
aq1.setValue( "%doc" );
// Document.ContentObject = ContentObject.ID
JoinQualification jq1 = new JoinQualification();
jq1.setLeftAttribute( className, Document.CONTENTOBJECT_ATTRIBUTE );
jq1.setRightAttribute( ContentObject.CLASS_NAME, null );
// Combine the Attribute and Join Qualifications
SearchClause searchClause = new SearchClause( aq1, jq1, SearchClause.AND );
// Create the Content Query 'Document Body contains phrase...' and add it in.
String queryName = "query1";
ContextQualification contentClause = new ContextQualification();
contentClause.setQuery( phrase );
contentClause.setName( queryName );
searchClause = new SearchClause( searchClause, contentClause, SearchClause.AND );
// Add in the FreeForm Search....
FreeFormQualification fq1 = new FreeFormQualification();
fq1.setSqlExpression("contains(description,'Temporary',2) > 0");
searchClause = new SearchClause( searchClause, fq1, SearchClause.AND);
// Set up the Search Class Spec.
SearchClassSpecification scs = new SearchClassSpecification();
// Add in the Class for the Where Clause
String [] searchClasses = new String []
className,
ContentObject.CLASS_NAME
scs.addSearchClasses( searchClasses );
// Add in the Class for the Select Clause
scs.addResultClass( className );
// Define the Order by Clause
// The List of Classes for the Order Clause
String [] classNames = new String []
ContentObject.CLASS_NAME
// The List of Attibutes for the Order Clause.
String [] attributes = new String []
ContextQualification.ORDER_PREFIX + "." + queryName
// The Ordering for the Attributes in the Order Clause
boolean [] sortOrder = new boolean []
false
SearchSortSpecification sss = new SearchSortSpecification( classNames, attributes, sortOrder );
// AttributeSearchSpecification searchSpec = new AttributeSearchSpecification();
ContextSearchSpecification searchSpec = new ContextSearchSpecification();
searchSpec.setContextClassname( ContentObject.CLASS_NAME );
// Set the SELECT statement and FROM statement of the search
searchSpec.setSearchClassSpecification( scs );
// Set the WHERE clause of the Search
searchSpec.setSearchQualification( searchClause );
// Set the ORDER by clause of the search
searchSpec.setSearchSortSpecification( sss );
return searchSpec;
* main
* @param args
* Please complete the missing tags for main
* @return
* @throws
* @pre
* @post
public static void main( String [] args )
ExtendedContentSearch contentSearch = new ExtendedContentSearch();
contentSearch.run();
null

Similar Messages

  • How to use oracle fusion middleware for integration project ?

    hi all,
    in my projects, customer (a bank) already has many applications (bankend & frontend) that are complicatedly connected. I intend to use oracle fusion middleware to integrate all applications and make adding new applications in the future easier. I have worked through documents in the oracle website but I still have no idea how to use oracle fusion middleware to address the requirement, besides oracle fusion middleware includes a bundle of applications I don't know which one I would need.
    could anyone give me some instructions ? appreciate your help.
    thank very much,

    Hi,
    For this short description of environment, could be ODI is a incredible tool to help you...
    Take a look into my blog that has a lot of concepts and "how to do" instructions.... http://odiexperts.com
    However to try help you, what are the used technologies?
    Where are you from?
    Cezar Santos
    http://odiexperts.com

  • How to use Oracle partitioning with JPA @OneToOne reference?

    Hi!
    A little bit late in the project we have realized that we need to use Oracle partitioning both for performance and admin of the data. (Partitioning by range (month) and after a year we will move the oldest month of data to an archive db)
    We have an object model with an main/root entity "Trans" with @OneToMany and @OneToOne relationships.
    How do we use Oracle partitioning on the @OneToOne relationships?
    (We'd rather not change the model as we already have millions of rows in the db.)
    On the main entity "Trans" we use: partition by range (month) on a date column.
    And on all @OneToMany we use: partition by reference (as they have a primary-foreign key relationship).
    But for the @OneToOne key for the referenced object, the key is placed in the main/source object as the example below:
    @Entity
    public class Employee {
    @Id
    @Column(name="EMP_ID")
    private long id;
    @OneToOne(fetch=FetchType.LAZY)
    @JoinColumn(name="ADDRESS_ID")
    private Address address;
    EMPLOYEE (table)
    EMP_ID FIRSTNAME LASTNAME SALARY ADDRESS_ID
    1 Bob Way 50000 6
    2 Sarah Smith 60000 7
    ADDRESS (table)
    ADDRESS_ID STREET CITY PROVINCE COUNTRY P_CODE
    6 17 Bank St Ottawa ON Canada K2H7Z5
    7 22 Main St Toronto ON Canada     L5H2D5
    From the Oracle documentation: "Reference partitioning allows the partitioning of two tables related to one another by referential constraints. The partitioning key is resolved through an existing parent-child relationship, enforced by enabled and active primary key and foreign key constraints."
    How can we use "partition by reference" on @OneToOne relationsships or are there other solutions?
    Thanks for any advice.
    /Mats

    Crospost! How to use Oracle partitioning with JPA @OneToOne reference?

  • How to use Oracle refcursor dataset output parameter from SP

    Can I request for help on how to use Oracle Output parameter from a stored procedure as a source. I need the output tobe stored in a flat file
    Thanks
    Abhijit
    Message was edited by:
    Abhijit77

    yes I would like to use it for ODI.. I would like the ouput of the refcursor to be fed to a text file using ODI. How to handle the records returned by the refcursor and map with txt file.

  • I'm looking for customer references who are using Oracle IFS or OCM

    Dear All,
    I'm looking for customer references who are using Oracle IFS or OCM or Oracle Files for their document management systems. So, if anyone can support me i appreciate.

    We have implemented a document management system using Oracle 9iFS 9.0.2
    I would be happy to let you know of our experiences to date.
    Niels Montanana
    Technology Director
    Practical Law Company
    London, England

  • How to Use Oracle 8i with MapX?

    I am trying to work with oracle 8i 1.6 and mapX 4.5 but un-able to do so. I tried by adding server layer but couldn't do so.
    Help !!

    Crossposted: Re: How to use Oracle partitioning with JPA @OneToOne reference?

  • How to use ADF Query search with EJB 3.0

    Hi,
    In ADF guide http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/web_search_bc.htm#CIHIJABA
    The steps to create query search with ADF Business Components says:
    "+From the Data Controls panel, select the data collection and expand the Named Criteria node to display a list of named view criteria.+"
    But with EJB, I'm not able to find Named Criteria node. Can we use ADF query search component with EJB? If yes, can you please show me some example, tutorial etc.?
    Thanks
    BJ

    For EJBs you'll need to implement the query model on your own.
    An example of how the model should look like is in the ADF Faces components demo.
    http://jdevadf.oracle.com/adf-richclient-demo/faces/components/query.jspx
    Code here:
    http://www.oracle.com/technology/products/adf/adffaces/11/doc/demo/adf_faces_rc_demo.html

  • How to use Oracle text

    I'm storing files in a blob field in a 9i database, sometimes I need to query using the details stored in the database about the file and sometimes I need to search the files to find matches with some text (like search engine), I was told that oracle text can help me accomplish this functionality , however I don't know if it supports arabic text and I don't know how to use it from my application developed in 9i.
    Regards.

    Friend by using these step you can easily use Oracle inter text media
    j a h a n z e b
    [email protected]
    Oracle Developer
    6th Floor, State Bank of Pakistan
    I.I.Chundrigar Road, Karachi.
    Please note that in SqlPlus you can use '?' in stead of $ORACLE_HOME, and this works on Unix and Windows so if you want to execute $ORACLE_HOME/rdbms/admin/catalog.sql you can simply use:
    on Unix sql> @?/rdbms/admin/catalog.sql
    on Windows sql> @?\rdbms\admin\catalog.sql
    5.2.1 Explanation of installation steps
    1. Connected to database as SYSDBA and create CTXSYS user:
    Ctxsys user is created by calling following script:
    @?/ctx/admin/dr0csys.sql <ctxsys> <system> <temp>
    Where:
    change_on_install - is the ctxsys user password
    DRSYS - is the default tablespace for ctxsys
    TEMP - is the temporary tablespace for ctxsys
    This will create user CTXSYS and grants full privileges to CTXSYS in order to create and insert into result tables, execute callbacks, rewrite queries, and perform system cleanup. At this point CTXSYS will not own any objects.ss
    2. Connected to database as CTXSYS and create all necessary objects
    All necessary object are creates by calling following script:
    connect CTXSYS/change_on_install
    @?/ctx/admin/dr0inst <replace with $ORACLE_HOME>/ctx/lib/libctxx9.so;
    Please not that you have to put full path to your ORACLE_HOME, for example home as paramter
    On Solaris/Aix/Linux with $ORACLE_HOME of /u01/app/oracle/product/8.1.7
    @?/ctx/admin/dr0inst.sql /u01/app/oracle/product/8.1.7/ctx/lib/libctxx8.so
    On HP-UX with $ORACLE_HOME of /u01/app/oracle/product/8.1.7
    @?/ctx/admin/dr0inst.sql /u01/app/oracle/product/8.1.7/ctx/lib/libctxx8.sl
    Windows NT/2000 with D:\oracle\product\8.1.7
    @?/ctx/admin/dr0inst.sql D:\oracle\product\8.1.7\bin\oractxx8.dll
    This will installs all Oracle database objects required by the Oracle Text system. This includes:
    a) Data dictionary tables, views, sequence, packages
    b) Server management tables, views and packages
    c) Dispatcher packages
    d) Service queue objects
    3) Install appropriate language-specific default preferences.
    The next step is to install appropriate language-specific default preferences.When you use CREATE INDEX to create an index or ALTER INDEX to manage an index, you can optionally specify indexing preferences in the parameter string. There are seven preference classes:
    - Lexer, defines the language being indexed. ( language specific )
    - Wordlist, defines the expantion of stem and fuzzy queries. ( language specific )
    - Stoplist, defines words and themes that are not be indexed. ( language specific )
    - Datastore, defines document storage.
    - Filter, defines standards for converion of documents to plaintext.
    - Storage, defines the storage of the index tables.
    - Section group, enables possibilities to define document sections.
    There is script which creates language-specific default preferences for every language Oracle text supports in <ORACLE_HOME>/ctx/admin/defaults directory, such as English(US), Danish(DK), Dutch(NL), Finnish(SF), French(FR), German(DE), Italian(IT), Portuguese(PR), Spanish(ES), and Swedish(S). They are named in the form drdefXX.sql, where XX is the language code. To manually install US default preferences, for example, log into sqlplus as CTXSYS, and run 'drdefus.sql' as described below:
    @?/ctx/admin/defaults/drdefus.sql
    create user textuser identified by textuser
    default tablespace users
    temporary tablespace temp;
    -- You must grant 'ctxapp' role to textuser
    grant connect, resource, ctxapp to textuser;
    connect textuser/textuser
    drop table quick;
    create table quick (
    quick_id number
    constraint quick_pk primary key,
    text varchar2(80) );
    insert into quick ( quick_id, text ) values (1,'The cat sat on the mat');
    insert into quick ( quick_id, text ) values (2,'The quick brown fox jumps over the lazy dog' );
    insert into quick ( quick_id, text ) values (3,'The dog barked like a dog');
    commit;
    create index quick_text on quick ( text )
    indextype is ctxsys.context;
    col text format a45
    col s format 999
    select text, score(42) s from quick
    where contains ( text, 'dog', 42 ) > 0
    order by s desc;

  • How to use Oracle Table Type values in Select Statement.

    Hi,
    I am fetching initial set of values into Oracle Table of Records Type and want to use list of values in the Select statement.
    For example, try something like the following:
    TYPE t_record IS RECORD (
    ID TABLEA.ID%type,
    NO TABLEA.NO%type,
    v_record t_record;
    TYPE t_table IS TABLE OF v_record%TYPE;
    v_table t_table;
    -- Code to populate the values in v_table here.
    SELEC ID,NO, BULK COLLECT INTO <some other table variabes here> FROM TABLEA
    WHERE ID IN v_table(i).ID;
    I want to know how to use the values from Oracle Table Type in the Select Statement.

    Something like this:
    create or replace type t_record as  object (
    id number,
    no number
    CREATE or replace type t_table AS TABLE OF t_record;
    set serveroutput on
    declare
      v_table t_table := t_table();
      v_t1 t_table := t_table();
    begin
      v_table.extend(1);
      v_table(1).ID := 1;
      v_table(1).No := 10;
      v_table.extend(1);
      v_table(2).ID := 2;
      v_table(2).ID := 20;
      SELEC t_record (ID,NO) BULK COLLECT INTO v_t1
      from TableA
      FROM TABLEA
      WHERE ID IN (select t.ID from table(v_Table) t);
      for i in 1..v_t1.count loop
        dbms_output.put_line(v_t1(i).ID);
        dbms_output.put_line(v_t1(i).No);
      end loop;
    end;
    /Untested!
    P;
    Edited by: bluefrog on Mar 5, 2010 5:08 PM

  • How to use oracle collection type with JDBC?

    I try to use oracle collection type in java program. So I made some package and java program, however Java program was not found "package.collectiontype"(JDBC_ERP_IF_TEST.NUM_ARRAY) . please, show me how to use this.
    Java Version : Java 1.4
    JDBC Driver : Oracle Oci Driver
    DB: Oracle 9i
    No 1. Package
    ===========================================
    create or replace package JDBC_ERP_IF_TEST AS
    type NUM_ARRAY is table of number;
    procedure JDBC_ERP_IF_ARRAY_TEST(P_NUM_ARRAY IN NUM_ARRAY, ERR_NO OUT NUMBER, ERR_TEXT OUT VARCHAR2);
    procedure TEST(ABC IN NUMBER);
    END JDBC_ERP_IF_TEST;
    ==================================================
    No 2. Package Body
    ===============================================
    CREATE OR REPLACE package BODY JDBC_ERP_IF_TEST is
    procedure JDBC_ERP_IF_ARRAY_TEST(p_num_array IN NUM_ARRAY,
    ERR_NO OUT NUMBER,
    ERR_TEXT OUT VARCHAR2) is
    begin
    ERR_NO := 0;
    ERR_TEXT := '';
    dbms_output.enable;
    for i in 1 .. p_num_array.count() loop
    dbms_output.put_line(p_num_array(i));
    insert into emp (empno) values (p_num_array(i));
    commit;
    end loop;
    EXCEPTION
    WHEN OTHERS THEN
    ERR_NO := SQLCODE;
    ERR_TEXT := ERR_TEXT ||
    ' IN JDBC INTERFACE TEST FOR ORACLE ERP OPEN API..';
    ROLLBACK;
    RETURN;
    end JDBC_ERP_IF_ARRAY_TEST;
    procedure TEST(ABC IN NUMBER) IS
    begin
    insert into emp(empno) values (ABC);
    commit;
    end TEST;
    end JDBC_ERP_IF_TEST;
    ===============================================
    NO 3. Java Program
    ===============================================
    ArrayDescriptor descriptor = ArrayDescriptor.createDescriptor("JDBC_ERP_IF_TEST.NUM_ARRAY", getConnection());
    ARRAY array = new ARRAY(descriptor, getConnection(), arrs);
    cstmt = getConnection().prepareCall(LQueryFactory.getInstance().get("Meta/Basic/testJdbcErpArrayIf").getSql());
    cstmt.setArray(1, array);
    cstmt.registerOutParameter(2, Types.INTEGER);
    cstmt.registerOutParameter(3, Types.VARCHAR);
    ====================================================
    couldn't find this phase => JDBC_ERP_IF_TEST.NUM_ARRAY
    what can i do for this package and program? please help me..

    Something like this:
    create or replace type t_record as  object (
    id number,
    no number
    CREATE or replace type t_table AS TABLE OF t_record;
    set serveroutput on
    declare
      v_table t_table := t_table();
      v_t1 t_table := t_table();
    begin
      v_table.extend(1);
      v_table(1).ID := 1;
      v_table(1).No := 10;
      v_table.extend(1);
      v_table(2).ID := 2;
      v_table(2).ID := 20;
      SELEC t_record (ID,NO) BULK COLLECT INTO v_t1
      from TableA
      FROM TABLEA
      WHERE ID IN (select t.ID from table(v_Table) t);
      for i in 1..v_t1.count loop
        dbms_output.put_line(v_t1(i).ID);
        dbms_output.put_line(v_t1(i).No);
      end loop;
    end;
    /Untested!
    P;
    Edited by: bluefrog on Mar 5, 2010 5:08 PM

  • How to use Oracle database in CR XI R2!!!

    Hi All,
    I am having Oracle database in onsite machine.
    I need to design the report without DSN and installing Oracle in my machine.
    I dont know how to use connection String and Find DSN file option.
    Please anyone help me to solve the issue.
    Thanks in advance
    Saravanakumar.

    hI,
    Thank you for your reply.
    1. I tried to give connection string, but i couldnt succeed.
    2.If is give OLE(ODBC) I dono how the connection is established. Will it refer to TNSNAMES.ORA file, because it is simpy asking data source, use ID and password.
    it will be helpful if you clarify me on the doubts.
    Thank you,
    Saravanakumar.

  • How to use oracle OCIANYDATASET?

    Hi, All
    When I try to update oracle example "Pipelined Table Functions Example: C Implementation" to return OCIANYDATASET, but from oracle documnet, I cannot find any example about how to use OCIANYDATASET, would you please help me out of this issue, any example or advice is benefit for this issue. thanks.
    The PL/SQL below works OK now:
    member function ODCITableFetch(self in out StockPivotImpl, nrows in number,  record_out out anydataset) return number is
      rc SYS_REFCURSOR;
      value  pls_integer;
      cur StockTable%ROWTYPE;
      begin
        record_out := null;
         DBMS_ODCI.RestoreRefCursor(rc, self.cur_n);
        if row_was_returned = 1 then
          return ODCIconst.success;
        end if;
        row_was_returned := 1;
        anydataset.begincreate(dbms_types.typecode_object, self.row_types, record_out);
         loop
              fetch rc into cur;
              EXIT WHEN rc%NOTFOUND;
              record_out.addinstance;
            record_out.piecewise();
              -- Setting the returned values:
              record_out.setvarchar2(cur.ticker);
              record_out.setnumber  (cur.openprice);
              record_out.setnumber  (nrows);
              record_out.setvarchar2('new_column');
         end loop;     
         close rc;
        record_out.endcreate;
        return odciconst.success;
      end;But how to implement below C function, especially how to append value into OCIAnyDataSet and return it?
    -- Create table function
    CREATE FUNCTION StockPivot(p refcur_pkg.refcur_t) RETURN anydataset
    PIPELINED USING StockPivotImpl;
    SELECT * FROM TABLE(StockPivot(CURSOR(SELECT * FROM StockTable)));
      MEMBER FUNCTION ODCITableFetch(self IN OUT StockPivotImpl, nrows IN NUMBER,
                                     record_out out anydataset) RETURN PLS_INTEGER
        AS LANGUAGE C
        LIBRARY StockPivotLib
        NAME "ODCITableFetch"
        WITH CONTEXT
        PARAMETERS (
          context,
          self,
          self INDICATOR STRUCT,
          nrows,
          record_out,
          record_out INDICATOR,
          RETURN INT
    int ODCITableFetch(OCIExtProcContext* extProcCtx, StockPivotImpl* self,
                           StockPivotImpl_ind* self_ind, OCINumber* nrows,
                           OCIAnyDataSet* outSet, short* outSet_ind)Edited by: BluShadow on 11-Apr-2013 10:42
    added {noformat}{noformat} tags for readability.  Please read the FAQ: {message:id=9360002} and learn to do this yourself in future.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Thanks for your reply, Yes, I have read the doc, but it seems like that doesn't work in my code. I'm not sure whether I missed something. My steps below:
    int ODCITableFetch(OCIExtProcContext* extProcCtx, StockPivotImpl* self,
                        StockPivotImpl_ind* self_ind, OCINumber* nrows,
                        OCIAnyDataSet* outSet, short* outSet_ind)
    OCIAnyData* myData = (OCIAnyData*)0;
    status = OCIAnyDataSetBeginCreate(handles.svchp, handles.errhp, OCI_TYPECODE_OBJECT, (OCIType *)self->out, OCI_DURATION_SESSION, &outSet);
    status = OCIAnyDataSetAddInstance(handles.svchp, handles.errhp, outSet, &myData);
    //AAA
    OCIStringAssignText(handles.envhp, handles.errhp, (text *)"CA", 2, &str);
    checkerr(&handles, OCIAnyDataAttrSet(handles.svchp, handles.errhp, (OCIAnyData*)myData, (OCITypeCode)OCI_TYPECODE_VARCHAR2,(OCIType *)0, (dvoid *)&indp, (void*)str, sizeof(str), FALSE)); // Crashed here
    //BBB
    status = OCIAnyDataSetEndCreate(handles.svchp,handles.errhp, outSet);
    //CCC
    return ODCI_SUCCESS;
    It crashed in function OCIAnyDataAttrSet(), but when I added the function OCITypeByName() and OCIAnyDataBeginCreate() in AAA and OCIAnyDataEndCreate() in BBB, no error happened again and I can get the instance in CCC with function OCIAnyDataSetGetInstance() and I also can get the value via function OCIAnyDataAttrGet() after CCC from the instance, but when I run the query, it is no rows selected, why?

  • How to use the created search helps in the program?

    Hi Everyone,
    I know how to create Search help elementary / collective search help through SE 11. I have a question, how can I make use of the created search help in the program.
    How to use the Search help in the programs, which is created through SE11
    Subbu.

    Hi,
    In case if you want to use in parameters statement, then we can use the suffix MATCHCODE OBJECT syntax.
    Eg.
    report abc.
    parameters : a(10) type c matchcode object ZBELNR.
    Hope this helps.
    regards,
    amit m.

  • How to use Oracle Spatial in this scenario

    My scenario is like that:
    I'm very new to Oracle Spatial
    I'm building an application that will be based on asp.net.(I am
    confident about .net)
    As per my client requirement there are some kml file in one archive
    folder.
    Let me give an example:
    say there is a kml file for region A.(latitude say 36 n to 40 n and
    longitude is 110 w to 115 w) already in the archive folder.
    Now if a new kml file(say A1.kml) that has been created by the user
    and say its latitude and longitude are respectively 37n and 112w. As we clicked A.kml, google earth is opened up for the region A and as
    we move our mouse cursor to more deeper more polygons are visible.
    eventually polygon for A1.kml is also visible and definitely which is
    inside the polygon for region A.
    How can I achieve this thing by using oracle spatial 10g? ---(it's one of my senior's advice to use "oracle spatial 10g" in this scenario)
    I'm not too sure whether I can able to make it clear to u about my
    situation; plz xcuse me if I'm wasting ur valuable time.

    Hi,
    This link helped me a lot!
    http://www.oracle.com/technology/pub/articles/rubio-mashup.html
    Hope it could help you too.
    Best regards,
    Luiz

  • [Solved] How to use Oracle Java 6 for specific applications

    I use an IDE called PyCharm. On its download page, it recommends using Java 6 instead of OpenJDK. I currently have jdk7-openjdk installed, and from what I had read in the Arch Wiki on Java, it should be possible to install Oracle Java 6 along side OpenJDK 7.
    However, after installing jdk6-compat and jre6-compat, I still see that I am running OpenJDK 7 when I run the following:
    % java -version
    java version "1.7.0_09"
    OpenJDK Runtime Environment (IcedTea7 2.3.3) (ArchLinux build 7.u9_2.3.3-1-x86_64)
    OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)
    ...even after I have set JAVA_HOME and added /opt/java6/bin to my path.
    How can I get PyCharm (or other applications) to use Oracle Java 6 instead of OpenJDK?
    Thanks, and apologies if I've posted in the wrong place.
    Other information that might be helpful:
    Running zsh as default shell
    Using Gnome 3 as DE
    Last edited by Nikorasu (2012-11-17 20:54:33)

    I found the solution.
    For Pycharm, I just needed to add an environment variable PYCHARM_JDK. For running specific applications, I asked this question on the Unix / Linux StackExchange and got an answer there.
    Also, after running PyCharm in Java 6... I would not recommend it. OpenJDK works fine
    Last edited by Nikorasu (2012-11-17 20:55:01)

Maybe you are looking for

  • Why can't you purchase an audio book on the Itunes store from an Apple TV?

    Apple seems to be moving everything they sell on Itunes to graphics, away from the traditional text based browse function they started with. I don't think they've done the most effective job on that move on a PC/Mac, it's sometimes easier just to go

  • Setting timeout in Oracle Web Service Callouts

    We have a 10.1.0.4 Enterprise DB with dbwsclient.jar loaded. Currently using the database callouts. The problem is there seems to be no timeout when the called web service does not respond. I did not see a setting for the socket timeout in the code p

  • XML import - stopped due to "critical error"

    Hi all. For the moment, I'm still working with FCS1/FCP 5.1.4, OS 10.4.11. In the past, when I've needed to open a project I've started on other machines running 6.0.x, I've done an XML export, and imported said xml file into a new project on my mach

  • Is there a way to get the list of ALL user exits in ECC 5.0 or 6.0

    Is this list published somewhere by SAP or can we get it from the system somehow? I m not talking about Enhancement or BADI's just user exits. Thanks for reading

  • Porting data from Oracle8i to XML and from XML  to Oracle 10g

    Hai I have a client database (using oracle 8i) and a server database (oracle 10g). Due to lack of leased line connectivity i want to port these offline data from 8i to 10g using a modem(dial up connection).Is there is any way to port data from 8i to