Using the ORACLE tag

Hi,
I am trying to remeber how to use PL/SQL code using the <ORACLE> tag in some of the pre-defined portlets.
Please HELP!
I tried to use this in HTML portlet
<ORACLE>
execute schema.some_procedure;
</ORACLE>
... and it didnt work.
Thanx for any advice.
Petr

Petr,
I'm not sure why the HTML portlet doesn't display but I was able to display using an unstructured UI template.
for e.g
<oracle>
declare
enduser varchar2(20);
begin
enduser:=portal.wwctx_api.get_user;
htp.p(enduser);
end;
</oracle>

Similar Messages

  • Using the HTML tags in Oracle Alerts

    Hi all,
    Can we use the HTML Tags in Oracle Alerts at Alert Details window in Text(D) Column?
    Please Provide solution to format the data which is sending to Mail from Oracle Alerts.

    What version of ebusiness are you running? You should be able to utilise html tags without an issue in 11i.

  • How do I use the Oracle Developer Reporting Control in Visual Basic 6.0?

    I was wondering how to use the Oracle Developer Reporting Control componant in Visual Basic 6.0 to generate reports in Oracle Reports? Any help would be appreciated.

    Hi Rohit,
    Would like to ask you some questions about the oracle report with Visual Basic.
    1. I have a report built in oracle report. Currently there is a Visual Basic program want to pass some parameter to this report. Can Visual Basic program pass the parameter to this oracel report?
    2. Based on yr answer, do i have to installed the oracle report? or just copy and register the Rwsxa60.ocx (i'm using oracle report 6i) in the PC? So can i use this activeX control.
    3. Is this activeX control similar to Crystal report object which can found in VB?
    4. Is there an example/guide on how the Visual Basic pass the parameter to oracel form?
    Your answer will be much appreciated.
    Thanks.
    Regards,
    Hock Leong

  • Error Connecting to database URL jdbc:oracle:oci:@rmsdbtst as user rms13 java.lang.Exception:UnsatisfiedLinkError encountered when using the Oracle driver

    Trying to Install RMS application 13.2.2 and I get past the pre-installation checks and when I get to the Data Source details and enter the data source details with the check box checked to validate the schema/Test Data Source I get the following error:
    Error Connecting to database URL jdbc:oracle:oci:@rmsdbtst as user rms13 java.lang.Exception:UnsatisfiedLinkError encountered when using the Oracle driver. Please check that the library path is set up properly or switch to the JDBC thin client oracle/jdbc/driver/T2CConnection.getLibraryVersioNumber()
    Checks performed:
    RMS Application code location and directory contents:
    [oracle@test-rms-app application]$ pwd
    /binary_files/STAGING_DIR/rms/application
    [oracle@test-rms-app application]$ ls -ltr
    total 144
    -rw-r--r-- 1 oracle oinstall   272 Dec 7  2010 version.properties
    -rw-r--r-- 1 oracle oinstall   405 Jan 16 2011 expected-object-counts.properties
    -rw-r--r-- 1 oracle oinstall   892 May 13 2011 ant.install.properties.sample
    -rw-r--r-- 1 oracle oinstall 64004 Jun  6  2011 build.xml
    drwxr-xr-x 9 oracle oinstall  4096 Jun 16 2011 rms13
    drwxr-xr-x 3 oracle oinstall  4096 Jun 16 2011 installer-resources
    drwxr-xr-x 3 oracle oinstall  4096 Jun 16 2011 antinstall
    drwxr-xr-x 2 oracle oinstall  4096 Jun 16 2011 ant-ext
    drwxr-xr-x 5 oracle oinstall  4096 Jun 16 2011 ant
    -rw-r--r-- 1 oracle oinstall 11324 Dec 18 09:18 antinstall-config.xml.ORIG
    -rwxr-xr-x 1 oracle oinstall  4249 Dec 18 10:01 install.sh
    drwxr-xr-x 4 oracle oinstall  4096 Dec 18 10:06 common
    -rw-r--r-- 1 oracle oinstall 16244 Dec 19 10:37 antinstall-config.xml
    -rw-r--r-- 1 oracle oinstall   689 Dec 19 10:37 ant.install.log
    [oracle@test-rms-app application]$
    Application installation:
    [oracle@test-rms-app application]$ ./install.sh
    THIS IS the driver directory
    Verified $ORACLE_SID.
    Verified SQL*Plus exists.
    Verified write permissions.
    Verified formsweb.cfg read permissions.
    Verified Registry.dat read permissions.
    Verified Java version 1.4.2.x or greater. Java version - 1.6.0
    Verified Tk2Motif.rgb settings.
    Verified frmcmp_batch.sh status.
    WARNING: Oracle Enterprise Linux not detected.  Some components may not install properly.
    Verified $DISPLAY - 172.16.129.82:0.0.
    This installer will ask for your "My Oracle Support" credentials.
    Preparing installer. This may take a few moments.
    Your internet connection type is: NONE
    Integrating My Oracle Support into the product installer workflow...
         [move] Moving 1 file to /binary_files/STAGING_DIR/rms/application
    Installer preparation complete.
    MW_HOME=/u01/app/oracle/Middleware/NewMiddleware1034
    ORACLE_HOME=/u01/app/oracle/Middleware/NewMiddleware1034/as_1
    ORACLE_INSTANCE=/u01/app/oracle/Middleware/NewMiddleware1034/asinst_1
    DOMAIN_HOME=/u01/app/oracle/Middleware/NewMiddleware1034/user_projects/domains/rmsClassDomain
    WLS_INSTANCE=WLS_FORMS
    ORACLE_SID=rmsdbtst
    JAVA_HOME=/u01/app/oracle/jrockit-jdk1.6.0_45-R28.2.7-4.1.0
    Launching installer...
    To make sure I have connectivity from the app server to the database (on a database server) here are the steps followed:
    [oracle@test-rms-app application]$ tnsping rmsdbtst
    TNS Ping Utility for Linux: Version 11.1.0.7.0 - Production on 19-DEC-2013 10:41:40
    Copyright (c) 1997, 2008, Oracle.  All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = test-rms-db.vonmaur.vmc)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SID = rmsdbtst)))
    OK (0 msec)
    [oracle@test-rms-app application]$
    [oracle@test-rms-app application]$ sqlplus rms13@rmsdbtst
    SQL*Plus: Release 11.1.0.7.0 - Production on Thu Dec 19 10:46:18 2013
    Copyright (c) 1982, 2008, Oracle.  All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    [oracle@test-rms-app application]$
    [oracle@test-rms-app application]$ ping test-rms-db
    PING test-rms-db.vonmaur.vmc (192.168.1.140) 56(84) bytes of data.
    64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=1 ttl=64 time=0.599 ms
    64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=2 ttl=64 time=0.168 ms
    64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=3 ttl=64 time=0.132 ms
    64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=4 ttl=64 time=0.158 ms
    64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=5 ttl=64 time=0.135 ms
    --- test-rms-db.vonmaur.vmc ping statistics ---
    5 packets transmitted, 5 received, 0% packet loss, time 4001ms
    rtt min/avg/max/mdev = 0.132/0.238/0.599/0.181 ms
    [oracle@test-rms-app application]$
    [oracle@test-rms-app application]$ uname -a
    Linux test-rms-app.vonmaur.vmc 2.6.18-128.el5 #1 SMP Wed Jan 21 08:45:05 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
    [oracle@test-rms-app application]$
    [oracle@test-rms-app application]$ cat /etc/*-release
    Enterprise Linux Enterprise Linux Server release 5.3 (Carthage)
    Red Hat Enterprise Linux Server release 5.3 (Tikanga)
    [oracle@test-rms-app application]$
    The database is created and all the batch file scripts have been successfully deployed.  Now working on the application server.  The  Weblogic server is installed and 11g forms and reports are installed successfully.
    Any help would be helpful.
    Thanks,
    Ram.

    Please check MOS Notes:
    FAQ: RWMS 13.2 Installation and Configuration (Doc ID 1307639.1)

  • How to use the Wire-Tag in Cairngorm 3 Observer Library?

    Dear Observer-Lib coders,
    Maybe I am posting my issue into the wrong forum, see this thread:
    http://forums.adobe.com/thread/756046
    I'd like to know how to use the Wire-Tag mentioned in the Observer-Lib docu, see:
    http://sourceforge.net/adobe/cairngorm/wiki/HowToUseCairngormObserver/
    Please let me know if there is anybody who knows how to use
    this Wire-tag. A small code example would be great, too!
    Thank you,
    masu

    Ok ... I solved it!
    see this thread: http://forums.adobe.com/thread/756046

  • How to use the HTML tags in the reports.

    hi.
    can any one tell me how to use the HTML tags in the reports.
    i m using the forms 10 g rel 2 and reports 10 g rel 2 and application server 10g rel 2.

    Set the Contains HTML Tags property of an object to Yes, then the tags in the object's text (if any) will be used to format the object.

  • Insert data 32K into a column of type LONG using the oracle server side jdbc driver

    Hi,
    I need to insert data of more than 32k into a
    column of type LONG.
    I use the following code:
    String s = "larger then 32K";
    PreparedStatement pstmt = dbcon.prepareStatement(
    "INSERT INTO TEST (LO) VALUES (?)");
    pstmt.setCharacterStream(1, new StringReader(s), s.length());
    pstmt.executeUpdate();
    dbcon.commit();
    If I use the "standard" oracle thin client driver from classes_12.zip ("jdbc:oracle:thin:@kn7:1521:kn7a") every thing is working fine. But if I use the oracle server side jdbc driver ("jdbc:default:connection:") I get the exception java.sql.SQLException:
    Datasize larger then max. datasize for this type: oracle.jdbc.kprb.KprbDBStatement@50f4f46c
    even if the string s exceeds a length of 32767 bytes.
    I'm afraid it has something to do with the 32K limitation in PL/SQL but in fact we do not use any PL/SQL code in this case.
    What can we do? Using LOB's is not an option because we have client software written in 3rd party 4gl language that is unable to handle LOB's.
    Any idea would be appreciated.
    Thomas Stiegler
    null

    In rdbms 8.1.7 "relnotes" folder, there is a "Readme_JDBC.txt" file (on win nt) stating
    Known Problems/Limitations In This Release
    <entries 1 through 3 omiited for brevity >
    4. The Server-side Internal Driver has the following limitation:
    - Data access for LONG and LONG RAW types is limited to 32K of
    data.

  • Using Refcursor in Callable Statement without using the Oracle Drivers

    Hello all,
    Is there anyway to have a stored procedure (Oracle 8i) return a refcursor to my CallableStatement without using the Oracle Thin drivers (i'm now using jdbcodbc). I've tried registering my out parameter with every possible type i can think of...REF, JAVA_OBJECT, OTHER, etc. but with no luck.
    Help!!!!

    Certainly...I connect to the database using the
    jdbcodbc driver and when i execute any of the code, i
    get the following error:
    java.sql.SQLException: [Oracle][ODBC][Ora]ORA-06550:
    line 1, column 7:
    PLS-00306: wrong number or types of arguments in call
    to 'PVISUAL_GET'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    It's bombing on the line that i attempt to register
    OracleTypes.CURSOR. It works fine when i use the
    oracle thin drivers, but i want to get this puppy
    working with the JdbcOdbcDriver. Here's the code:
    CallableStatement dbCall =
    nt dbCall =
    (CallableStatement)connection.prepareCall("{ call
    PAK_VISUAL_GET.pvisual_get(?, ?, ?, ?, ?, ?) }");
    dbCall.setString(1, sessionKey);
    dbCall.setInt(2,
    l.setInt(2, Integer.parseInt(storedVizID));
    dbCall.registerOutParameter(3,
    arameter(3, OracleTypes.CURSOR);
    dbCall.registerOutParameter(4,
    arameter(4, OracleTypes.NUMBER);
    dbCall.registerOutParameter(5,
    arameter(5, OracleTypes.VARCHAR);
    dbCall.registerOutParameter(6,
    arameter(6, OracleTypes.NUMBER);
    dbCall.execute();when you don't use oracle thin driver, you cannot use the OracleTypes. but, instead use the java.sql.Types values.Replace dbCall.registerOutParameter(3, OracleTypes.CURSOR); with
    dbCall.registerOutParameter(3,java.sql.Types.OTHER). things should be fine.
    Ganesh

  • What Should I Download To Use The Oracle 9i?

    I was told that the Oracle 9i and above are free for download. I would like to use the Oracle in my personal machine.
    I went to the Oracle website and saw lots of options. I did not know which one to select to download. For example, there are many options under the Development Tools, many options under the Application Server, and many options under the Oracle Database.
    Do I have to download Development Tools, Application Server and Oracle Database? Which ones should I choose under those headings?
    I have downloaded the Oracle9i 9.2.0.3 JDBC Driver, it took only 5 minutes and I have the ojdbc14_g executable jar file.

    Go to the link shown below:
    http://otn.oracle.com/software/products/oracle9i/content.html
    and download 9.2.0.2 for your OS. For Windows XP, there are three files to download ... a total of about 1.5 gb (took over three hours to download on a high-speed cable internet connection)...
    If I remember correctly, you can also order the program on 3 CD's.
    Have fun!
    ;o)
    V.V.

  • Should I use the FLOAT tag here?

    Hello again-  Should I be using the FLOAT tag in cases where I have several vertically stacked DIVs that have the WIDTH set at 100%? Or am I just being silly in thinking I should?  Thanks in advance-

    No.
    float is something you use when you need text to flow around something. And if you're trying to do a column or an aside, you'd definitely not want it to float, unless it sits inside a larger <div> or element with text.
    Here's an example:
    .container {
              width: 960px;
              margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout */
              background-image: url("../images/bkg.png");
              -webkit-box-shadow: 0 0 20px #111;
              box-shadow: 0 0 20px #111;
              padding: 1px;
    .sidebar1 {
              float: left;
              width: 180px;
              padding-bottom: 10px;
              color: #fff;
    .content {
              padding: 10px 0;
              width: 780px;
              float: left;
    Here, you have a container and a sidebar and main content area. Both are floated left, in that they start at the left hand side of the container.
    -Mark

  • When I get a date field value using the Oracle thin (type 4) JDBC driver...

    ....in 'DD-MMM-YY' format from an Oracle 8i database and pass it in to the java.util.Date() constructor, I get a IllegalArgumentException. This error doesn't occur when I use the type 2 driver, so it is apparently a driver-specific thing. It happens on both Win32 and Linux.
    Has anyone seen this before? Is there a newer version of the Oracle thin (i.e., type 4) driver than is listed here?
    http://web77-02.us.oracle.com/software/tech/java/sqlj_jdbc/content.html
    Thanks,
    Tom
    [email protected]

    Yup, that original post didn't make much sense, did it? Let's try again.
    I've got an EJB app that runs on WebLogic 6.0 (on Solaris in production, on Win2K for development) and accesses an Oracle 8i database. This app currently uses the Oracle type 2 JDBC drivers. All is well.
    So I wanted to see how it would run on Linux. I've got a Redhat 7.1 box handy, so I installed the JDK and WL6.0 and slapped the ear file on there. Problem! Can't deploy because there are no Oracle drivers on this machine!
    Makes sense. So I started looking around, and it seems installing Oracle on a RH 7.1 box involves patching glibc and other such nastiness. So let's just try the type 4 JDBC driver - no glibc patch, no shared object libraries, just good 'ol pure Java talking to Oracle on port 1521.
    Once I had the URLs and whatnot set up, the app connected to the DB just fine, created the connection pool, read some data, etc. But when my app read a date from the DB and instantiates a new java.util.Date object, I got an IllegalArgumentException - i.e., the date can't be parsed.
    "Hmm... that's odd", I thought, so back I went to my trusty Win2K machine, modified my configuration files to use the type 4 driver and - same error! So I switched back to the type 2 driver - and everything works fine, Dates and all. Hmmm.....
    As you correctly state, that Date constructor is deprecated and I should use DateFormats and GregorianCalendars and whatnot instead.
    But has anyone seen this weird behavior before - code that works fine on a type 2 driver starts throwing exceptions when used with a type 4 driver? Anyone have any solutions?
    Thanks much,
    Tom

  • How to hide system tables when using the Oracle SQL Developer?

    Hi,
    I would like to know how can I show only the tables that I created under the Tables tree? I didnt find a way to create a separate database using the Oracle Sql Developer. I see all the tables together, and would like to differentiate between different databases.
    Can anyone explain to me how to do these things?
    Thanks,

    Hi,
    I would like to know how can I show only the tables that I created under the Tables tree? Your posting is not clear,again tell something more on tables tree,what u want to achieve with it.
    How to hide system tables when using the Oracle SQL Developer? if u connected with sys, system or user with dba role then u have a privilege to see these tables,so revoke the privilege/role from ur user to view this tables if ur connected other then sys,system,
    I didnt find a way to create a separate database using the Oracle Sql Developer. DBCA is a tool for creating the new database.
    Kuljeet

  • Can java use the Oracle user defined datatypes

    Following the code snippets from the sample applications from the Oracle 9i manual,i have coded two classes:
    java.util.Map map = (Map) conn.getTypeMap();
    map.put("camr_owner.proc_test_type",Class.forName("testType"));
    conn.setTypeMap(map);
    These three lines cause the program to choke.
    The exception thrown is :
    Exception in thread "main" java.lang.AbstractMethodError: getTypeMap.
    In one of the classes,i have a class that is exactly same as the Oracle UDT implementing the SQLData interface.
    In the other,i mean the class where i have coded the above mentioned three lines,i have a main class which tries to make a connection to the database.I am using the java thin drivers(classes12.zip in the classpath).
    Can anyone,point me what is the mistake in the lines.

    Hello "TPD"
    The fact that I'm posting this on a Java newbies forum indicates that I have NOT a smarter approach (don't even have one). I just asked this question about using Java to integrate with OpenScript because I didn't find much information online and the Oracle Support Community Forums have proven to be very helpful for me in the past, that's all. 
    It doesn't seem from your reply you were intending to help but more to discourage me and other to use the Oracle Support Community forums.
    bye
    Fede..

  • Has iTunes stopped using the iTunNORM tag?

    Recently, I was trying to figure out whether I wanted to use info generated by the replay_gain algorithm in my iTunNORM tags, so I experimented with a couple of things, and one of things I did was to remove the iTunNORM tag completely from a copy of an aac file. I then added this song to iTunes, I noticed that the file remained unchanged, the iTunNORM tag was not created ( and yes I had the Sound Check feature on)
    So then I picked a song that I had, and I generated 3 aac's from it (one where I amplified the volume, one I decreased the volume, and one with the volume unchanged), so there was no iTunNORM tag in the files, no replay_gain tags in the files. I then added these songs to iTunes, and found out that soundcheck now works without adding the itunNORM tag to aac's; that is to say, if I have Sound Check off, then the 3 test acc's will play at different levels of loudness, and if it is on then they sound to be at the same level of loudness.
    Has anyone else noticed this behaviour?
    Has iTunes stop using the iTunNORM tag?
    BTW:
    I used foobar and qtaacenc (QuickTime commandline encoder) to create the aac files.
    I did this after I had upgraded to iTunes 11, I have since downgraded to 10.7 and I have gotten the same results. I am using the 64 bit windows version of iTunes.

    Also I'm very very interested in knowing the answer to your question.
    I posted yesterday some questions (among which your question itself) here "https://discussions.apple.com/thread/4791322" but nobody answered me yet.
    Did you find out at last if iTunes 10 stopped using the iTunNorm tag and where it eventually write soundcheck info into an mp3 file?
    Thank you very much for your anser.

  • When is it a good idea, if ever, to use the font tag?

    Wonder if there is ever a need to use the <font> tag since it is deprecated in HTML 3.801.
    <font size="3" color="red">This is some text!</font>

    (sidenote: this was a trick question...it was deprecated in HTML 4.01   )
    I'm still on my first cup of coffee, but wasn't it deprecated in 4.0?
    http://www.w3.org/TR/REC-html40-971218/present/graphics.html#h-15.2.2
    http://www.w3.org/TR/REC-html40/present/graphics.html#edef-FONT
    And obsoleted in 4.01 Strict (recommended since 1999)
    http://www.w3.org/TR/html401/struct/global.html#version-info
    and obsolete in XHTML 1.01 (if not XHTML 1.0)?
    http://www.w3.org/TR/xhtml11/doctype.html#s_doctype
    Mark A. Boyd
    Keep-On-Learnin'

Maybe you are looking for

  • Can't access my accout to make changes

    I'm trying to access my account activity and to deauthorize my computers but I keep getting an error message that says I can't connect and it suggests I update my clock, which I've done. Nothing helps. When I called tech support they hung up on me! I

  • Sales Order Change history report

    Hi all, Can someone help me let me know of any standard SAP transaction to list all Sales orders with all the change history. Appreciate your help on this. Thanks and Regards, Saleem

  • 8520 sound keeps muting

    I have had my BB curve for just over a week now and on a daily basis the sound keeps going onto mute whilst still on a 'normal' profile. Changing the profile makes no difference, I have to pull the battery out. Twice now this has made me miss the mor

  • Help! Event content disappears, but still remains in Finder package

    Hi guys, I'm totally stumped here. It seems FCP 10.1.1 has some sort of bug that makes content disappear. Here is what has been happening: I upgraded back when 10.1 was released, and everything seemed fine. Around 10.1.1 I decided I wanted to move so

  • Detach dashboard widget

    Hi Guys. I am trying to follow instructions on Snow Leopard for detaching a dashboard widget to use on the desktop, to no avail. Can anyone confirm this works on 10.6.2? Thanks in advance for your help, Ross