Can execut a query in Oracle UCM to get View_Values instead of using GET_SC

Dear All,
i have a question that i had google it and didn't find anything helpful.
i want to ask if i can execut a query in Oracle UCM to get View_Values instead of using GET_SCHEMA_VIEW_VLAUES service ?
ie: asuume that we have a Table name called Employees (having empId, empName) and have a view named as Table name; Employees.
instead of use the GET_SCHEMA_VIEW_VLAUES service to get the data of Employees, can i write a query, ex: select from Employees*_ to get the data.
note: i have a connection parameter to connect to oracle UCM database
any suggestions.
Regards

Yes, you can execute the query and store results into a result set (available also in iDocScript).
There are two sample components that you could use as a starting point - see here http://www.oracle.com/technetwork/middleware/webcenter/content/howtocomponentsbundle-132171.zip or here for 11g http://bexhuff.com/2011/03/howto-component-samples-for-oracle-ucm-11g
Take a look at DataAccess and DatabaseProvider from the sample stack.

Similar Messages

  • HT204406 How can I subscribe to Itunes Match redeeming from itunes card instead of using credit card?

    How can I subscribe to itunes Match redeeming from itunes card instead of using credit card?

    Do you have another device (eg a computer) that also contains your music? If so, yes, you can turn off iTunes match and sync everything with a cable. Do you tend to buy new music from downloads or ripping CDs? If downloads, you can turn on "download purchases automatically" on the phone to make them available to you there, once you've cable-synced your current library. If CDs, you would have to manually sync with cable (or over local wifi) each time you add a new CD.
    Matt

  • Can you take pictures while having your flash light on, instead of using your camera's flash?

    Hello I have a 5s and want to know if you can take pictures while having your flash light on, instead of using your camera's flash? Having a constant light seems like a better way to take pictures. If this is possible how? Do I need certain apps? or just adjust settings? Any help would be much appreciated. Thanks Pat

    The Flashlight uses the camera flash as its source of light.  You are in fact using the flahslight when you take a picture with flash because they use the same light source.
    The Flash is timed to light the picture when the camera snaps the photo. 

  • NullPointerException on System.arraycopy command while executing select query in Oracle 10

    I'm getting this error below while trying to execute some select query.
        java.lang.NullPointerException at java.lang.System.arrayCopy(Native Method) at
        oracle jdbc.driver.T4CNumberAccessor.saveDataFromOldDefineBuffers(T4CNumberAccessor.java:276) at
        oracle.jdbc.driver.T4CPreparedStatement.saveDefineBuffersIfRequired(T4cPreparedStatement.java:486) at
        oracle.jdbc.driver.OracleStatement.prepareAccessors(OracleStatement.java:919) at
        oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(T4CPreparedStatement:836) at
        oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1124) at
        oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3286) at
        oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3329) at
    I've already downloaded the latest ojdbc5.jar file to access Oracle 10 database.
    This is my java version:
        bash$java -version
        HEAP_DUMP_OPTIONS= -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=../Logs -XX:+PrintClassHistogram
        java version "1.5.0_22"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03)
        Java HotSpot(TM) Server VM (build 1.5.0_22-b03, mixed mode)
    Any idea of what may cause this problem?

    No one can debug code that they can't see.
    You need to SHOW US (not just tell us):
    1. WHAT you are doing
    2. HOW you are doing it
    3. WHAT result you are getting
    4. WHAT result you expected to get.
    The latest JDBC jar that can access Oracle 10 DBs is the 12.1.0.2 driver and is available here:
    JDBC/UCP Download Page

  • How to execute remote query by Oracle Database Link

    I use Oracle Database Link to query data from SQL Server. The query is like:
    select *
    from tableA@DL_SqlServer a
    join tableB@DL_SqlServer b
    on a.ID = b.ID*
    tableA and tableB is large and the result is relatively small. This query executes quickly in SQL Server since indexes are built both on the two tables. But it is very slow on Oracle Database Link to SQL Server.
    I guess the join operation is performed on Oracle side not on SQL Server side, thus the indexes are not used. Since I just need the joined result, I prefer to perform the query entirely on SQL Server and get the small result only. But I have no privilege to create views on SQL Sevrer.
    I konw that using SQL Server's linked server and OPENQUERY function can achieve this goal. I wonder how to do this on Oracle Database Link. Thanks!

    DO NOT DO THIS....specifically:
    "select *
    from tableA@DL_SqlServer a
    join tableB@DL_SqlServer b
    on a.ID = b.ID*"
    You would be better off to do the following:
    create a Materialized View in Oracle and once/day (or as frequently as you feel necessary) pull the data from SQLServer and then do the join locally by creating MV as TABLEA_MV and TABLEB_MV and then have views that have the REALTABLEA and REALTABLEB names that point to these MVs. This can be done without recompiling or changing your code. Trust me, I have seen this sort of thing in the past that completely crippled an IBM mainframe using DB2 along with a major network segment by having this sort of join via DB links. You must understand the ramifications of your "design" and I can tell you for certain that it is a very BAD!!! idea... Fix this before you are issuing another command: "alter DBA update resume/CV;"
    The app went into production at 7AM. By 9:30AM, the mainframe had executed more than 10Billion I/O's. It took > 15hrs for the mainframe to recover once we shutdown the app and implemented the view/MV described above.
    I will leave it as an excercise for the OP to develop the syntax for this.
    Edited by: onedbguru on Feb 15, 2013 7:27 PM

  • Searching a revision using CMIS query in Oracle UCM 11g

    Hi,
    I have 4 revisions of a content ,4th revision being the latest one ,Is there a way where in I can search the earlier revision of a content i.e. 2,3 or 1st revisions based on a combination of metadata using CMIS query...

    Take a look at this thread: Search across all revisions of a content

  • Can we write query in xml file to get desired field?

    I have  XML script like  below  can I query this file and get returns like Name only  for instance similar to 'select top 5 name from [HumanResources].[Department] order by DepartmentID'
    Engineering
    Tool Design
    Sales
    Marketing
    Purchasing
    <HumanResources.Department DepartmentID="1" Name="Engineering" GroupName="Research and Development" ModifiedDate="2002-06-01T00:00:00" /><HumanResources.Department DepartmentID="2" Name="Tool Design" GroupName="Research and Development" ModifiedDate="2002-06-01T00:00:00" /><HumanResources.Department DepartmentID="3" Name="Sales" GroupName="Sales and Marketing" ModifiedDate="2002-06-01T00:00:00" /><HumanResources.Department DepartmentID="4" Name="Marketing" GroupName="Sales and Marketing" ModifiedDate="2002-06-01T00:00:00" /><HumanResources.Department DepartmentID="5" Name="Purchasing" GroupName="Inventory Management" ModifiedDate="2002-06-01T00:00:00" />

    DECLARE @xml xml='<HumanResources.Department DepartmentID="1" Name="Engineering" GroupName="Research and Development"
     ModifiedDate="2002-06-01T00:00:00" /><HumanResources.Department DepartmentID="2" Name="Tool Design" 
    GroupName="Research and Development" ModifiedDate="2002-06-01T00:00:00" /><HumanResources.Department 
    DepartmentID="3" Name="Sales" GroupName="Sales and Marketing" ModifiedDate="2002-06-01T00:00:00" />
    <HumanResources.Department DepartmentID="4" Name="Marketing" GroupName="Sales and Marketing" 
    ModifiedDate="2002-06-01T00:00:00" /><HumanResources.Department DepartmentID="5" Name="Purchasing" 
    GroupName="Inventory Management" ModifiedDate="2002-06-01T00:00:00" />'
    SELECT T.Name.value('@Name', 'VARCHAR(50)') AS Name
    FROM @xml.nodes('HumanResources.Department')
     AS T(Name);
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • How can i get google instead yahoo using firefox 4

    every since i updated to ff4 when i search for something it uses
    yahoo instead google how can i change it back and the refresh
    button does not work any more

    On this computer, it seems impossible to set Google as the default search engine. If I open a new tab and type in a search it always brings up this damn skinny yahoo page that says 'AVG' in the top left corner. The URL says:
    http://search.yahoo.com/search?fr=yhs-avg-chrome&type=yahoo_avg_hs2-tb-web_chrome_us&p=Some%20search
    Even though I've changed the Keyword.URL in about:config and used Manage Search Engines to delete all other engines except for Google, it is still using Yahoo!
    WTF? Is it hard coded somewhere?
    [edit]I've uninstalled all Yahoo crap from this XP computer and it still does it! ARG!!!

  • How can I  make my own design for a web page instead of using a template?

    Need to ask the question again. I tried using the blank template, but could not get it to work. I could not insert images and copy where I wanted and in size I wanted.

    rapcom wrote:
    A general question: Is it possible to change the dimensions of the web page? Or even its positioning as a horizontal or vertical format?
    Yes — it's done via iWeb Inspector's Page tab (the second one at the top), editing the values in the +Page Size+ fields. After entering a new value, click the Return key to make it take effect...
    ..By the way, the above image is taken from a tutorial ~ click on the image above to read the tutorial.
    rapcom wrote:
    I also would prefer to edit the copy on the blank web page, and cannot do that either. Is it possible to do so?
    Yes, it's possible. But it's difficult to know what exact difficulty you're having, and I perhaps risk stating the obvious... One thing to be aware of is that clicking once inside a text box will simply select that box (you'll see eight +"grab handles"+ for re-sizing). But to edit the text inside, you need to click once more. Experiment with clicking inside and outside text boxes and you'll learn.
    And iWeb's Help menu has several resources ~ the Help viewer, a +Getting Started+ PDF and a link to ten video tutorials. One of the videos briefly demonstrates adding a text box towards the end; click here...
    If after the above you still need help, post back with step-by-step details of the problem.

  • Can someone please tell me why I am getting an error when using my Liquify tool?

    I am receiving an "error"window when using my Liquify tool in Filters. I receive a "delayed write failed" window also...I heard a loud honking sound and then my ability to use the tool is frozen. A little help please?

    You're not alone. There have been several threads about this issue:
    http://forums.adobe.com/thread/1408767?tstart=60
    http://forums.adobe.com/thread/1358619?tstart=120
    http://forums.adobe.com/thread/1407847?tstart=150
    http://forums.adobe.com/thread/1404674?tstart=420
    They're all informative, but I think the last one might be what you want.

  • Getting error "Column is not indexed " when executing query on ORACLE 10g

    Hi all,
    When executing the below query im getting the error "ORA-20000:Column is not indexed"
    query:
    select xmlelement("nexml:result",xmlattributes('http://namespaces.nextance.com/nex/xml' as "xmlns:nexml"),xmlelement("nexml:value",count(*))).getClobVal()
    from "permission"
    where ( ((contains(object_value,'(searchDocument) inpath(/permission/action)') > 0)) and ((existsNode(object_value,'/permission[resource/resourcekey/@type[. = "document"]]') = 1)) and ((contains(object_value,'(GeneralUser) inpath(/permission/principal/@name)') > 0)) and ((existsNode(object_value,'/permission[principal/@type[. = "group"]]') = 1)) and ((existsNode(object_value,'/permission[type[. = "allow"]]') = 1)) and ((contains(object_value,'(nexip) inpath(/permission/resource/resourcekey/field/@value)') > 0) or (contains(object_value,'(Corporate) inpath(/permission/resource/resourcekey/field/@value)') > 0) or (contains(object_value,'(ProcurementAgreement) inpath(/permission/resource/resourcekey/field/@value)') > 0) or (contains(object_value,'(Procurement) inpath(/permission/resource/resourcekey/field/@value)') > 0) or (contains(object_value,'(SalesAgreement) inpath(/permission/resource/resourcekey/field/@value)') > 0)) )
    Then after checking some forum, i replaced "contains" with "ora:contains" and executed the query. Now im not getting the first error but got a new error "invalid relational operator"
    So please help me in resolving the errors?
    Thanks in advance.

    Anil kumar wrote:
    Hi,
    Thanks for your reply. Could you please explain your solution in detail?Hi,
    I just have a try...
    create table t (id int,my_lob clob)
    begin
    insert into t values(101,'Oracle redwood shores USA');
    insert into t values (102,'HP palo alto USA');
    insert into t values(103,'Capgemini  FRANCE');;
    end;
    create index my_idx on t(my_lob) indextype is ctxsys.context
    select *
    from t
    where contains(my_lob,'USA',1)>0
    Output
    ID      MY_LOB
    101     Oracle redwood shores USA
    102     HP palo alto USA Hope it helps,
    CKLP

  • Able to execute a query in TOAD but can't ceate explain plan

    Hi,
    I can execute a query in TOAD which uses table from other schema. I have created the synonym and given the rights on it.
    But when I try to create explain plan using TOAD: I get Ora-00942:Table or view does not exist.
    Any suggestions..
    Thanks..

    user8941550 wrote:
    But if I just try
    Explain Plan for
    select t.xml_msg_text
    from xml_tbl t
    THen this works.That will have to be executed as a script in TOAD, which essentially shells out to use SQL*Plus and capture the output, so it's not Toads in-built explain plan.
    In another schema I can generate the plan.So that other schema has been set up with toads explain plan table.
    In TOAD look in Database -> Administer -> Server Side Objects Wizard
    and follow that through to create the necessary toad objects on the server.

  • While Rollup is goingon Can we execute the query

    Hello All
    We have a cube and aggregates built on this cube and daily in my Process chain we have step Rollup.
    Now while Rollup is goingon Can we execute the query which is builut on the same cube? Will the cube will be locked?
    Can we excute query while load is goingon to this cube?
    Regards
    Balji

    Hi Balaji,
    You can execute a query when the roll up is going on. The new data is available to the report only when the rollup is complete, but this will not create locks.
    Hope this helps...

  • Writing query to Oracle DB with DATE field in it.

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

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

  • How to be sure if webdav is enabled in Oracle UCM?

    Hello all.
    I know it is a silly question, but I need to know: how can I be sure if webdav is enabled and working OK?
    These are my specs:
    Windows 7 64 bits
    Desktop Integration Suite 11.1.1.6.0 64 bits
    Oracle UCM 11g in a Linux Machine
    Using Desktop Integration I can create folders and add content with metadata. Everything is OK. But I need to create 5 folders in UCM using the webdav protocol because they will receive content from Desktop Integration, using Windows Explorer. Do I just create them and they will be in the webdav protocol?
    The folders_g and corewebdav components are enabled.
    I'm very confused about this.
    When I tried to access the UCM through this link:
    http://server:16200/_dav/cs/idcplg/webdav/
    Nothing happens. But when I use this:
    http://server:16200/cs/idcplg/webdav/
    I got "Autentication Failed in Content Server. It is not possible to open the folder".
    Thanks for all. And sorry again.
    Fernando

    First of all, go through http://docs.oracle.com/cd/E23943_01/doc.1111/e10978/c08_folders.htm#CSMRC722 and make sure everything is OK. However, if you can create folders in DIS, it should be (Folders an WebDAV are prereq for DIS). In DIS you should also see the address - I guess it'll show http://server:16200/cs/idcplg/webdav/

Maybe you are looking for

  • Can't open Belkin router 198.162.0.1

    Can't open Belkin router b 192.168.0.1

  • Audio interface/mixer advice

    Hi All I've got a first gen macbook (the black one). I've got a USB external harddrive (about an extra 100 GB). I have Logic Studio installed and i'm going to be doing some recording of my band in January. I'm going to be buying an audio interface/mi

  • XML transform using XSL

    Hi, I am new to the javax technology. I have a xml that has data in this format <?xml version="1.0" encoding="UTF-8"?> <emps> <emp> <empName>Me</empName> <empAge>23</empAge> </emp> <emp> <empName>You</empName> <empAge>23</empAge> </emp> </emps>Can i

  • OPM 2.0RC1 Missing Volume

    Hey there, i just deployed the 2.0RC1 OPM in our Testenvironment. It detected the Cluster and after approx 15min he found every Node, Aggregate, SVM but with the Volumes there seems to be a Problem. At first he detected 2 out of 6 Volumes. So not all

  • Installation trouble with MacOS 1.5

    Hi folks, I am trying to install a trial of Adobe Dreamweaver CS4 on MacOS 1.5. When I launch the installer, the icon appears on the taskbar and disappears some seconds after I entered my password with no obvious reason. However, there is a log which