Displaying Sybase data in Oracle Portal?

I am using the Oracle Transparent Gateway for Sybase to access Sybase data in SQL Plus. How do I display
the sybase data in Oracle Portal? Does anyone know what to do or is there any documentation on this? Thanks.

Thomas,
First of all you need to create a schema for your Portal Application. Once that is done you will need to run in a DBA script called provsyns.sql so that this schema can execute and view the Portal core objects.
This script is located in $9ias_ORACLE_HOME/portal30/admin/plsql/wwc
Run this script as PORTAL30 with one parameter, this being the name of your new schema.
Then your next step would be to set up all the necessary grants and synonyms so that the objects you wish to view over the gateway can be viewed from your application schema.
Then you are ready to create an application in Portal via Navigator --> Applications.
Choose the new schema as the Application schema (this is where all the Portal generated code gets compiled) and try creating a simple Report component to see if your non-portal components are set up properly.
Hope this helps...
John

Similar Messages

  • How to display client date in oracle

    Hi All,
    How to display client system date in oracle. When I try to display date & time oracle displays server date and time but I need to display client date & time. How can I achieve that?
    Thank you

    user536769 wrote:
    How to display client system date in oracle. When I try to display date & time oracle displays server date and time but I need to display client date & time. How can I achieve that?As Nicolas says, you can't easily do this.
    The reason is that the SQL engine (and the PL/SQL engine) are processes running on the database server and so they pick up the server date/time. Those processes, running on that server have no knowledge of "client" machines and no way to connect to them. Network security ensures that one machine can't just get onto another machine and access it's operating system without any form of authorisation, hence the only way to achieve this is to have some way for the server to serve a java applet or some such thing to the client and the client user accept that applet to run on their machine and then that applet obtains the relevant details and passes it back to the server.
    Imagine if you wanted to write code on your client machine to go to you colleagues client machine and get the date/time from it, how easy would that be to do without your colleague authorising some part of your software to run on his machine?
    ;)

  • DATE FORMAT (ORACLE PORTAL) -----   (DATABASE)

    I had a conversion ERROR while I was inserting DATE value from
    dynamic LOV to database(probably because of the different
    default DATE FORMAT of LOV query and database). I fixed the
    problem with TO_CHAR funtion in the LOV query,where I changed
    the date format...
    But the ERROR could appear again if application was running on a
    different database. What can I do to dynamically change the DATE
    FORMAT, depending on the DATABASE???

    Put this code in advanced pl/sql block beofre displaying page
    dbms_session.set_nls('nls_date_format',
    '''MM/DD/YYYY''');
    set date format that you want.....

  • BPEL and Oracle Portal

    Hello.
    At the moment i try to find a beginning how to display Values from Oracle BPEL Process Manager to Oracle Portal. I would like to use Portlet Specification JSR-168, if it is possible.
    For a better understanding: here is a detailed description of the task i try to do:
    I have a BPEL Process which uses values via WebService. These values will be modified in the BPEL Process. After the values are modified, they should be displayed in Oracle Portal.
    I have installed an Infrastructure, Middle Tier (Portal&Wireless) and Oracle BPEL PM for Middle Tier on a Virtual Machine. At my local PC I installed BPEL PM for Developers to develop BPEL Processes.
    I don't find a beginning to display the Values in Oracle Portal... ;)
    Can anyone help me or give me a hint to find a beginning?
    P.S.: If you don't have an idea about my problem but you
    know a guy who might be know sth about it, please
    contact me. Althoug if my question is not clear
    enough, please contact me, because it is very
    important for me.
    Thanks a lot!
    Message was edited by:
    BenSp

    Hi all,
    Sorry to disturb but I really need help on this, has anybody deployed BPEL portlets 10.1.3 or has anybody developed a portlet with the 10.1.3 workflow services API on Oracle Portal?
    All help will be appreciated.. Thanks in advance..
    Serkan

  • How to display retrieved data from DB on web page

    Dear all,
    how to display retrieved data from oracle database on web page,Does anyone can give me an simple example?
    thanks
    WJ

    Hi,
    I use JRun tags but you can use Oracle tags or just JDBC... First u need to install jdbs connection and set e connection by using JMC (For JRun) named nomad.
    U can also try the link below for JRun tags..
    http://wds.its.uiowa.edu/cache/docs/jrun/html/JRun_Custom_Tag_Library/contents.htm
    <%@ page import="java.sql.*,javax.sql.*,java.text.*,allaire.taglib.*" %>
    <%@ taglib uri="jruntags" prefix="jrun" %>
    <%@ page contentType="text/html; charset=ISO-8859-9" %>
    <html>
    <head>
    <title> Test Page </title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9">
    </head>
    <body>
    <BODY BGCOLOR="#FFFFFF" LEFTMARGIN=15 TOPMARGIN=20 >
    <jrun:sql datasrc="nomad" id="q1">
    select empno,
         ename
    from emp
    order by ename
    </jrun:sql>
    <center>
    <table border = 0 cellpadding = 3 cellspacing = 1>
         <th>EmployeeNo</th><th>Name</th>
    <jrun:param id="q1" type="QueryTable"/>
    <jrun:foreach group="<%= q1 %>">
                   <tr>
                   <td> <%= q1.get(1) %> </td>
                   <td> <%= q1.get(2) %> </td>
                   </tr>
    </jrun:foreach>
    </table>
    </center>
    </body>
    </html>
    ----------------------

  • Blob type parameter in procedure for display issue. Oracle portal bug?

    Hi Guy,
    I am not sure this is a bug or not for oracle portal.
    I have a table that have a column type as blob.
    by oracle portal10g, this column should be display as Item Type Upload (Binary) at Item Level Options.
    We can create a form to display this file and modify it.
    However, It can not to use a procedure with a blob column to create the same form as above. we can not find Item Type as Upload (Binary) in form. if we choose text area.
    We will get a error "ORA-01403: no data found (WWV-11230)"
    We find this issue during convert clob column to blob type in procedure for a form using.
    This is a simple procedure.
    See below source codes:
    Thanks for any help.
    create or replace Procedure test_file
    (     p_DOCUMENT_ID      IN OUT file.DOCUMENT_ID%type,
         p_USER_ID           out file.USER_ID%type,
         p_DOCUMENT_NAME out file.DOCUMENT_NAME%type,
         p_DOCUMENT      out      blob,
         p_CREATED_BY           out file.CREATED_BY%type,
         p_CREATED_TIMESTAMP      out file.CREATED_TIMESTAM%type,
         p_UPDATED_BY           out file.UPDATED_BY%type,
         p_UPDATED_TIMESTAMP      out file.UPDATED_TIMESTAMP%type,
         p_DOCUMENT_DESC      out file.DOCUMENT_DESC%type) as
    L_DOCUMENT BLOB;
    begin
    begin
    SELECT USER_ID , DOCUMENT_NAME,DOCUMENT, DOCUMENT_MIME, CREATED_BY, CREATED_TIMESTAMP,
         UPDATED_BY , UPDATED_TIMESTAMP, DOCUMENT_DESC
    INTO p_USER_ID , p_DOCUMENT_NAME,L_DOCUMENT, p_DOCUMENT_MIME, p_CREATED_BY, p_CREATED_TIMESTAMP,
         p_UPDATED_BY , p_UPDATED_TIMESTAMP, p_DOCUMENT_DESC
    FROM file
    WHERE DOCUMENT_ID = p_DOCUMENT_ID;
    exception
    when NO_DATA_FOUND then
    null;
    end;
         p_DOCUMENT :=L_DOCUMENT;
    exception
    when others then
    null;
    end;

    Hi,
    I have created a vo with transient attributes and attached the vo to the am.
    But when I am trying to insert the row from my collection, it is giving me '
    oracle.jbo.NoDefException: JBO-25058: Definition of resField of type Attribute not found in ResVO
    But I have the transient attribute resField in my ResVO and I attached the same to AM also
    I am trying to get the VO in my controller like the below:
    OAViewObject resvo = (OAViewObject) am.findViewObject("ResVO");
    if(vo==null)
    resvo = am.createViewObject("ResVO","xxcust.oracle.apps.xxcust.server.ResVO");
    if(vo!= null)
    resvo.executeQuery();
    //Creating and inserting values into the vo
    Row row = resvo.createRow();
    resvo.insertRow(row);
    row.setAttribute("resField", "AB");
    row.setAttribute("Value", "CD");
    row.setAttribute("Desc", "Test");
    When I am running my page, I am getting the
    oracle.jbo.NoDefException: JBO-25058: Definition of resField of type Attribute not found in ResVO
    I checked the spelling and the attribute name is correct.
    Is it the problem with VO having all the transient attributes or am I missing something?
    I appreciate your help...

  • Upload and displaying document file and image file with oracle portal

    Dear All,
    Could anyone please tell me how to displaying document file and image file that I've stored to database (8.1.7) using oracle portal. (I use intermedia data type).
    I've tried to follow the instruction given by Oracle LiveDemo, but it came with failure. (the image or document won't show up).
    Thanks for support.
    Moza

    Please repost this question in the appropriate section of the Discussion Forum.
    This forum is for general suggestions and feedback about the OTN site. For technical question about an Oracle product,
    For customers with paid support (Metalink) please go to:
    http://www.oracle.com/support/metalink

  • Strange scenario,Oracle can not display the data in mysql correctly

    I use Heterogeneous Service+ODBC to achieve "oracle access mysql"(any other method?),and now i find Oracle can not display the data in mysql correctly:
    -------mysql------------
    mysql> create table tst(id int,name varchar(10));
    Query OK, 0 rows affected (0.00 sec)
    mysql> insert into tst values(1,'a');
    Query OK, 1 row affected (0.00 sec)
    mysql> select * from tst;
    ------------+
    | id | name |
    ------------+
    | 1 | a |
    ------------+
    1 row in set (0.00 sec)
    mysql> show create table tst\G
    *************************** 1. row ***************************
    Table: tst
    Create Table: CREATE TABLE `tst` (
    `id` int(11) DEFAULT NULL,
    `name` varchar(10) DEFAULT NULL
    ) ENGINE=MyISAM DEFAULT CHARSET=utf8
    1 row in set (0.00 sec)
    -------------oracle ------------------
    SQL> select count(*) from "tst"@mysql;
    COUNT(*)
    49
    SQL> select * from "tst"@mysql;
    id
    1
    SQL> desc "tst"@mysql;
    Name Null? Type
    id NUMBER(10)

    You can make the following query on the result page:
    "select * from the_table where movietitle = ? and cinema = ?"
    then you set movietitle and cinema to those which the user selected. If the resultset contains more than 0 rows, that means the movie is available.
    Below is the sample code, it assumes you have a connection to the database:
    PreparedStatement stat = myConnection.prepareStatement("select * from the_table where movietitle = ? and cinema = ?");
    stat.setString(1, usersMovieTitleSelection);
    stat.setString(2, usersCinemaSelection);
    ResultSet res = stat.executeQuery();
    if (res.next()) {
    out.print("The movie is available");
    } else {
    out.print("The movie is not available");
    }Now just add that to your JSP page. Enjoy ! =)

  • Problem Displaying data from oracle in JTable

    Please can any one help me? I have a problem displaying the data fetched from oracle database(ResultSet) in JTables. Can any one provide me with any possible way out(and any alternative).

    User,
    As suggested in the other post - Google/Books/find a mentor is the best option.

  • Walkthrough: Displaying Data from Oracle database in a Windows application.

    This article is intended to illustrate one of the most common business scenarios such as displaying data from Oracle database on a form in a Windows application using DataSet objects and .NET Framework Data Provider for Oracle.
    You can read more at http://www.c-sharpcorner.com/UploadFile/john_charles/WalkthroughDisplayingDataOracleWindowsapplication05242007142059PM/WalkthroughDisplayingDataOracleWindowsapplication.aspx
    Enjoy my article.

    hi,
    this is the code :
    public class TableBean {
    Connection con ;
    Statement ps;
    ResultSet rs;
    private List perInfoAll = new ArrayList();
    public List getperInfoAll() {
    int i = 0;
    try
    con = DriverManager.getConnection("url","root","root");
    ps = con.createStatement();
    rs = ps.executeQuery("select * from user");
    while(rs.next()){
    System.out.println(rs.getString(1));
    perInfoAll.add(i,new perInfo(rs.getString(1),rs.getString(2),rs.getString(3)));
    i++;
    catch (Exception e)
    System.out.println("Error Data : " + e.getMessage());
    return perInfoAll;
    public class perInfo {
    String uname;
    String firstName;
    String lastName;
    public perInfo(String firstName,String lastName,String uname) {
    this.uname = uname;
    this.firstName = firstName;
    this.lastName = lastName;
    public String getUname() {
    return uname;
    public String getFirstName() {
    return firstName;
    public String getLastName() {
    return lastName;
    ADF table code:
    <af:table value="#{tableBean.perInfoAll}" var="row"
    binding="#{backing_Display.table1}" id="table1">
    <af:column sortable="false" headerText=""
    align="start">
    <af:outputText value="#{row.firstName"/>//---> Jdeveloper 11g doesn't allow me to use this.. it says firstName is an unknown property..
    </af:column>
    </af:table>
    Please tell me is this the way to do it.. or is it a must to use the DataCollection from the data controls panel...
    Thanks...

  • Replicate the data from oracle to sybase

    Hi, I have to replicate the data of some of the tables from Oracle 10g to Sybase.
    Here the data from the table is live data (OLTP).
    Is there any process like materalized view so that data is refreshed from Oracle to Sybase periodically.
    Please let me know the Process for the same.

    Hello,
    as a starter you may want to read the following Metalink note:
    Note 283700.1: How to replicate Data between Oracle and a Foreign Datasource
    Please let me know whether this is helpful.
    Best regards
    Wolfgang Kobarg-Sachsse

  • Open sybase data base in oracle form

    How can I Open sybase data base in oracle form ?

    Its not possible to do it directly but you can do it by installing a Transparent Gateway in your Oracle database. You would then connect to the Oracle database and it would route the table references to the Sybase DB with the help of the gateway. You wouldn't be able to utilize all the functionality of the Sybase DB, only the ones exposed by the gateway.

  • Migrating selected data from Sybase 11 to Oracle 8i

    We have an application re-written using an Oracle 8i backend and we need to migrate data from Sybase 11.9.2 to Oracle 8i. No triggers or procedures to migrate, and not all the tables or even all the rows in the tables. I have read a lot of posts on this and am not sure if the Workbench or Heterogenous services is the best tool/method. For bulk migration it seems the Workbench might work if we create a view and bcp just the view data in comma delimited then use the SQL Loader to move it to Oracle. As a side question when bcping the view do we want to terminate each line with cr/lf or no line termination. Alternatively, could we use the hetergenous services and some perl scripts to accomplish the same thing using copy and select and throttle it some running in batches?
    Lastly, if we'd also like to possibly access the old Sybase data does the new client app need specific coding to utilize this service? Do the two db's need to be the same schema or identical to utilize this product?
    Thnks - bc

    Sandeep,
    Have you used this user which holds the omwb repository before for a migration? When you connected the first itme, did you get a message, that the repository tables did not exist and would you like to create them?
    Are you using the connected or disconnected source model load?
    Donal

  • Can Oracle Portal read data from an access DB and loaded it an Oracle DB?

    Hi All.
    Does Oracle Portal provides a portlet to read data from an access db so that i can transfer it to my Oracle DB?.
    I believe Application Express does that .... Any portlet maybe ...?
    Regards, Luis ...!

    There are portlets that read from a DB to make reports, you can try to create a form portlet so you can make inputs to the database, no buil-in like you wish, has to be done manually.
    greetings.

  • Migration of data from Oracle to Sybase ASIQ

    Hello !
    I want to know , if there is any way to migrate the database from oracle 8i to sybase ASIQ ( Adaptive Server IQ 12.4). The database has 14 tables in which some tables have more than 3 lakh records. I have tried to convert the tables into tab delimited text files ( by using ADO Explorer software) and then load data in ASIQ ( Adaptive Server IQ 12.4) from these flat files. The process is working fine with tables which have less data. But for large tables ( with 3 lakh records) the ADO explorer hangs in between conversion. Is there any tool in Oracle which can migrate data from tables to tab delimited text files ?
    or is there any tool which can directly migrate data from oracle 8i to Sybase ASIQ directly ?

    Can you use Sybase Component Integration Services (CIS). Can you create the Oracle database as a remote database and then do selects against the Oracle tables directly into the Sybase tables. I am not sure if this is available in IQ server. If not then if you have a regular Sybase server could you do it through there somehow and then move the database from Sybase to IQ.
    Frank...

Maybe you are looking for