Application To Have Access To 2 Different Data Sources?

Oct 25, 2010

I would like my application to have access to 2 different data sources [reached by two different database links]:

- DS_ONLINE that would be the main data source dedicated for an ONLINE access
- DS_OFFLINE, consisting of some materialized views which would refer to the objects of the DS_ONLINE data source, maintained in case of the DS_ONLINE's temporary inaccessibility A flag DS_ONLINE_ACCESS_FLAG indicating the DS_ONLINE's accessibility would be maintained.

I would like to make the choice of the current data source TRANSPARENT to my PL/SQL application [I wouldn't like the logic of determining the current data source to be embedded in my application code]. How can I do it?

I thought I could write the code as follows:

OPEN CURSOR c FOR
SELECT A, B, C FROM TABLE_SYNONYM;

Where the definition of the TABLE_SYNONYM would change in function of the DS_ONLINE_ACCESS_FLAG flag.
It could be done as DDL statement of "create or replace synonym ..." placed in a procedure dedicated to set the DS_ONLINE_ACCESS_FLAG flag...

...but I'm not sure if it is going to work and even so

View 2 Replies


ADVERTISEMENT

Application Express :: CHART SERIES - Show That If Value One Of Sources Had Fallen?

May 30, 2013

issue with my apex line chart. The scenario is as follows: have a table called revenue. revenues per year are saved in it. and revenues are generated from three sources which are also saved in the same table. I have made a line chart on it. works well.

Now I have to show that if the value of one of the sources had fallen, how must have it affected the total. I made a number field that takes an estimated change value, and build my sql query with it. it works but the problem is that it changes the non-affected source too. it must change the value of the affected source only and hence the total value.

bold or I will put it this way, how can I write a select statement for a chart series so that one of the rows value does not change and the other two change.

View 2 Replies View Related

Application Express :: How To Access Data Of All Users In A Page

Jan 23, 2013

I have installed APEX on my local machine, created a workspace, and added a few users with roles.

I am creating an application, similar to a Library app, where I have a table that stores Books information (BOOK_ID, BOOK_NAME, etc). I'd like to create another table BOOK_USER with two columns, BOOK_ID and USER_ID. BOOK_ID would refer to the BOOKS table, and I want USER_ID to refer to the table that stores user details of the workspace that I am using. The data entry would happen from a page that has two LOVs, one for book name (using BOOK_ID as the value) and another for user name (USER_ID, or whatever field APEX uses to store user's ID). Can I do that in APEX? I've found ways to access and authenticate a user for a page, but how to get data of all users in the workspace? In other words, how to get all usernames in a LOV?

View 5 Replies View Related

Application Express :: ORA-24247 / Network Access Denied By Access Control List

Apr 5, 2013

When I invoke SOAP Web-Service using APEX_WEB_SERVICE.MAKE_REQUEST, then I'm able to get response from web-service. However all German character are replaced by JUNK data. However data is coming fine when I test web-services using SOAP UI.

I tried to invoke web-service using UTL_HTTP. However when I use UTL_HTTP, then I'm getting following error.

ORA-24247: network access denied by access control list

<li> Why German characters are replaced by Junk data while invoking web-service from APEX, while it's working fine from SOAP UI

<li> When I can access web-service successfully using APEX_WEB_SERVICE, then why it's throwing ORA-24247 error when I call using UTL_HTTP?

DB: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
APEX: 4.0.2.00.07
Web-Server: EPG
SELECT * FROM NLS_DATABASE_PARAMETERS;

[code]...

View 4 Replies View Related

Application Express :: How To Build Access Control Page Download Spreadsheet Data

Jul 2, 2013

why the link provided under the How to Build an Access Control Page Download Spreadsheet Data Download the following *.csv file to your local system: In your Web browser go to:

[URL]............

returns nothing for me!

View 1 Replies View Related

Application Express :: How To Access Other Schemas In Application

Oct 11, 2012

I just installed Apex and want to create an application that accesses data in a non-Apex schema. However, when I create an application I can't see objects in other schemas. I tried specifying the schema and tablename (e.g. apps.gl_je_headers) but that didn't work. I can only see objects in the APEX schema. How do I reference other schemas when I create an application?

View 1 Replies View Related

Application Express :: Access Two Application With One Log In

Nov 19, 2012

Apex 4.1.1
Oracle 11g

I have two applications both in the same workspace. I want to log into one of them, but then have a link to a page in the second application, without having to enter a login to the second application.

Trying to follow the following from a while back, but cannot make it work in apex 4.1.1. Is it possible to access two application with one login? Both application are using the same ldap authentication.

I have both applications using the same get cookie process on page 101

{
declare
v varchar2(255) := null;
c owa_cookie.cookie;
begin
c := owa_cookie.get('LOGIN_USERNAME_COOKIE');
:P101_USERNAME := c.vals(1);
exception when others then null;
end; }

The link I use to the second application is a javascript pop window for displaying the second application and call it with the java pop up url

{
javascript:popUp('f?p=366:1:&SESSION.:::::')
}

However, it still asks me for the login to the the second application. I found other conversations that said to fill in the cookie name in the Session Cookie Attributes in Security, Authentication of the second application and entered the cookie name LOGIN_USERNAME_COOKIE here. However I still get the second application login screen now with a bunch of numbers in the username field.

What am I missing to get this to work without having to login again for the second application?

View 2 Replies View Related

Data Warehouse - How To Insert / Access Data In The Tables

May 30, 2011

I created a data warehouse in oracle 10g n with three Dimension and one cube after that it crates 4 tables . How to use an insert sql statement to insert data in those tables n how to access them.

View 7 Replies View Related

Application Express :: Cannot Access Applet

Jun 18, 2012

i've followed previous threads on this issue, but still cannot get my applet to run from apex. below is the source for my page:

<html>
<head>
<title> LAND MAP </title>
</head>
<body>
<APPLET
id="LandApplet2"
CODE="LandApplet2.class"
width="700" height="300">
[code]....

View 1 Replies View Related

Unable To Access The Selected Application

Oct 9, 2012

I trying to deploy contract management in the weblogic server 12c . using the ear file in the following location

C:Program FilesOracleContractManagement_1earexpedition.ear

When i click on next I get the series of error. Really I don't understand this What are these errors,

Unable to access the selected application.
Exception in AppMerge flows' progression
Exception in AppMerge flows' progression
Unable to resolve deadlock in factory claims
Unable to resolve deadlock in factory claims

View 2 Replies View Related

Application Express :: Unable To Start Or Access 4.2.1

Feb 4, 2013

I installed Apex 4.2.1 and now m not able to start the page .

[URL] ...
or
[URL] ....
or
[URL] ....

and only see a blank page.

View 3 Replies View Related

Application Express :: How To Access User Information

Jan 2, 2013

I am new to Oracle APEX, and have a few questions regarding the user information.

I've created a new workspace on my local APEX installation, created some users in the workspace, and divided them into roles as "Managers" and "Employees". I am the only Dev and Admin of the workspace, and the users (Managers and Employees) I have created are viewers.

I'd like to create database tables in the workspace where some field would refer to the user ID of the created user as a foreign key, and their role. Similarly, I'd like to create pages where a particular region is displayed only if the logged in user is a "Manager". How can I access the user data and the role data using SQL?

I see following tables in my workspace, so which table contains the user information:

APEX$_ACL
APEX$_WS_FILES
APEX$_WS_HISTORY
APEX$_WS_LINKS
APEX$_WS_NOTES

[Code]....

View 2 Replies View Related

Application Express :: Restricting Access To Users

Dec 22, 2012

restrict access to page or component for particular user. when that user login , restricted page should not be visible to the user..

APEX Verison :4.2

View 1 Replies View Related

ORA-00600 - Application Unable To Access Specific Table

Dec 3, 2010

Our oracle database has been running great. This past wendesday the application was unable to access a specific table. Sutting down and restarting the database seemed to have fixed the issue. Last night the database has been working since that restart on wednesday morning. Suddenly stopped working. We stopped and restarted the database again this time getting ORA-00600 error as shown below. We are able to make a connection to the database and can even access the tables in question. The application is complaining about the connection to the database. I understand that ORA-00600 is an internal error what I need to know is what the internal error code 549 actually is. I have tried googling to no avail.

SQL*Plus: Release 9.2.0.1.0 - Production on Fri Dec 3 09:47:20 2010
Copyright © 1982, 2002, Oracle Corporation. All rights reserved.

Connected.
ORA-00600: internal error code, arguments: [549], [], [], [], [], [], [], []
ORA-03113: end-of-file on communication channel
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production

C:\Documents and Settings\tieoduser>sqlplus /nolog
SQL*Plus: Release 9.2.0.1.0 - Production on Fri Dec 3 09:49:31 2010
Copyright © 1982, 2002, Oracle Corporation. All rights reserved.

SQL> connect sys/as sysdba
Enter password:
Connected to an idle instance.
SQL> startup
ORACLE instance started.
[code]....

View 2 Replies View Related

Application Express :: Access For External File In Apex Page?

May 21, 2013

How can I access this "file:///C:/Users/RI/m_1.html" external file within the apex page?

I created a page and button for link but struggling for above.

View 5 Replies View Related

Application Express :: Access Oracle EBS Environment With Developer-level?

Jan 12, 2013

how to integrate Application Express with Oracle EBS. Any companies that offer hosted EBS environment with APEX and allow developer-level access (ie database, application server, front-end responsibilities)?

View 1 Replies View Related

XML DB :: Access Data Using XMLType

Oct 2, 2013

I have the following XML structure: 

<TZR Action="Insert" OrgaT="400"> <Division id="4">  <label language="de">ok</label>   <label language="en">Live engl.</label> <Productstructure id="300" Sparte="5">  <label language="en">Live engl.</label> </Productstructure> </Division></TZR>    

 I'd like to get  4, ok, Live engl, 300, 1, Live engl.   

using XMLTYPE but how to get

id="4" or Sparte="1"   SELECT *FROM XMLTable(       '/TZR'       passing XMLType(bfilename('XML_DATA_DIR', 'xxx.xml'), nls_charset_id('AL32UTF8'))       columns Division_id       varchar2(30)       path 'Division/id'     ); Oracle 11.2.02 on Windows 2008.

View 2 Replies View Related

Application Express :: Create A Global Region In Page 0 And Then Access It From Other Pages?

Apr 26, 2013

I have a number of pages containing charts and gantts. I want the user to be able to filter the data shown in these various charts. More than that, I want the user's filters to persist between pages. So, if they select "Key project = 'Y'" on the gantt page, the gantt will filter - and if they then navigate to a report (bar chart) page, that will also be filtered for Key projects only.

To make this happen, I plan to have an identical sidebar on all these pages. This will contain maybe 8 dropdowns and tickboxes allowing the user to create or remove these filters. Eventually some users might save preferences for certain choices within these dropdowns.

Since the sidebar will almost always be identical from page to page, the smartest approach would seem to be to create one sidebar (as html region) and access that sidebar from all pages rather than copying the code from page to page. Then I thought I'd create application-level items in order to create global variables for each of the dropdowns.

My question is: is this approach possible? And can I create a "global" region in Page 0 and then access it from other pages? (This is how I thought it would work but I have tried and can't see how to do it.)

View 7 Replies View Related

Application Express Listener :: Acquiring Access Token Via Coding - Not Web Logon Screen?

Sep 20, 2013

I'm setting up APEX REST security by following the instructions from [URL]...Everything works great according to document.

I can acquire a token, then passing it in the header to get needed data from REST service. Consumer acquires an token by going on web browser to [URL]...

It will be redirected to[URL]...  asking for username and password on browser. Once entering them correctly, it will be directed to Redirect URI defined in the OAuth2 client with the token in the URL.

 My question is that is it possible to do token acquiring by coding (like in Salesforce) without going to web browser? We've tried doing that, it will stop due to redirect to sign-on. 

View 3 Replies View Related

Application Express :: Restarting APEX After Installation Configuration - Cannot Access Admin Screen?

Jul 20, 2012

I installed and configures APEX in standalone mode about 2 weeks ago and played with it for short time. Now after 2 weeks I came back to start where I left off but APex_admin page would not come up.

I did following tasks as were found on Installed Apex on Oracle 11g. But cannot access admin screen

SQL> SELECT STATUS FROM DBA_REGISTRY
2 WHERE COMP_ID = 'APEX';
STATUS
-----------
VALID
SQL> conn sys as sysdba
Enter password:

[code]...

warning me that XDB requires username password to be sent through insecure manner (Basic authetication without a secure connection

View 1 Replies View Related

ORA-24247 / Network Access Denied By Access Control List (ACL)

Dec 12, 2012

I am having oracle database version 11.2.0.3.0 standard edition, where one of my users requirement is that he wanted to send mails from oracle database but he is getting below error

ORA-24247: network access denied by access control list (ACL)
ORA-06512: at "SYS.UTL_TCP", line 17
ORA-06512: at "SYS.UTL_TCP", line 267
ORA-06512: at "SYS.UTL_SMTP", line 161
ORA-06512: at "SYS.UTL_SMTP", line 197
ORA-06512: at "HF_REPORTING.SEND_MAIL", line 12
ORA-06512: at line 18

is it possible to send mails from oracle database in STANDARD Edition?

View 1 Replies View Related

SQL & PL/SQL :: ORA-24247 / Network Access Denied By Access Control List (ACL)

Nov 15, 2011

While Running the proc,it's raising the below error.

Error report:

ORA-24247: network access denied by access control list (ACL)
ORA-06512: at "SYS.UTL_TCP", line 17
ORA-06512: at "SYS.UTL_TCP", line 246
ORA-06512: at "SYS.UTL_SMTP", line 115
ORA-06512: at "SYS.UTL_SMTP", line 138
ORA-06512: at "LISTER_SHIFT.SOLN_GENERIC_SENDMAIL", line 33
ORA-06512: at line 1

[code]....

View 12 Replies View Related

Forms :: Import Access Data To Oracle?

Jun 2, 2010

when i create db link then it show below:

SQL> conn sys as sysdba
Enter password: ********
Connected.
SQL> show user
USER is "SYS"
SQL> create database LINK orafaccess using 'ORAFACCESS';
Database link created.
SQL> desc emp@orafaccess
ERROR:
ORA-02085: database link ORAFACCESS.APEX.COM connects to HO.WORLD
SQL>

View 10 Replies View Related

Forms :: Data Field Access In Oracle

Feb 26, 2013

Is there a way to apply changes to a data field on oracle forms for specific users?

For example, I have an oracle form that applies the below masking code for a certain field called CUSTOMER_ID

IF :SYSTEM.BLOCK_STATUS = 'QUERY' THEN
SET_ITEM_PROPERTY('CUSTOMER_ID',CONCEAL_DATA,PROPERTY_TRUE);
ELSE
SET_ITEM_PROPERTY('CUSTOMER_ID',CONCEAL_DATA,PROPERTY_FALSE);
END IF;

But I only want this masking to be applicable to CERTAIN users. For example, the psuedo code would be like

IF :SYSTEM.BLOCK_STATUS = 'QUERY' and USERS_LIST = 'SUPERVISORS' THEN
SET_ITEM_PROPERTY('CUSTOMER_ID',CONCEAL_DATA,PROPERTY_TRUE);

Note that this users_list is a group of oracle database users, so I am a member of this group. Also note that this form is applied via the web via the application server.

View 1 Replies View Related

Security :: How To Get The Data Access For A Temp Table

Jul 9, 2013

How to get the data access for a temp table ?

View 5 Replies View Related

XE :: Cannot Access NLS Data Files Or Invalid Environment Specified

Jul 1, 2013

Trying to connect to XE 11.2 getting the following: 

Unable to connectSQLState=51000[Oracle][ODBC][Ora]ORA12705: Cannot access NLS data files or invalid environment specified. 

I have set the environment variables using the oracle_env.sh shell script. Trying to connect with the instant client running on Windows XP with the ODBC extensions installed. Host is X86_64 CentOS Linux

View 0 Replies View Related

SQL & PL/SQL :: Very Slow Access And Updation Of Table Data Of Another Schema

Jun 3, 2010

I am trying to access and modify data of a table of another schema which contains 80,000-90,000 records. My procedure is taking near about 30 mins to complete the operation. faster access and updation of table data.

Details:
I have two schema: TEST and PROD
I am running the below code from TEST Schema.
/* CODE START HERE*/
DECLARE
exc_bulk_errors EXCEPTION;
PRAGMA EXCEPTION_INIT (exc_bulk_errors, -24381);
v_block_count NUMBER := 1000;

[Code]....

The above code is taking near about 30mins to process.

I have also tried another approch: Creating a procedure in PROD schema to update COMPONENT_MASTER table and by calling the procedure from above code by passing component code.

/* PROCEDURE CALL FROM ABOCE CODE INTEST SCHEMA*/
PROD.PROCEDURE_TO_UPDATE(v_comp_code);

But still it is taking same time.

View 12 Replies View Related

SQL & PL/SQL :: Access Column Having Japanese Data Along With English And Chinese?

Sep 19, 2011

I have a table having data in different languages like English, Japanese and Chinese. I need to retrieve only those rows which are in Japanese. What all settings do I need to make. When am doing a normal select, rows in languages other than English are appearing as Junk data.

View 8 Replies View Related

Security :: Restricting DBA Access To All Data Of The Tables (Encryption / Others)

Nov 4, 2012

We have got a new requirement wherein, The customer wanted the DBA Vendor (US) NOT to access the confidential information (ALL Columns) in the DB tables of PRODUCTION database. This is for few applications to comply with with export control rules. The thin support by Customer DBA will be allowed to access the Data, if required .

1) Web Based Interface ?.
2) DB Encryption (But if we encrypt ALL columns Serious performance issue expected, File level will not restrict DB level access)
3) Special setting on DB (DBA to do only backup and restoration related work only - But cannot access data)
4) Standard Tools / Utilities / Others ??.

Technologies are Oracle ,SQL

View 3 Replies View Related

Can Access Extract Data From Oracle DB For Automated Upload

Dec 14, 2012

Is it possible for Access to extract data from an Oracle database and upload it directly?

Currently we have a business process where data is being extracted in scheduled queries (30+) to Excel spreadsheets, then manually edited to remove heading lines and imported to an Access database. I see an opportunity to automate a time consuming manual activity by having the Access db extract the data and directly upload it.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved