Retrieve all the names of objects of an application in APEX 4.0 source database
HelloI completed an application developed in APEX 4.0 (Database 10g of @Oracle).
Now we need to migrate the scripts including all database objects that support the application of a scheme A scheme B.
Is there a report that I can run to the information like this:
Number of the page, the name of the database object used (including table and view sequence)
This would allow me to review each database object used in a scheme A and ensure that the same object and the data have been copied in diagram B without missing anything.
Thank you
Susanna
Hello
On APEX 4.1 there is report of database object dependencies
http://docs.Oracle.com/CD/E23903_01/doc/doc.41/e21674/bldr_app_rpt.htm#CEGGAICH
I don't know is this feature in APEX 4.0
Kind regards
Jari
http://dbswh.webhop.NET/dbswh/f?p=blog:Home:0
Tags: Database
Similar Questions
-
How to get all the names of files in the folder and move it to another folder
Hello
How to read the files in a particular directory with PL/SQL, without knowing the exact name? My application interface with another system that puts the files in a specific directory on the server. UTL_FILE method reads a file when you know the name of the file, but I don't know the name in advance. Is it possible to output the name of the file? I also used the method of Tom "http://asktom.oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:439619916584" (related to the Java stored procedure) but am getting error of procedure "ORA-00900: invalid SQL statement. Here's the code I used Tom - forums
CREATE or REPLACE AND compile java source named 'DirList '.
AS
import java. IO;
import java.sql. *;
public class DirList
{
Public Shared Sub getList (string directory)
throws SQLException
{
Path = new file (directory);
List of strings [] = path.list ();
Element string;
for (int i = 0; i < list.length; i ++)
{
item = list;
#sql {INSERT INTO DIR_LIST (FILENAME)
{VALUES (: element)};
}
}
}
/
**********************************************************************
CREATE OR REPLACE PROCEDURE get_dir_list (p_directory in VARCHAR2) AS java language
name ' DirList.getList (java.lang.String) htp.p (p_directory) ";
**********************************************************************
get_dir_list exec (' / CERT_XML');
**********************************************************************
I would like to know is there any alternative approach to retrieve all the names of the files in the folder of the server and move these files to a different folder?
Thank you
Amit BhandariHello
It is a limitation of UTL_FILE in Oracle that we can do with Java stored procedures in Oracle.
We can read the files in Server directory using the following steps:
Please follow the steps below:
1. creating a Type of Type Varchar2.
CREATE OR REPLACE TYPE file_list AS TABLE OF VARCHAR2(255);
2. next, we need create a library of Java file
CREATE OR REPLACE AND COMPILE JAVA SOURCE NAMED "ListVirtualDirectory" AS import java.io.*; import java.security.AccessControlException; import java.sql.*; import oracle.sql.driver.*; import oracle.sql.ArrayDescriptor; import oracle.sql.ARRAY; public class ListVirtualDirectory { public static ARRAY getList(String path) throws SQLException, AccessControlException { Connection conn = DriverManager.getConnection("jdbc:default:connection:"); File directory = new File(path); ArrayDescriptor arrayDescriptor = new ArrayDescriptor("FILE_LIST",conn); ARRAY listed = new ARRAY(arrayDescriptor,conn,((Object[])directory.list())); return listed; }}
The most advanced method overrides by removing information about java.properties of exception management settings. You can do this by catching the exception thrown in native mode and rethrow it or ignore it. The example it up again.
3. then, you must create a Wrapper function:
CREATE OR REPLACE FUNCTION list_files(path VARCHAR2) RETURN FILE_LIST IS LANGUAGE JAVA NAME 'ListVirtualDirectory.getList(java.lang.String) return oracle.sql.ARRAY';
4 grant permissions to the Driectory:
BEGIN DBMS_JAVA.GRANT_PERMISSION('USER_NAME' ,'SYS:java.io.FilePermission' ,'C:\JavaDev\images' ,'read'); END;
5. then you can read the contents of the directory
SELECT column_value FROM TABLE(list_files('C:\JavaDev\images'));
That displays all the files in the mentioned directory.
Thank you
Shankar -
My search engine doesn't remember all the names that I type. What can I do to make it back as if it were?
Yes, it's the Google site and this entry field uses autocomplete = off, Firefox won't store form data that you enter in this field of research.
You can use the build-in on: home page as your home page that does not have this attribute.
See for a similar case with the name and password fields.
-
Is there an automatic procedure to retrieve all the drivers on the Satellite U200?
I have re-installed XP on my Satellite U200 and lost all drivers and settings. Is there an automatic procedure to retrieve all the? I'm a bit mazed by 52 varieties of the drivers available on the support web site.
Thank you.
Alexey.
You are going to use the Toshiba Recovery CD or will allow you to install all the drivers manually.
I guess the recovery with XP CD is not available for this laptop and therefore only the manually installation is possible -
Is it possible to send several emails without all the names come in?:
Is it possible to send multiple mails without all the names come in?:
Thank you
These forums are for MS programs, and your Hotmail should ask here for the best help.Windows Live Solution Center Hotmail Forum
http://windowslivehelp.com/forums.aspx?ProductID=1 -
After updating FF later, all the names of people with disabilities &; messed usr
After update of FF to the most recent (FF21-> FF49.0.2), all the names of people with disabilities & messed usr. So when I go to any login page, ago selected from various usernames, but disabled people come. Therefore, total hassles & no use. There is no other Q & A, this could be an isolated problem. Should a safer update in the steps as 21 to 28 to 43 to 49 or what is recommended to avoid this problem?
Firefox 21-31 to memorize the connections a database file named signons.sqlite in coordination with signons3.txt . Firefox 32-49 now use logins.json in coordination with signons3.txt to store connections.
What version do you have now? If you use a newer version than Firefox 31 - Firefox 32-49 - you can try to configure Firefox to redo the conversion of signons.sqlite in logins.json as follows:
Overview
Step 1 is to change a preference, step 2 is at the exit of Firefox and hide logins.json step 3 is to try a new conversion
Toggle a preference
(1) in a new tab, type or paste Subject: config in the address bar and press enter/return. Click on the button promising to be careful.
(2) in the search above the list box, type or paste the access code and make a pause so that the list is filtered
(3) double click on the preference signon.importedFromSqlite to switch the value from true to false (after Firefox performs the conversion once again, this will be true in itself)
Hide the messed up the file logins.json
Open the settings folder (AKA Firefox profile) current Firefox help
- button '3-bar' menu > '? ' button > Troubleshooting Information
- (menu bar) Help > troubleshooting information
- type or paste everything: in the address bar and press Enter
In the first table of the page, click on the view file"" button. This should launch a new window that lists the various files and folders in Windows Explorer.
Leave this window open, switch back to Firefox and output, either:
- "3-bar" menu button > button "power".
- (menu bar) File > Exit
Break while Firefox finishing his cleaning, then rename logins.json to something like logins.old, or I guess you could remove it if it is really unnecessary.
Launch Firefox to trigger a new conversion
Launch Firefox back up again. The transformed logins with success this time?
-
The list of all the names in a NTFS folder
I want to list all points of analysis and all the names of files and folders in a folder and all the pertinent information, as junctions, link targets, ACL, attributes and dates. I just need something that works with NTFS under windows 7.
Using a computer in the Norwegian language, I want to see the 'Users' and 'Brukere.
Is there a way to do this?
Thank youThese commands will give you more if it isn't what you're after:
dir /a c:\Users
attrib c:\UsersICACLS c:\Users
Given that "c:\Brukere" is mapped to "c:\Users", you will get the same information in each case.
-
How to export all the names of files in a folder to simple text file.
Hello Expertise,
I am trying to load the names of files in the folder to a table in ODI. then load the data from there to a single table.
I am able to load the data from 100 files in a folder. using the concept of loop (used ODI gurus: SEVERAL FILES - TARGET SINGLE TABLE - SINGLE INTERFACE link to do this, but right now I need to insert the names of files manually to a table. ) My Question is "is there any jython script or procedure to load all the file names to single table with FILENAME column. ???
If it please help me do this.
Thank you
Shakur
Hi Shakur,
Yes you are right... The operating system command should be part of the automated process, I mean if you combine these file loading process (Interface, procedure, etc.) in a package of ODI, then the command BONES to get all the names of files in the FOLDER should be one of the steps in the package of ODI. For this, you can use ODI OS command component.
Kind regards
Parag
-
How can I retrieve all the values in a single query in the oracle XML
Hi all
I have xml format below, how do I retrieve all the values in a single query.
< files >
< job > MANAGER < / job >
< details >
< ename > JONES < / ename >
< sal > 2975 < / sal >
< ename > BLAKE < / ename >
< sal > 2850 < / sal >
< ename > CLARK < / ename >
< sal > 2450 < / sal >
< / details >
< / documents >
Thank you
I prefer desgin a little more sophisticated xml and wrap the details in a separate label.
Then you could something like that
1 with testdata until)
2. Select xmltype)
3'
4MANAGER
5
6
7JONES
82975
9
10
11BLAKE
122850
13
14
15CLARK
162450
17
18
19
20 ') in the form x
21 double
22)
23 select
24 j.job
25, d.ename
26, d.sal
27 of testdata
28 join
29 xmltable ("Scriptures" in passing testdata.x)
30 columns
31 job varchar2 (30) path "job."
32, details xmltype path «details»
(33) j
34 (1 = 1)
left outer join 35
36 xmltable (' details/emp' in passing j.details)
37 columns
path of varchar2 (30) 38 'ename' ename
39, path of varchar2 (30) sal "sal".
(40) d
41 * (1 = 1)
>/JOB ENAME SAL
------------------------------ ------------------------------ ----------
JONES MANAGER 2975
BLAKE MANAGER 2850
MANAGER CLARK 2450 -
Is there a way to get all the names of collection under which an entity is attributed?
Is there a way to get all the names of collection under which an entity is attributed?
Hello
For a list of the collections which make reference to a specific entity, please refer to the following API request (see documentation of swagger producer-Service-entity ):
GET /publication/ {publicationID} / {entityType} / {entityName} / {referencingEntityType}
This request has been added to the content producer DPS2015 API examples, you can now use the getReferencing()function. Please see /article/get_referencing_entity.php for the complete example.
You can download the latest examples of producer API Content DPS2015 and swagger documentation from here, all the resources are in a file single zip.
-Mike
-
Function to retrieve all the days of the previous month.
Hello
Yes, it's a monthly report, I received the task at hand.
So, all I need is every day of the previous month (even if there is no data for that day)
I was instructed to use the following code, but it does not return a value any:
-----DECLARE CURSOR CUR_LAST_DAY IS SELECT TO_CHAR (LAST_DAY (ADD_MONTHS (SYSDATE, -1) ), 'DD') FROM DUAL; VVA_LAST_DAY VARCHAR2 (2); -- VNU_JOUR NUMBER := 0; BEGIN OPEN CUR_LAST_DAY; FETCH CUR_LAST_DAY INTO VVA_LAST_DAY; CLOSE CUR_LAST_DAY; WHILE VNU_JOUR <= TO_NUMBER (VVA_LAST_DAY) - 1 LOOP VNU_JOUR := VNU_JOUR + 1; END LOOP; END; --CLOSE CUR_LAST_DAY --DEALLOCATE CUR_LAST_DAY
On the other end, I developed this code:
Which returns a null value. :(SELECT TO_CHAR(SYSDATE,'dd') FROM DUAL WHERE TO_CHAR(SYSDATE,'dd') >= to_char(to_date(to_char(ADD_MONTHS(SYSDATE, -1),'yyyy-mm')||'-01'),'yyyy-mm-dd') AND TO_CHAR(SYSDATE,'dd') < to_char(LAST_DAY(to_date(to_date(to_char(ADD_MONTHS(SYSDATE, -1),'yyyy-mm')||'-01'),'yyyy-mm-dd')));
ConcerningHello
You want to retrieve whole days of the month last query... So here's...SELECT TO_DATE(LEVEL||'-'||TO_CHAR(ADD_MONTHS(SYSDATE,-1),'MON-YY'),'DD-MON-YY') COMP_DATE, TO_CHAR(TO_DATE(LEVEL||'-'||TO_CHAR(ADD_MONTHS(SYSDATE,-1),'MON-YY'),'DD-MON-YY'),'DD') ONLY_DD, TO_CHAR(TO_DATE(LEVEL||'-'||TO_CHAR(ADD_MONTHS(SYSDATE,-1),'MON-YY'),'DD-MON-YY'),'MM') ONLY_MM, TO_CHAR(TO_DATE(LEVEL||'-'||TO_CHAR(ADD_MONTHS(SYSDATE,-1),'MON-YY'),'DD-MON-YY'),'YY') ONLY_YY FROM DUAL CONNECT BY LEVEL <= TO_NUMBER(TO_CHAR(LAST_DAY(ADD_MONTHS(SYSDATE,-1)),'DD'))
I'm not at the machine database so not tested.
But one thing do not forget that this forum only for reports, it is a separate SQL and pl/sql instance.
Function to retrieve all the days of the previous month.-Clément
Published by: Graham on April 22, 2010 22:53
Spelling error -
How to get all the names a table display
Hi all
I try to get the names of all the points of view of a table. I tried to use the user_views table, but there is no column by specifying the name of the table.
Is someone can you please tell me how I can get all the names display in a table.
Thank youYou will need to join with USER_VIEWS USER_DEPENDENCIES for the list of dependent views on a particular table.
-
The list of all the names of files in a directory
Hello everyone,
I need to write a script in PL/SQL (oracle 10g) that lists all the names of files in a specific directory on a client computer and import the files into the database (xml files). After you import the file, they must be removed.
I was looking for a solution for this because I've never met a challenge like this.
What I found was that I could use the procedure dbms_backup_restore.searchfiles of the SYS schema.
Now, I need to know how this procedure works. There is very little documentation available.
Can I give the procedure to a folder name on my customer's computer that contains xml files and let the procedure from the list of these files?
Can anyone help me please with this. I have no idea.
Thanks in advance.
Kind regards
MarianeStored procedures generally are running on the database server, so they can access only files that are visible on the database server. Unless you have a rather unconventional configuration where your server has mounted the directory of the client in question, no code that runs on the database server will be able to access the files on your client system.
Is there a client application that runs on the computer client connection to the database server? If Yes, this client application could handle some file manipulation is necessary?
Justin
-
Get the name of object fillColor?
Hello!
I know how to get the fillcolor object.
myCurrentObject.fillColor
But how do I get a custom name for this color, if it exists in the nuances? If someone has worked with this, please lend a hand!
myCurrentObject.fillColor.name // Not works
You need all the objects with color - which exists in the sample, to provide for the individual layers and assign names - names of swatches?
If I understand correctly, then:
function comparingArrays ( a, b ) { var c = 0; if ( a.length !== b.length ) return false; for ( var i = 0; i < b.length; i++ ) if ( a[i] === b[i] ) c++; if ( c === b.length ) return true; else return false; } function parseValArr (a) { var b = []; for ( var i = 0; i < a.length; i++ ) { b.push( Math.round(a[i]) ); } return b; } function getColorValues ( color ) { if ( color === undefined ) return undefined; else if ( color.typename === 'CMYKColor' ) return [ color.cyan, color.magenta, color.yellow, color.black ]; else if ( color.typename === 'RGBColor' ) return [ color.red, color.green, color.blue ]; else if ( color.typename === 'LabColor' ) return [ color.l, color.a, color.b ]; else if ( color.typename === 'SpotColor' ) return getColorValues( color.spot.color ); else if ( color.typename === 'GrayColor' ) return [ color.gray ]; } function getSwatchOfTheColor ( color ) { var s = activeDocument.swatches, i = s.length, arr = []; while ( i-- ) { if ( s[i].color.typename === color.typename ) { if ( comparingArrays( parseValArr( getColorValues(s[i].color) ) , parseValArr( getColorValues(color) ) ) ) { arr.push( s[i] ); } } } return arr; } function setAttr ( obj, options ) { if ( options ) { for ( var i in options ) { for ( var j in obj ) { if ( i === j && !(options[i] instanceof Function) ) { obj[j] = options[i]; } } } } return obj; } function createLayer ( obj, options ) { var layer = activeDocument.layers.add(); obj.moveToBeginning( layer ); setAttr( layer, options ); } function process ( objects ) { for ( var i = 0; i < objects.length; i++ ) { if ( objects[i].typename === 'GroupItem' ) { process( objects[i].pageItems ); } else { var swatchColor = getSwatchOfTheColor( objects[i].fillColor )[0]; if ( swatchColor ) createLayer( objects[i], { name: swatchColor.name } ); } } } process( selection );
-
Optimal code to retrieve all the virtual machines in a ResourcePool
Hi all
What is optimum (fastest) encode during extraction of all virtual machines in a Resource Pool?
I have this:
$myVMs = get - vm | where {$_.} ResourcePool - eq "MYRP"}
[1]
Is this actually retrieve ALL virtual machines first and then filter on the second resource pool (in which case it would be 'slow')?
I also have this:
$myRP = get-resourcepool "MYRP".
$myRP.extensiondata.vm
This generates the MoRef VM.
[2]
How do I use get - view then pull only information on those specific MoRefs and has this method might be considerably better than the get - vm method detailed above?
Notice-EEG - viewtype property VirtualMachine MoRef does not work
Kind regards
marc0
Hi Marco,.
(1) Yes, this call will be all first retrieve all virtual machines and then filter on the resource pool property.
I suggest using the following call which retrieves only the virtual machines in the desired resource pool. This will give you better performance:
$resourcePool = get-ResourcePool "MYRP".
Get-VM-location $resourcePool
# Or you can use this:
Get-VM-location "MYRP".
(2) you can use Get-View to retrieve objects by MoRef like this:
$vmViews = get-view-Id $myRP.extensiondata.vm
# If you need VM objects rather than their point of view, then you must also do the following:
$vms = $vmViews | Get-VIObjectByVIView
Kind regards
Dimitar
Maybe you are looking for
-
Satellite P200-1EE: How can I activate my Bluetooth
How can I activate my bluetooth on I don't can't find it.I have BT on the bottom of my laptop and it's also on the box, but I can't find it. Any help would be greatly appreciated.
-
Data types in the design for the producer consumer model
Is it possible for me to use any type of data in a model of design producer consumer, without specifying specific data type? what I mean is if there is a way to connect to a data type with which I can use any other type of data, not to mention that o
-
My older basic without clip continues to show "low battery" and does not take a charge. I think it might be time for a new. I liked my basic without clip very well. My only requirements are to listen to some music or an audio book during the exercis
-
Tuning FM radio shows only the odd frequency in tenths, that is, i.e.: 100.1 100.3, 100.5 and so on. Sometimes I need a station at 100.2 exactly, but I can't listen to it. What can we do? Thank you Haim
-
OK, a friend of family member is asking through me... On Win. XP
OK, so we're going here, what is happening, is that she can not do ""System Restore" in Win XP. I still give the message: «"«The Group [?]»»» a Sys. Restore power off. «"" Go to the field and turn it on»»» Well, the issue here is obvious; How?