Pl/sql and oracle portal session

Hi all i use portal      v.10.1.2.2.0 and i would like to play with a session variable. all i do is
grant execute on wwsto_api_session to myportal from portal schema. and then i want to do
l_store := portal.wwsto_api_session.load_session (p_domain, p_sub_domain);
l_store.set_attribute ('myname', 'name');
l_store.save_session;
1) i do not know what is the p_domain, p_sub_domain
2) when i do wwsto_api_session.get_sub_domain and wwsto_api_session.get_domain i get an error.
How can i read and write to a variable session in oracle portal?
Thank you in Advance,
Antonis

Hi Antonis,
Perhaps you question is better asked in [Oracle Application Server Portal|http://forums.oracle.com/forums/forum.jspa?forumID=14] forum
Regards
Peter

Similar Messages

  • Dblink creation between sql and oracle server

    Hi dears,
    I need to create dblink between the sql and oracle server.
    (For me the requirement is sql datas need to import in oracle database).
    My questions is,
    Without installting gateway is't possibale to get the sql data in the oracle server.
    my database version is 11.2.0.3 64bit
    Kindly let me know, Waiting for your suggestsion.
    Regards
    Athish

    About the Linked Server mechanism have a look at the MS Knowledge base article:
    Article ID: 280106 - HOW TO: Set Up and Troubleshoot a Linked Server to Oracle in SQL Server
    or
    How to run a SQL Server 2005 Integration Services package as a SQL Server Agent job step Article ID : 912911
    Regarding DG4ODBC and DG4MSQL, please have a look at our Support portal and look for the gateway master note:
    Master Note for Oracle Gateway Products          [Document 1083703.1]     
    It contains generic information how to connect to the foreign database
    Document 233876.1 Options for Connecting to Foreign Data Stores and Non-Oracle Databases - For example - DB2, SQL*Server, Sybase, Informix, Teradata, MySQL
    as well as the functional differences between the Database Gateway for ODBC (Generic Connectivity) and MS SQL Server
    Document 252364.1 Functional Differences Between Generic Connectivity and Database Gateways
    Document 232482.1 Gateway and Generic Connectivity Licensing Considerations
    as well as where to find the latest release and how to install and configure them.

  • How to install Oracle9iAS and Oracle Portal

    Can anyone help me to install Oracle9iAS and Oracle Portal?
    In which order must they be installed?
    Are there important things to do before the isntalling?
    Or does anyone know where to find clear documentation for the installation?
    thanks

    Portal is installed as part of the 9iAS install.
    You can find the Installation Guide online at http://otn.oracle.com/products/ias/. Choose the Documentation tab. Select your platform (Solaris, NT, etc.), and click HTML or PDF and you'll have the docs you need for installing 9lAS and Portal with default configuration.
    For more info on custom configuring portal, go to http://technet.oracle.com/products/iportal/. There is a section on the page called Configure 9iAS Portal that has links to all the available configuration documentation.
    Best,
    Jay

  • Can We use FDM as ETL tool between SQL and Oracle

    I want to use FDM as ETL tool between SQL and Oracle. Can it be possible. I didn,t found any target adapter for oracle database.My source system is SQL and Target system is Oracle database.
    Rahul
    Edited by: user12190125 on Nov 9, 2009 4:23 AM

    Rahul,
    I believe this is possible to do, but not an easy one and there are a few considerations:
    How much data are you processing? FDM has a lot of features which support the business process. While this is great for users and audit trail etc. it slows down performance if you want to process a lot of data. It also depends on the type of mappings you use (Like mappings are slower than explicit mappings).
    How familiar are you with VBScript? There is no explicit target adapter for Oracle, but there is a data mart adapter which can be used for anything. You have to implement everything yourself though, mainly the Export and Load actions. In there you will also have to handle the the connections to the MSSQL and Oracle databases.
    Check the data mart adapter and see if you feel comfortable with defining the vb code in there. There are reasons for and against this approach. ODI would probably be the better choice unless you really need to have FDM's process support.
    Regards,
    Matt

  • Guide to differences between SQL Server Transact SQL and Oracle PL/SQL

    Does anyone know of a good book (or online guide) that has an in-depth comparison of the differences between SQL Server Transact SQL and Oracle PL/SQL? (Something more than a beginner's guide)

    Hello,
    Below links will surely be helpful
    Discontinued features in SQL 2012
    Depricated features in SQL Server 2012
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • SQL and Oracle in synchronization

    I have to synchronize for about 2 months one Oracle 9.i database and one SQL server 2000, Standard edition database, both running on Win 2K Server. Every change made on either of the databases (the best is there are only 4-5 tables reflected) has to be provided on the other side almost in real time. I choused to use SQL server as a way to do it. For Oracle I have only the ODBC connectivity (supplied for free) and I did have a lot of problems in ORA 8.1.6... Needless to say, there's no money for third party products or even new ORA transfer utility, as the 2-month are not sufficient time.
    I did set up linked servers between SQL server and Oracle and trying to make some triggers working for me, but is this the best way to do it? May be somebody has better experience...
    Any ideas will be greatly appreciated.
    Thanks,
    MJ

    Do you really like to implement a two way replication between M$ SQL and Oracle?
    Maybe you can try this using the heterogenous gateway and Oracle Advanced replication. Don't know if this could work our test environment would be ready but actually there's no time to try.
    Will keep you informed if I know more.
    In this way you don't need any third party sw and I think it could work, but never have tried it out.
    Could be an interesing challenge ;-)
    Michel

  • What is Difference between ANSI SQL and ORACLE SQL

    Hi,
    I am going to take the assesment test for ANSI SQL Programming before that i want to know any difference between ANSI SQL and ORACLE SQL?
    I am studying for SQL but the test will be ANSI SQL please let me give an idea about the both.
    Thanks
    Merina Roslin

    Basically there is syntax difference between both of them.
    Lets say i want to join two table EMP and DEPT based on DEPTNO.
    With Oracle SQL format its like this.
    select e.*
      from emp e, dept d
    where e.deptno = d.deptnoHere the joining condition goes in the WHERE clause.
    With ANSI SQL format its like this.
    select e.*
      from emp e
      join dept d
        on e.deptno = d.deptnoHere the join condition is mentioned separately and not in WHERE clause.
    Oracle supports ANSI SQL starting from 9i version.
    You can read more about the syntax difference Here

  • Uses for the Action Property with SQL and Oracle DB Adapters

    This thread is a complement to the Wiki Article
    BizTalk: Streamlining WCF SQL and Oracle Messaging-Only and Other Patterns
    The question.  In what circumstances is explicitly setting the Action value with the WCF SQL and Oracle DB bindings useful or beneficial. 
    A complimentary question.  Is it even possible to set the Action value to anything other than exactly what is required by the Message.
    I ask because of three very specific behaviors of the bindings themselves:
    The binding enforces a match between the Action and the Message, therefore...
    There is a one-to-one relationship between the Message and Action, but...
    The binding is able to correctly derive and perform the requested operation with the unspecific CompositeOperation.
    For clarity, I understand how to set the Action. I. understand what the Action represents in the SOAP scheme. I understand how Action can be used as an abstraction for SOAP operations.
    Thoughts?

    Do you have any good suggestion to learn how to use action property with SQL and Oracle DB adapters?  I learn a lot from your replies for years in BizTalk forum. :)

  • About SQL and Oracle

    Hello, I was using a MySQL database and i will soon use Oracle8. I was wandering if Oracle authorize something like mysql_result... I'm looking too for simple documentation about connecting to an Oracle database from a php file using Sql. Do u know books or sites ? Tks

    user12317666 wrote:
    Does Oracle support T-SQL ? Why would Oracle support a proprietary macro-based language implementation from a competitor?
    If it is not supported in Oracle, what is the major grammer difference between T-SQL and Oracle supported SQL ? Oracle has two languages. SQL. PL/SQL.
    PL/SQL is formal declarative procedural language with object orientation programming features. It is based on the Ada language (close relative of the Pascal language).
    SQL is fully integrated with PL/SQL. Which means that you can write and mix SQL source code with PL/SQL source code and the PL/SQL compiler will figure out which is which and where to make calls to the SQL engine for executing SQL code.
    Is there any efficient way for programmer to complete T-SQL transition to Oracle SQL ? Yes. Unfortunately not the answer that you are likely hoping for.
    Forget EVERYTHING you did with T-SQL.
    There is no real comparison between the two. And not only many differences, but some fundamental and conceptual differences too.

  • Need a function name for Sql and Oracle

    Retrieving value of next line by doing opteration in previous row.

    Can you rephrase the question? Or better yet, provide an example? I'm not sure I understand what you are asking.
    My best guess is that you are looking for the analytic functions LEAD or LAG in Oracle, assuming you are on a relatively recent Oracle version. If by "SQL and Oracle" in your subject you mean "SQL Server and Oracle" (SQL is a language that all relational databases implement, SQL Server is Microsoft's relational database), I have no idea how (or if) you can do something similar with a built-in function in SQL Server. You would want to post in a SQL Server group to see how they handle that sort of thing.
    Justin

  • Tablespace size report for SQL and oracle servers

     
       Hi All
      is it possible to get tablespace size for all sql and oracle server in the form of report in SCOM.
      Regards
      Madhavi

    Oracle: Table size report of Oracle is depend on the MP which yu imported into SCOM
    SQL :
    1) Create a group which contains folowing dynamic rule
    2) Reporting workspace --> Microsoft Gneric Report --> Performace Detail
    3) in the parameter area, create a new series, add group which create in step 1) and select the rule: MSSQL XXX: Collect Database Allocated Size(MB)
    4) Run the report
    5) In the report, click actions and select "Performance details for every object"
    Roger

  • Frequently transfering databases between MS SQL and Oracle

    Hello all,
    I am looking for a solution to easily, efficiently and be able to migrate/transfer databases between MS SQL and Oracle frequently.
    I need to be able to replicate a databases on Ms SQL and Oracle for testing purposes. I will need to do this on frequent basis - almost once a week.
    Please suggest what would be the best way.
    Thanks in advance.

    Hi Justin,
    You have guessed it right to a great extend. Yes dont actually need to develop, rather need to test an application that supports SQL and Oracle databases. Now when testing the application its obviously vital to create proper systematic test data. This usually takes a lot of time and effort from the testing team/team-member. So, yes what I need to do is create the test data on one database(may it be SQL or Oracle) and migrate/transfer the data into the database on another server( ie. SQL to Oracle or Oracle to SQL).
    So,
    Are you developing a product that works against both SQL Server and Oracle and trying to synchonize development efforts?Yes, thats correct to extend, I need to test an application against both the servers, as it supports both types of databases, and try to reduce the test setup efforts (literally double the amount) that go in after manual creating same data on each type of database.
    Are you trying to replicate structural changes between systems?I am not 100% sure, what you mean by this. But whats important and enough for me is to replicate the data. It would not be a lot of work to run the scripts and create empty schema objects.
    Are you trying to replicate data changes between systems? The fact that you're only doing this weekly suggests that you're not working in a traditional replication environment.Yes, again as I mentioned above. It would be sufficient for me to just get a copy of the initial dataset. And then replicating changes to it would not be that important. However, if I can achieve a solution to this, I can by all means create a new database on the one server (SQL or Oracle) and take the data-set of the most recent/correct changes and replicate it on the other type of server as and when needed.
    No - this is not a traditional replicating environment. I say weekly, because it is usually once in a week or forthnight that someone from the team will need to spent time to manually copy the test-data onto the another type of server in order to run the same testcases on two types of servers.
    How do you handle conflicts (i.e. if I modify a row in both systems, which modification wins)? This is not really a problem in my scenario, as I only need to be able to transfer the data across to the different server and forget about the two databases actually being in-sync.
    I have also, looked at DTS for a possible solution on SQL, however it seems highly un-realistic, having to map somewhere like 250 tables from the a drop-down list, only because the two database servers use different cases to represent tables internals. So, table 'Table' in my application's SQL database is called 'TABLE' is my applications Oracle database. DTS is highly inefficient in dealing with this. Also, having 250 tables move makes this a bit of a pain.
    Thank you Justin for your response; I highly appreciate your inputs.
    Regards, Nisarg

  • Oracle portal  session and pl/sql

    Hi all i use portal v.10.1.2.2.0 and i would like to play with a session variable. all i do is
    grant execute on wwsto_api_session to myportal from portal schema. and then i want to do
    l_store := portal.wwsto_api_session.load_session (p_domain, p_sub_domain);
    l_store.set_attribute ('myname', 'name');
    l_store.save_session;
    1) i do not know what is the p_domain, p_sub_domain
    2) when i do wwsto_api_session.get_sub_domain and wwsto_api_session.get_domain i get an error.
    How can i read and write to a variable session in oracle portal? to to like java set session and get session?
    Thank you in Advance,
    Antonis

    [email protected] wrote:
    Hi all i use portal v.10.1.2.2.0 and i would like to play with a session variable. all i do is
    grant execute on wwsto_api_session to myportal from portal schema. and then i want to do
    l_store := portal.wwsto_api_session.load_session (p_domain, p_sub_domain);
    l_store.set_attribute ('myname', 'name');
    l_store.save_session;
    1) i do not know what is the p_domain, p_sub_domain
    2) when i do wwsto_api_session.get_sub_domain and wwsto_api_session.get_domain i get an error."Storage is located by the combination of the domain and subdomain parameters, and the Login session ID.
    If a session store object has not previously been created for this combination of domain, sub-domain, and session ID, then an empty session store object is created and returned. "
    How can i read and write to a variable session in oracle portal? to to like java set session and get session?Hi,
    You may want to see the wwsto_api_session here in [Portal APIs|http://www.oracle.com/technology/products/ias/portal/html/plsqldoc/pldoc1012/index.html].
    "Working with the session object
    The general procedure for working with the session object is:
    1. Load the session object, with an appropriate domain and sub-domain combination, using the load_session method.
    2. Manipulate the content of the object using the set_attribute methods, or just access its content using the get_attribute methods.
    3. Force these changes to be saved, using the save_session method.
    Typically this sequence occurs within the scope of one client routine that extracts and/or sets all of the client states. For example:
    declare
    l_store portal30.wwsto_api_session;
    l_date date;
    begin
    l_store := portal30.wwsto_api_session.load_session ('PORTAL', 'TEST');
    l_store.set_attribute ('LAST_ACCESSED', sysdate);
    l_store.set_attribute ('USERNAME', 'SMITH');
    l_store.set_attribute ('COUNRTY_CODE', 1);
    l_store.set_attribute ('LOCATION', 'US');
    l_store.set_attribute ('LAST_LOGGED_ON', sysdate);
    l_store.set_attribute_as_string
    ('OFFICE_LOCATION', 'CALIFORNIA', 'US', 'STRING');
    l_store.save_session;
    end;
    The login session that creates the session storage object is defined by wwctx_api.get_sessionid. "
    ref: wwsto_api_session for Portal 10.1.2
    then, look for the functions for getting attributes as number, varchar2, string or index, etc. in the above link.
    hope that helps!
    AMN

  • Oracle Web Center Suite and Oracle Portal

    1)What is Oracle Portal and why it is used?
    2)What is Oracle Web Center Suite and why it is used?
    3)What is the difference between Oracle Portal and Oracle Web Center Suite?

    1) Oracle Portal is the Portal product that was deployed together with the application server before weblogic server. It is still used a lot for corporate intra and extranets. It is mosly used for intranets and extranets. When you bought the licence for the application server you automaticly had the licence for Oracle Portal. That's why it is so popular.
    Oracle portal is not realy standard based. You mostly will create portlets with PL/SQL or PDK and not realy use the JSR168 standard.
    No with Oracle Portal 11g you can consume JSR168 portlets using WSRP.
    2) Oracle WebCenter suite is the next strategical choose of oracle in portal software. Webcenter is an enterprise 2.0 portal environment while oracle portal is more web 1.5 and has limited web 2.0 stuff. Oracle Portal comes with a complete UI for the user to use to create websites and groups but webcenter is more a framework to incoorporate enterprise 2.0 features into your own fusion web application. Webcenter suite comes with Webcenter spaces. THis is a complete UI to create collaborative websites.
    Webcenter framework is a powerfull framework to create complete enterprise 2.0 sites.
    3) The difference... Oracle Portal is an old product and will not be developt anymore. I've heard portal 11g will be the last version meaning support will stop at 2014. Webcenter is a new product to create state of the art enterprise 2.0 websites.
    Oracle portals is not build on standard and is not realy standardbased meaning is you develop portlets for portal you will not be able to use them in other portals.
    Webcenter on the other hand is completly standard based. It is JSR168 compliant and in the near future it will also support JSR286.
    Oracle portal is PL/SQL based while webcenter is completly java based, based upon the ADF framework from oracle.
    Because WebCenter is based upon the ADF framework you can use the complete ADF framework for your application. For example consuming webservices are very easy in webcenter. If you are using a service oriented architecture you will have lots and lots of work to integrate it with portal. With webcenter this is peace of cake.
    Hope this helps you :)
    If you have other questions, just let us know.

  • SQL+ and Oracle Text

    I have created a 250 pages Oracle portal for a corporation. The enterprise content is about 500Mb of docs, pdfs, pps. I have Oracle Text enabled via Global Settings (Oracle 10g), but during searches the results are all based on titles and keywords. No in text searching results. Can anybody give me some advice and explain me why Oracle Text feature doesn't work. The necessary table and index files are created by default or i must create them and if 'yes' where? Which are the SQL+ statements to check and utilize Oracle Text's indexes? It's all about content synchronization or not? I have met the Oracle Text dead-end, please help me.

    Hi
    Have you looked at the OracleAS Portal Configuration Guide? The latest version (10.1.4) is available from here - http://www.oracle.com/technology/documentation/appserver101202.html.
    Click View Library, then the Portals tab. The 10.1.4 and 10.1.2 versions of the Portal Configuration Guide are both available from here.
    Specificallly, see:
    - 8.1.3 Default Search Functionality (http://download-uk.oracle.com/docs/cd/B14099_19/portal.1014/b19305/cg_srch.htm#i1040939)
    - 8.3.5.1 Synchronizing Oracle Text Indexes (http://download-uk.oracle.com/docs/cd/B14099_19/portal.1014/b19305/cg_srch.htm#i1027594)
    Hope this helps
    Rosie

Maybe you are looking for

  • Advance Procurement through Sale Order

    Dear All, I required detail infromation pertaining to advance procurement of ROH items against sale order. If manual Purchase requisitions are being created by assigning sale order as account assignment, exception-20 is coming. I also like to inform

  • Need help sorting an ArrayList of strings by an in common substring

    I'm trying to sort a .csv file, which I read into an ArrayList as strings. I would like to sort by the IP address within the string. Can someone please help me figure out the best way to sort these strings by a common substring each has, which is an

  • AUC Final Capitalisation Error

    Dear Team, With reference to above mentioned subject, We have source structure in place and the same has been maintained in WBS element and Automatic settlement have been done and cost in P&L transferred to Balance sheet GL subsequently based on the

  • IPod stuck pixel problems

    Bought a new video iPod at my local Apple store, got home and notcied it had several stuck pixels (white glowing dots- mostly noticable against a black background and in a darker environment). Took it back to the Apple store, the genius tried to give

  • Without Proxies

    Hello, I'm using .NET connector to invoke SAP RFC. I want to know if is there any posibility to use it without proxies. I don't want to generate one proxy for each BAPI I need a more generic method. Any idea or information will be very wellcome. Than