How to create a anonymous api block in oracle RDF
Hi Experts ,
I am trying to call my anonymous code (sale order api) without creating a custom procedure in rdf , It,s showing the below error : ****Implementation restriction: ‘APPS.FND_API.G_FALSE’ cannot directly access remote package variable or cursor****
can you please advice on this ? but the same thing I can able to achieve after creating an a custom procedure
Or any other way to call my anonymous code in apps without creating a procedure
Thanks in Advance
Shagul
hi,
is there plan to come in near future .....
Similar Messages
-
How to create a new admin user in oracle 9i?.
Hi I am new to oracle. I want to set up a new database for my application.
How to create a new admin user in oracle 9i?. I would like to have a new schema. where I can create tables for my application from scratch.If I understand your question correctly:
You need to be connected to the database with the user SYS.
open a command-line session and do the following to create an Oracle user with DBA option other than SYS.
C:\>sqlplus /nolog
SQL*Plus: Release 9.2.0.1.0 - Production on Fri Oct 14 08:46:13 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> conn / as sysdba
Connected.
SQL>
SQL> create user test identified by pass;
User created.
SQL> grant create session to test;
Grant succeeded.
SQL> alter user test account unlock;
User altered.
SQL> grant dba to test with admin option;
Grant succeeded.
SQL> conn test/pass
Connected.
SQL>
SQL> sho user
USER is "TEST"
SQL>Now you have a user with username 'test' and password 'pass' with DBA role with Admin option
Tony Garabedian
From now on you can connect directly with SQL*Plus no need for comman-line. Just provide the username/password and you're logged in.
Message was edited by:
Tony Garabedian -
How to create view for xmltype table in oracle
hi:
Can some one help me how to create view for xmltype table in oracle?
XMLType do not have column
SemThank you !!
I read it and become very hard to implement what I want to do.
Can you give me example please?
My main goal to create view for xmltype table is to XQuery the XML data?
Do you have any other suggestion?
Please help
Ali_2 -
How to Create and Deploy Web Services Using Oracle 9i JDeveloper
Hi,
My Question is how to create and deploy Web Services using Oracle 9i JDeveloper.Anybody please give me a detailed Reply.Please Reply to [email protected]
Hopr to Hear From you,
Regards,
G SreekumarYou could use datasources. You should do this in your BC4J Configuration. Then when deploying your applicaiton use the command -installDataSource (from admin.jar) to create the right datasource.
You could probably use the name of your connection + "DS" so you can also use it locally in JDeveloper as JDev seesm to create this automaticly for your Connections. -
How to create a page that lists available Oracle Reports to execute?
APEX Version: 3.2.0.00.27
Database: Oracle 10g XE
Hello! I'm fairly new to APEX and adapting to the features and terminology related to this product.
I don't think this issue is unique to Oracle Reports, but rather the concept of a page that reads from table (maybe a "report?") to provide a result set of data which the user can click on a result to direct to another page.
In any case, I have a table in the database which stores all the attributes (report title, parameter names, RDF name, etc) of about 100 Oracle Reports. So far, I've successfully created an application page that features Items that are used to execute a single Oracle Report. Now, instead of creating unique individual pages for each of the 100 Oracle Reports, featuring the report's attributes (parameters, etc), what do I need to do just have one APEX page that dynamically reads from the table and builds the Region and its Items based on what's in the table? Furthermore, I would like to have an initial page that lists every report available to the user, which they can then click on the name, and then it will take them to the page that presents all the parameters needed to execute the report. How to do this? I understand there is a concept of List (under Shared Components), but it would be impractical to create a List and an entry for each report, and then branch to the parameter page...not to mention, whenever a report is added or deleted, the List would need to be updated.
Can someone give me some pointers on how to approach this? It doesn't seem all too complex, but I just don't know at this point what the most practical way of accomplishing this...not sure what kind of pages, region, items, etc to create.
Also, any reference books that you guys recommend on the ins/outs of APEX? I realize Oracle has documentation, tutorials, and OBE's on this product, but from what I've seen they aren't thorough enough in explaining what each property/attribute of the various objects that can be created in APEX.but rather the concept of a page that reads from table (maybe a "report?") to provide a result set of data which the user can click on a result to direct to another page.You are on the right track with the idea of an initial page with a report region listing your reports as links. Not sure from the provided information if this out of the box capability will meet your actual requirement, but try the Create Page wizard > New page > Form > Form on a Table with Report as a first approximation.
instead of creating unique individual pages for each of the 100 Oracle Reports, featuring the report's attributes (parameters, etc), what do I need to do just have one APEX page that dynamically reads from the table and builds the Region and its Items based on what's in the table?If this can't be handled using the built-in Form on a Table with Report design pattern, it sounds like it will be possible using a dynamic form generated using the [APEX_ITEM API|http://download.oracle.com/docs/cd/B28359_01/appdev.111/b32258/api.htm#BGBHDGAI] either as another report region or a PL/SQL Dynamic Content region.
Also, any reference books that you guys recommend on the ins/outs of APEX? [Pro Oracle Application Express|http://www.amazon.co.uk/gp/reader/159059827X/ref=sib_dp_pt#reader-link], the authors of which are active voices on this forum, is a good book. The forum itself is an unbelievable resource, as is the hosted service for learning and experiment at [apex.oracle.com|http://apex.oracle.com/i/index.html]. -
How to create an asm instance manaually? oracle 11gr2.
env: oracle 11gr2 os: hpux or aix single machine , not rac.
question:how to create an asm instance manaually?? diskgroup,listener,db ,they can be resigistered to crs??
can anyone give me document about it?Hi,
This is a simple answer:
Automatic Storage Management (ASM)
ASM was a new storage option introduced with Oracle Database 10gR1 that provides the services of a filesystem, logical volume manager, and software RAID in a platform-independent manner. ASM can stripe and mirror your disks, allow disks to be added or removed while the database is under load, and automatically balance I/O to remove "hot spots." It also supports direct and asynchronous I/O and implements the Oracle Data Manager API (simplified I/O system call interface) introduced in Oracle9i.
ASM is not a general-purpose filesystem and can be used only for Oracle data files, redo logs, and control files. Files in ASM can be created and named automatically by the database (by use of the Oracle Managed Files feature) or manually by the DBA. Because the files stored in ASM are not accessible to the operating system, the only way to perform backup and recovery operations on databases that use ASM files is through Recovery Manager (RMAN).
ASM is implemented as a separate Oracle instance that must be up if other databases are to be able to access it. Memory requirements for ASM are light: only 64 MB for most systems.
Installing ASM
On Linux platforms, ASM can use raw devices or devices managed via the ASMLib interface. Oracle recommends ASMLib over raw devices for ease-of-use and performance reasons. ASMLib 2.0 is available for free download from OTN. This section walks through the process of configuring a simple ASM instance by using ASMLib 2.0 and building a database that uses ASM for disk storage.
Determine Which Version of ASMLib You Need
ASMLib 2.0 is delivered as a set of three Linux packages:
* oracleasmlib-2.0 - the ASM libraries
* oracleasm-support-2.0 - utilities needed to administer ASMLib
* oracleasm - a kernel module for the ASM library
Each Linux distribution has its own set of ASMLib 2.0 packages, and within each distribution, each kernel version has a corresponding oracleasm package. The following paragraphs describe how to determine which set of packages you need.
First, determine which kernel you are using by logging in as root and running the following command:
uname -rm
Ex:
# uname -rm
2.6.9-22.ELsmp i686
The example shows that this is a 2.6.9-22 kernel for an SMP (multiprocessor) box using Intel i686 CPUs.
Use this information to find the correct ASMLib packages on OTN:
1. Point your Web browser to http://www.oracle.com/technology/tech/linux/asmlib/index.html
2. Select the link for your version of Linux.
3. Download the oracleasmlib and oracleasm-support packages for your version of Linux
4. Download the oracleasm package corresponding to your kernel. In the example above, the oracleasm-2.6.9-22.ELsmp-2.0.0-1.i686.rpm package was used.
Next, install the packages by executing the following command as root:
rpm -Uvh oracleasm-kernel_version-asmlib_version.cpu_type.rpm \
oracleasmlib-asmlib_version.cpu_type.rpm \
oracleasm-support-asmlib_version.cpu_type.rpm
Ex:
# rpm -Uvh \
> oracleasm-2.6.9-22.ELsmp-2.0.0-1.i686.rpm \
> oracleasmlib-2.0.1-1.i386.rpm \
> oracleasm-support-2.0.1-1.i386.rpm
Preparing... ########################################### [100%]
1:oracleasm-support ########################################### [ 33%]
2:oracleasm-2.6.9-22.ELsm########################################### [ 67%]
3:oracleasmlib ########################################### [100%]
Configuring ASMLib
Before using ASMLib, you must run a configuration script to prepare the driver. Run the following command as root, and answer the prompts as shown in the example below.
# /etc/init.d/oracleasm configure
Configuring the Oracle ASM library driver.
This will configure the on-boot properties of the Oracle ASM library
driver. The following questions will determine whether the driver is
loaded on boot and what permissions it will have. The current values
will be shown in brackets ('[]'). Hitting <ENTER> without typing an
answer will keep that current value. Ctrl-C will abort.
Default user to own the driver interface []: oracle
Default group to own the driver interface []: dba
Start Oracle ASM library driver on boot (y/n) [n]: y
Fix permissions of Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration: [ OK ]
Creating /dev/oracleasm mount point: [ OK ]
Loading module "oracleasm": [ OK ]
Mounting ASMlib driver filesystem: [ OK ]
Scanning system for ASM disks: [ OK ]
Next you tell the ASM driver which disks you want it to use. Oracle recommends that each disk contain a single partition for the entire disk. See Partitioning the Disks at the beginning of this section for an example of creating disk partitions.
You mark disks for use by ASMLib by running the following command as root:
/etc/init.d/oracleasm createdisk DISK_NAME device_name
Tip: Enter the DISK_NAME in UPPERCASE letters.
Ex:
# /etc/init.d/oracleasm createdisk VOL1 /dev/sdb1
Marking disk "/dev/sdb1" as an ASM disk: [ OK ]
# /etc/init.d/oracleasm createdisk VOL1 /dev/sdc1
Marking disk "/dev/sdc1" as an ASM disk: [ OK ]
# /etc/init.d/oracleasm createdisk VOL1 /dev/sdd1
Marking disk "/dev/sdd1" as an ASM disk: [ OK ]
Verify that ASMLib has marked the disks:
# /etc/init.d/oracleasm listdisks
VOL1
VOL2
VOL3
Create the ASM Instance
ASM runs as a separate Oracle instance which can be created and configured using the Oracle Universal Installer. Now that ASMLib is installed and the disks are marked for use, you can create an ASM instance.
Log in as oracle and start runInstaller:
$ ./runInstaller
1. Select Installation Method
* Select Advanced Installation
* Click on Next
2. Specify Inventory Directory and Credentials
* Inventory Directory: /u01/app/oracle/oraInventory
* Operating System group name: oinstall
* Click on Next
3. Select Installation Type
* Select Enterprise Edition
* Click on Next
4. Specify Home Details
* Name: OraDB10gASM
* Path: /u01/app/oracle/product/10.2.0/asm
Note:Oracle recommends using a different ORACLE_HOME for ASM than the ORACLE_HOME used for the database for ease of administration.
* Click on Next
5. Product-specific Prerequisite Checks
* If you've been following the steps in this guide, all the checks should pass without difficulty. If one or more checks fail, correct the problem before proceeding.
* Click on Next
6. Select Configuration Option
* Select Configure Automatic Storage Management (ASM)
* Enter the ASM SYS password and confirm
* Click on Next
7. Configure Automatic Storage Management
* Disk Group Name: DATA
* Redundancy
- High mirrors data twice.
- Normal mirrors data once. This is the default.
- External does not mirror data within ASM. This is typically used if an external RAID array is providing redundancy.
* Add Disks
The disks you configured for use with ASMLib are listed as Candidate Disks. Select each disk you wish to include in the disk group.
* Click on Next
8. Summary
* A summary of the products being installed is presented.
* Click on Install.
9. Execute Configuration Scripts
* At the end of the installation, a pop up window will appear indicating scripts that need to be run as root. Login as root and run the indicated scripts.
* Click on OK when finished.
10. Configuration Assistants
* The Oracle Net, Oracle Database, and iSQL*Plus configuration assistants will run automatically
11. End of Installation
* Make note of the URLs presented in the summary, and click on Exit when ready.
12. Congratulations! Your new Oracle ASM Instance is up and ready for use.
Kind regards
Mohamed -
How to Create A new Database in the oracle 10g XE
i have oracle 10g XE i tried to create a new database but its giveing me error when i execute the sql command that is create database testDatabase how to create a new database in oracle 10g XE
Hi there 785434,
(This is a generic SQL question relating to Database Triggers, please post future questions of this type into the relevant forum area.)
Moderator, please move this if able
I use Before Update and Before Delete Triggers to record a 'snapshot' of the row being changed in my applications.
Example:
CREATE TABLE TEST
DATA VARCHAR2(64 CHAR),
CREATING_USERID VARCHAR2(20 CHAR) DEFAULT user NOT NULL,
CREATED_DATE DATE NOT NULL,
CHANGED_BY_USERID VARCHAR2(20 CHAR),
CHANGED_DATE DATE
LOGGING
STORAGE
(MAXEXTENTS UNLIMITED);
CREATE TABLE TEST_HISTORY
DATA VARCHAR2(64 CHAR),
CREATING_USERID VARCHAR2(20 CHAR) DEFAULT user NOT NULL,
CREATED_DATE DATE NOT NULL,
CHANGED_BY_USERID VARCHAR2(20 CHAR),
CHANGED_DATE DATE,
CHANGE_DESCRIPTION
NOLOGGING
STORAGE
(MAXEXTENTS UNLIMITED);
CREATE OR REPLACE TRIGGER TRG_BU_TEST
BEFORE UPDATE ON TEST FOR EACH ROW
BEGIN
INSERT /*+ append */ INTO TEST_HISTORY
(DATA, CREATING_USERID, CREATED_DATE, CHANGED_BY_USERID, CHANGED_DATE, CHANGE_DESCRIPTION)
VALUES
(:old.DATA, :old.CREATING_USERID, :old.CREATED_DATE, USER, SYSDATE, 'UPDATE');
END;
CREATE OR REPLACE TRIGGER TRG_BD_TEST
BEFORE DELETE ON TEST FOR EACH ROW
BEGIN
INSERT /*+ append */ INTO TEST_HISTORY
(DATA, CREATING_USERID, CREATED_DATE, CHANGED_BY_USERID, CHANGED_DATE, CHANGE_DESCRIPTION)
VALUES
(:old.DATA, :old.CREATING_USERID, :old.CREATED_DATE, USER, SYSDATE, 'DELETE');
END;
Using triggers like this will record who made an update or delete to the database and record the row before it was changed.
Note that this method might not be suitable for very high transaction rates.
You will need to 'clear' these history tables as part of routine maintenance.
Hope that this Helps.
Ronald. -
How to create an automatically increment column in Oracle DB Table?
Hi To All
Here I am trying to create a table in Oracle that creates an automatically increment column in Oracle DB Table. i searched almost all Forums.(Even in Oracle). They are saying that, that logic u must implement in Java Code.(*Takes Maximum no from table, add +1 to it, and store it back again)*. apart from this, while creating an table in Oracle, is there any facility like MySQL Database? please help me. Thanks in advance.Hi BalusC
Thanks for Your Response and clue. with that, i succeeded in my application. Thank you very much. here i am giving you the details which i did.
1. I Created a table named orders in Oracle like this.
CREATE TABLE ORDERS (ORDER_ID NUMBER, CUSTOMER_ID NUMBER, ISBN NUMBER,
DESCRIPTION NCHAR(5));
2. I created one sequence in Oracle like CREATE SEQUENCE SEQ01 INCREMENT BY 1 START WITH 1000 3. Then i have written jdbc program like this
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
public class SequenceTest {
public static void main(String[] args)throws Exception{
try {
Class.forName("oracle.jdbc.driver.OracleDriver");
Connection con=DriverManager.getConnection("jdbc:oracle:thin:@192.168.1.135:1521:orcl","scott","tiger");
String cols[] = {"ORDER_ID", "DESCRIPTION"};
PreparedStatement pstmt = con.prepareStatement("INSERT INTO ORDERS (ORDER_ID, CUSTOMER_ID, ISBN,DESCRIPTION) VALUES (SEQ01.NEXTVAL, 104, 966431505,?)", cols);
pstmt.setString(1,"Desc3");
pstmt.executeUpdate();
ResultSet rs=pstmt.getGeneratedKeys();
System.out.println("---- One Row Inserted ----");
} catch (Exception e) {
System.out.println("---- Failed Due To "+e);
4. When i ran above program 5 times, i got the following Data into my Oracle Table (select * from orders)
ORDER_ID CUSTOMER_ID ISBN DESCR
1000 101 966431502 Desc0
1001 102 966431503 Desc1
1002 103 966431504 Desc2
1003 104 966431505 Desc3
1004 104 966431505 Desc3
1005 105 966431506 Desc4
6 rows selected.
But i dont know how to do this type of program with out using prepared statements. i tried, and i got exception *"Missing Expression"* .
Once again Thank You very much for your clue. -
How to create ready only user ID in Oracle Apps(EBS) 11i
Hi,
We have a requirement of creating a ID in Oracle Apps 11i as a ready only user.
Please suggest how to create read only user in Oracle Apps 11i ?
Regards,
chandrasekar sIs this for an application user or a database user ?
See MOS Doc 1290228.1 for application user.
This topic has been discussed many times in these forums - pl use the search feature
https://forums.oracle.com/search.jspa?view=content&resultTypes=&dateRange=all&q=read+only&rankBy=relevance&contentType=a…
HTH
Srini -
How to create a circle with blocks in it? (with Illustrator)
Hey, first post here.
I just did some tutorials on the mesh tool in Illustrator and I wondered if I can create a similar effect I had in mind. A blocked circle would be awesome, but so far it can only do gradients and not solid blocks. To illustrate my point I have a picture from what I have now:
How do I create it so the black and white areas will be solid squares within the blue lines? Thanks!1 Draw a pattern of squares or use the Object Path Split into Grid feature
2 fill with a color if you wish
3 Draw a circle over it and select all the squares and the circle
4 and go to Object>Envelope Distort>Make with Top Object
Or make your patter of squares and turn that into a symbol and map it to a 3D Effect Sphere
if you need instructions bout making a 3D sphere use the help files or I or someone else will be back. -
How to create an anonymous survey to SharePoint
Hello.
I’ve created a survey to SharePoint.
And i have a sharepoint group called "My workers" and they
should be able to respond to the survey anonymously.
Do you know how this can be done? Help would be very much appreciated
Br
/FreddieHi
The Standard survey feature can easily be bypassed. Does not build the confidence in the system
In our case, I created a separate WebApp only for Anonymous surveys and feedback sites. I extended this WebApp to a different URL and allowed anonymous login only.
So all sites can be access with two different URLs. example.
http://surveys.sharepoint.com - Claim or Windows authentication
http://anonymous.sharepoint.com - Anonymous Only. other disable.
The user who owns the site logs in using the http://surveys.sharepoint.com and create his questions
Once done, he posts the link to the site using the anonymous URL on the corporate portal.
If you want you we can even make it HTTPS so the traffic cannot be sniffed.
Regards,
Eric Boulianne -
How to create an anonymous Distribution List ?
Hi,
I have a growing distribution address list created in the Address Book. When I send that address list from Mail, all the names appear individually and everybody can see everybody's else email.
How to make it look like it comes just from me, or my distribution list name, and not make appear all the other emails?
Thanks,
JP.Hi,
Simple enough and seems to work
Thanks!
JP. -
How to create the anonymous user for FTP server in Linksys E3000?
I made a FTP server in my Linksys E3000 and everything work great. But when I send URL to my friends to download file, everyone must login
So, can I create Anonymous User (like FTP server in PC) to simplified everything ?
Thank you so much!Thank Great_White!
But i mean not that. I can create user to access my FTP server but that users must have user name and password.
I want to create Anonymous User like FTP server in Computer (no user name and password). So when i send link to my friends, they can download without login user name and password -
How to create a web api ?
helloo,
i am using javascript and html in my project and i want to create web api of this project.
Kindly suggest me what can i do.Hi,
WebAPI are pretty simple and straightforward like of that webservices and/or wcf.... but I guess you have to ask in different forum:
http://forums.asp.net/1146.aspx
And below is the link for the webAPI
http://msdn.microsoft.com/en-us/library/dn448365(v=vs.118).aspx
Please remember to mark the replies as answers if they help and unmark them if they provide no help. -
How to create Discussions Task Flow Based on Oracle Content Server
Hi,
I need to create an ADF application consisting of the following aspects:
1) Upload, Download and Share documents (I'm using Documents Services provided by WebCenter Jdeveloper Extensions)
2) Create discussion threads and forums (I'm trying to use Discussion Services provided by WebCenter Jdeveloper Extensions)
3) User should be able to do an universal search i.e search both documents and discussions forums. (I'm using Search Services provided by WebCenter Jdeveloper Extensions)
I'm using "Oracle Content Server 10g for WebCenter" to manage my documents and discussions. While logging into GUI of OCS, I'm able to create and post discussion threads.
But, I'm unable to create discussions adf task flow based on Oracle Content Server.
The demos/tutorials/dev guides provided at http://webcenter.oracle.com have only described using WLS_Services managed server which is created and setup using WC Suite 11g.
But I couldn't find any information to develop these discussion services using Jdeveloper WebCenter Extensions and Oracle Content Server.
Please let me know, if anyone has tried this or if you have any idea of how to go about it.
Thanks in Advance,
Harikiran.
Edited by: harikiran on Jul 13, 2010 3:23 PMHi.
You have official documentation introducing ADF Task Flows here: http://docs.oracle.com/cd/E23943_01/web.1111/b31974/taskflows.htm
And you have next step by step tutorials to learn how to implement Task Flows:
http://yonaweb.be/webcenter_tutorial/part_6_building_taskflow_and_consuming_it_webcenter_portal (Yannick blog post).
http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_57/jdtut_11r2_57.html (official JDev samples).
http://danielmerchanoracle.blogspot.com.es/2011/08/integrar-adf-task-flows-propios-en-una.html (My spanish blog with "how to add a Custom Task Flow into WebCenter Portal Application", 3 different and possible ways).,
Probably Yannick Blog post if you need to understand how to integrate Bounded Task Flows with WebCenter Portal's.
Regards.
Maybe you are looking for
-
Ok, so I am new to GB. When I bring up the loop browser, the loops are shaded (not there) I click on them and it says I need to download them or something, so I did that (downloaded GB update). Still I have no loops in the browser. Do loops not come
-
How to delete elements from a cluster?
Hello. I would like to know how to delete elements from a cluster. I got stuck with this problem. There is its own order of each element in a cluster. I tried to initiate an array but it seems like too complicated. In the attached file, I want to obt
-
Cannot connect to Home Hub Manager
Cannot connect since I renamed my 2.4 GHz and 5 GHz channels. I used a space and bracket which I don't think works - i.e. BTHomeHub (2.4GHz) However I cannot now access the Home Hub Manager to rename the networks. I have tried to access via: api.home
-
Finding codes on screen before booting up.
Hi guys, first time posting here because I seem to be running into an issue. Whenever I turn on my PC, I find that my pc shows a black screen with the codes 9c, 99, and a2. These codes happen to stay for a couple of seconds but I have never seen thes
-
When I have iTunes open and I connect my iPod to my Windows PC, a separate Windows Explorer (or "My Computer") window pops open showing the folders on my iPod. The drive letter is in the title bar of the window, like any other Windows Explorer window