Hiding Some DataBase Objects

i want a way or a product that can hide
packages body
specific Tables
,function and procedure
from being viewed,Altered  by /,System or sys
i will give this privileges to other users temporary and i will back again , it is just a while  
i hope you help me , Thanks @All

Taking a step back my POV would is  . . .
Trusting your OS users that can control the database (SysAdmins and DBAs) would be a vetting process outside of any software.
Use business policies such as Separation of Duties (SOD) so that only proper individual can modify ODV is a requirement.
SOD should supply you with one form of checks and balances.
ODV can and does supply methods to restrict and separate duties.
My previous implementation of ODV was able to restrict DBA access to what is necessary to do their job and only their job.
No access to schema data or code.
You can always define your own roles to accomplish SOD within the database.
FYI: Oracle Database 12c has a better SOD with additional granular roles of that breaks up SYSDBA privileges.

Similar Messages

  • Export database objects in Version 3.0

    I'm fairly new to APEX and I need to export some database objects along with my application. I currently have an application on Oracle's site and I need it (along with database tables and sequences) exported to a server that we have onsite. While I can see how to export the application, I'm having trouble understanding how to export my database tables (both structure and data) and sequences. Can somebody point me in the right direction?
    Thanks,
    Brian

    Brian,
    You can navigate to Home>Utilities>Data Load/Unload>Unload to dump (unload) tables to files in text or xml format. You can go to Home>Utilities>Generate DDL to generate DDL for database objects in your schema.
    Scott

  • How to get the List of Database Objects (Table/View) for a given APEX Page.

    Hi,
    I have an application and that consist of pages like page1,2,3,.....
    *1.* I want a report which can give me the list of all the Pages1,2,3,....
    I am using the following query to acheive this.... THIS IS FINE..
    select a.workspace, a.owner, a.application_name, b.page_id, b.page_name
      from apex_applications a,
           apex_application_pages b
    where a.workspace = b.workspace
       and a.application_id = b.application_id*2. Now, I want for each individual page*, the list all the database objects (tables/views), which that page is using.
    I am using ALL_DEPENDENCIES , but I am not getting the result.
    So, want to know if there any view/table, where I can get the Application Pages & there database object list...
    Thanks,
    Deepak

    Hari,
    Thanks for the response.
    The view APEX_APPLICATION_PAGE_DB_ITEMS will only give me the table name related to any Page Items defined to that page..It will not give me all the database objects..
    suppose we have a Page, having a report based on multiple tables and there is no Page items defined on that page, we will not have any value in this ....DB_ITEMS table. same thing if we have define some PL|SQL(using some table/view) in a Process, that will not be populated in .....DB_ITEMS table. I want some thing like all the database objects (table/views/function/procedure/.....) for a particular Page ID.
    Thanks,
    Deepak

  • Find Database Object gives error message in 3.2.20.09.87

    Since updating to SQL Developer 3.2.20.09.87 I've been getting error messages when running Find Database Object. The message on the logging page is: ORA-00942: table or view does not exist
    Followed by:
    select null name, -1 LINE, -1 COL, null USAGE,
    case when obj.object_type like 'JAVA%' then 'JAVA' else obj.object_type end TYPE,
    OWNER, case when obj.object_type like 'JAVA%' then 'JAVA' else obj.object_type end OBJECT_TYPE,
    obj.OBJECT_NAME
    from sys.dba_objects obj where rownum <= 500 and obj.object_type != 'TABLE PARTITION' and obj.object_type != 'TABLE SUBPARTITION' and obj.object_type != 'JAVA CLASS' and object_name like ?
    union all
    select null name, -1 LINE, -1 COL, null USAGE,
    'MATERIALIZED VIEW LOG' TYPE, log_owner OWNER,
    'MATERIALIZED VIEW LOG' OBJECT_TYPE, master OBJECT_NAME
    from all_snapshot_logs where master like ?
    union
    select null name, -1 LINE, -1 COL, null USAGE,
    'DATABASE LINK' TYPE, owner OWNER,
    'DATABASE LINK' OBJECT_TYPE, db_link OBJECT_NAME
    from all_db_links where rownum <= 500 and db_link like ?
    union all
    select c.column_name name, -1 LINE, -1 COL, null USAGE, o.object_type TYPE, c.OWNER, o.object_type OBJECT_TYPE, c.table_NAME OBJECT_NAME
    from sys.all_tab_columns c, all_objects o
    where c.table_name=o.object_name and c.owner = o.owner and rownum <= 500 and c.column_name like ?
    union all
    select name, LINE, COL, USAGE, TYPE, OWNER, OBJECT_TYPE, OBJECT_NAME
    from sys.all_identifiers where rownum <= 500 and name like ?
    My database version is: 10.2.0.4.0
    I'm grateful that SQL Developer peacefully coexists with earlier versions.
    Anything I can do?
    Thanks.

    Hi,
    I cannot seem to find a bug or forum reference for this issue at the moment, but I recall there was some problem on 10g connections where SQL Developer thinks you have DBA view privileges even when you don't. So, on 11g, a user with very basic privileges can do a Find DB Object without seeing the error you got on 10.2.0.4. On 10.2.0.x you should be able to workaround the problem if you can arrange to get grant select_catalog_role for that userid.
    Regards,
    Gary

  • Database schema SCM does not contain the associated database objects

    I am getting the following error when i am trying to migrate the form to apex using application migration.
    "*Database schema SCM does not contain the associated database objects for the project, aafs.*
    *Ensure the database schema associated with the project contains the database objects associated with the uploaded Forms Module .XML file(s).* ".
    Actully i am having one schema which i named as SCM, and i have defined one table TT.
    I created one form test.fmb in which i used TT table.its compiled successfully.
    Then i generated the xml file using frmf2xml from fmb file. After that, I created the project in appication migration wizard in SCM schema.
    Project creattion is working fine.but when i m trying to create application,it is showing me above error.
    can any one help in solving this problem.

    Hi Hilary,
    Thanks for your response/feedback.
    1. The schema associated with the project does not contain the necessary objects Can you please verify that the schema associated with your Forms conversion project does in fact contain the objects associated with the uploaded files. Could you also verify that the object names referenced in the error message do not exist within the schema associated with your workspace. Ensure that the schema associated with the project contains the necessary database objects before proceeding to the generation phase of the conversion process.
    Ans:
    Yes it does contain the objects (See results from SQL query Commands below):
    SELECT MWRA_CONTRACT_NO, OLD_CONTRACT_NO FROM PROJECTS@CONTRACT_LX19.MWRA.NET
    ORDER BY MWRA_CONTRACT_NO
    000000569 551TA
    000000570 553TA
    000000575 560TA
    000000576 561TA
    000107888 502TA
    000108498 500TA
    000108502 503TA
    2. The block being converted contains buttons, which may have been incorrectly identified as database columns, and included in the original or enhanced query associated with your block This is a known issue ,bug 9827853, and a fix will be available in our upcoming 4.0.1 patch release. Some possible solutions to this issue are:
    -> delete the buttons before generating the XML
    -> delete the button tags from the XML
    -> add "DatabaseItem=No" for the button in the XML file before importing it in Apex.The button is excluded when creating the Application.
    Ans
    yes it does contain push buttons to transfer to another forms and these are defined as Non data base items. Parial XML code provided below:
    - <Item Name="REPORTS" FontSize="900" DirtyInfo="true" Height="188" XPosition="4409" FontName="Fixedsys" ForegroundColor="black" DatabaseItem="false" Width="948" CompressionQuality="None" YPosition="3709" FontSpacing="Normal" Label="REPORTS" BackColor="canvas" FillPattern="transparent" ShowHorizontalScrollbar="false" FontWeight="Medium" ShowVerticalScrollbar="false" FontStyle="Plain" ItemType="Push Button">
    <Trigger Name="WHEN-BUTTON-PRESSED" TriggerText="GO_BLOCK('REPORT_1');" />
    </Item>
    - <Item Name="TRACKHDR" FontSize="900" DirtyInfo="true" Height="188" XPosition="3409" FontName="Fixedsys" ForegroundColor="black" DatabaseItem="false" Width="948" CompressionQuality="None" YPosition="3709" FontSpacing="Normal" Label="TRACK" BackColor="canvas" FillPattern="transparent" ShowHorizontalScrollbar="false" FontWeight="Medium" ShowVerticalScrollbar="false" FontStyle="Plain" ItemType="Push Button">
    <Trigger Name="WHEN-BUTTON-PRESSED" TriggerText="GO_BLOCK('TRACKHDRS');" />
    </Item>
    - <Item Name="SUBAWRD" FontSize="900" DirtyInfo="true" Height="188" XPosition="2429" FontName="Fixedsys" ForegroundColor="black" DatabaseItem="false" Width="948" CompressionQuality="None" YPosition="3719" FontSpacing="Normal" Label="SUBAWARDS" BackColor="canvas" FillPattern="transparent" ShowHorizontalScrollbar="false" FontWeight="Medium" ShowVerticalScrollbar="false" FontStyle="Plain" ItemType="Push Button">
    3. If you are still experiencing issues, then please create a testcase on apex.oracle.com and update this thread with the workspace details so I can take a look.
    Test case details are given below. It was created per ORACLE for open Service Request Number 3-1938902931 on ORACLE Metalink.
    Workspace: contract4
    username: [email protected] (my email)
    Password: contract4
    Comments:
    For my migration/testing purpose a dabatase link and synonyms have been setup by our ORACLE DBA. Could this be causing this problem?
    Do we know when the fix 4.0.1 patch release will be available?
    Thanks for your help.
    Indra

  • Is the only way to import large amount of data and database objects into a primary database is to shutdown the standby, turn off archive log mode, do the import, then rebuild the standby?

    I have a primary database that need to import large amount of data and database objects. 1.) Do I shutdown the standby? 2.) Turn off archive log mode? 3.) Perform the import? 4.) Rebuild the standby? or is there a better way or best practice?

    Instead of rebuilding the (whole) standby, you take an incremental (from SCN) backup from the Primary and restore it on the Standby.  That way, if, for example
    a. Only two out of 12 tablespaces are affected by the import, the incremental backup would effectively be only the blocks changed in those two tablespaces (and some other changes in system and undo) {provided that there are no other changes in the other ten tablespaces}
    b. if the size of the import is only 15% of the database, the incremental backup to restore to the standby is small
    Hemant K Chitale

  • Where is the database object administration GUI in Oracle XE 11g?

    Please read my whole question, because I'm sure people will misunderstand, and tell me to load http://localhost:8080/apex in my browser.  I know that is there.
    I am a previous user of Oracle XE 10g, but I just installed Oracle Express 11g. I only want to use it to get a local instance of Oracle database. The 10g APEX UI provided an easy way to administer database objects (users, schemas, and the like), but it appears the 11g APEX UI is some kind of weird application development environment that I don't want to use. It doesn't even seem aware of the schemas I created in the database using SQL Plus.
    So, where is the regular admin GUI for Oracle database objects like users/schemas (i.e. something that will list the schemas that exist in the database, and allow me to add or delete them)? Or does 11g force you to do that using SQL (in which case, I'm going to go back to 10g).
    Thanks,
    Jeff

    No, SQL workshop is not what I want.
    Basically, I don't want to deal with this concept of a "workspace" at all. It's useless to me and just gets in my way. All I want is a a UI where I can view a list of the schemas that exist in the database, and manipulate them easily.
    I have TOAD, so I could use that, but I liked the old 10g administration GUI, since it provided the exact functionality at the exact level of complexity that I needed.

  • JDev 10g: Problem when generating database objects from UML diagram

    Hi,
    I have noticed following problem.
    I made some business components through UML diagrammer in 9.0.3. From the diagram I generated database objects. It worked fine.
    When I doing the same thing in 10g, the generation fails on several tables with the message that the "identifier is too long".
    Looking at the SQL produced in one of the failing tables. In 9.0.3 following is produced:
    create table sfs_document_def (
    id number constraint document_definition_id_check not null,
    caption varchar2(100) constraint document_definition_caption_ch not null,
    index1 number,
    owner_type number constraint document_definition_owner_type not null
    alter table sfs_document_def add (constraint documentdefinition_primary_key primary key (id));
    And in 10g following is produced:
    create table sfs_document_def (
    id number,
    caption varchar2(100) constraint sfs_document_def_caption_check not null,
    index1 number,
    owner_type number constraint sfs_document_def_owner_type_ch not null
    alter table sfs_document_def add ( constraint documentdefinition_primary_key primary key (id));
    alter table sfs_document_def add ( constraint document_definition_id_check check ("id" is not null));
    alter table sfs_document_def add ( constraint sfs_document_def_caption_check_10 check ("caption" is not null));
    alter table sfs_document_def add ( constraint sfs_document_def_owner_type_ch_10 check ("owner_type" is not null));
    It seems that column that are set not to be null in 10 g first get a constraint creating the table and then when altering the table. Furthermore, notice that the name of the second constraint is longer than 30 chars, which is reason to the error when creating the tables.

    Thanks for reporting the issue. I have managed to reproduce your problem and logged a bug to get the problem fixed.
    Thanks,
    Lisa Sherriff
    JDev QA

  • TP4 : big instability in offline database object edition and diagraming

    I encountered a lot of problems when editing offline database objects and in database diagraming.
    Foreign keys don't appear in diagram after creating it, i'm not able to delete a broken foreign key (the ok button don't react, i can only cancel my changes).
    It is no more possible to drag and drop attribute from a table to another table (copy).

    Peter,
    Glad to see you took my advice and posted your question over here. Although I am a frequent user of the Oracle usenet groups, I have found that this is a much better place to get help with Spatial. My experiences suggest that the population of people using spatial is small--and of them the ones that really know alot are few and far between. I can only claim to be in the former group.
    As far as your problem goes--this is probably something you've already considered--is there a way to model the data such that you don't have to replicate the geometry components? Another option would be to handle the replication without using snapshots. Examples would be to export the data and then ftp/copy it to the target machines and import it. If you need real-time replication you could experiment with triggers that execute INSERTs/UPDATEs/DELETEs on the remote databases. This of course has its own issues--but you're going to end up with some sort of compromise no matter how you slice this.
    Of course you could use the relational model. I have never used it so I'm hard pressed to give any advice on it. As I posted on the usenet board, it is heading for desupport in 9i Release 2 according to the documentation available. So if you go relational you'll eventually have to migrate to object/relational. I'm not sure how automatic (or non-automatic) that process is. Hopefully someone on here will have some more concrete advice on that.
    Good luck.
    Matt.

  • SE14 - mass check for Database objects

    Dear Gurus
    We have a lot of tables, that have error/problems in check DB14->Check->Database object
    How can I find all problematic tables in single report?
    Regards
    Vladimir

    you can use report RUTDBCHK. It does the se14 functionality. Maybe debugg some and you will find the corresponding FM related, which would in turn return an error / information about the status

  • Creating OO database objects by using class diagrams in JDeveloper

    I am new to use JDeveloper. I create UML class diagrams (using Entity Object) in JDeveloper, which has inheritances and associations, and then choose Create Database Objects... try to create oo database, but it only create some tables in the database, not any object types ... .
    What do I missed? Or I have to create those oo database objects manually?
    Thanks.

    Tony,
    You can use database object types with BC4J, but only to implement BC4J domains (these can map to object types).
    For performance reasons, it is less practical to generate a table of object types for a complete EO. Most users view the BC4J layer as the 'pure' OO model, and map to a relational datamodel for optimal performance.
    Below some steps to create a DB object type for a domain:
    You can create Oracle Object Types in the database by creating a business component domain and then forward generating the database object. Forward generation of object tables from entity objects is not supported. To forward generate an Oracle Object Type from a new domain: In the System Navigator, right click on your business component package and choose Create Domain. When the Domain Wizard opens, review the information on the Welcome page and click Next. Enter a Name and Package for the domain or accept the defaults. Select the checkbox for Domain for an Oracle Object Type. Do not select any items on the Available Types list, as you are creating a new one. Enter the name of your new type in the Selected Type field. Click Next. On the Settings page, click New. Provide a name in the New Domain Attribute box. Select the appropriate Java type a[i]Long postings are being truncated to ~1 kB at this time.

  • Identifing DMLs on specific database objects in procedure.

    Hi,
    I'm looking for oracle dictionary views or oracle procedure to identify which DML operations exist in a specific stored procedure. For example,
    create or replace procedure test_proc as
    i integer;
    begin
    select count(*) into i from test_table;
    end;
    I want to identify which DML operation exist on which database object in this test_proc procedure. The answer should be such as, TEST_TABLE ------> SELECT.
    How I can solve this problem?
    Thanks.

    Tahnx Karthick, for response.
    Yes, I can identify objects used in procedure (from DBA_DEPENDENCIES) but actual matter is identifing whitch dml operation will be done on this objects. I wrote an procedure, witch can show object name and dml name on this object. But my procedure is working with strings (read from DBA_SOURCE), so if there is any variable witch has same name with any table used in procedure, output will be wrong. And there is some applications witch can show object name and DML name on this this object used in a procedure. I am searching how they can achive it. If there is any data dictionary view stores this information?
    Thanks

  • Tutorial on using a non-database object with ADF?

    I'm just starting with ADF and could use some advice. I'm making my way through the first ADF 11g tutorial ("Developing Rich Web Applications with Oracle ADF") and just want to make sure I'm headed in the right direction.
    While the tutorial is an excellent step-by-step explanation of how to bind database information to forms, I'm trying to figure out how to create an ADF web page that gets its fields created from an object (e.g. Java POJO). Is there a tutorial on this (Java object vs database object form creation)?
    Thanks

    Hi,
    See if the below link helps:
    http://technology.amis.nl/blog/3802/adf-11g-model-driven-display-properties-in-pojo-based-data-controls
    Sireesha

  • Re: JDeveloper not showing database objects in"Oracle Applications"Adapter?

    Hi
    I am trying to create a BPEL process through JDeveloper10.1.3.4 and using a Oracle Application Service. When using the Adapter Configuration wizard, i am successfully able to connect to the database but when there is an option to select the inteface to the Oracle Application Data for table/views/APIs/Concurrent Programs after clicking Next
    I am getting an alert that says you are connected to 11.5.10 instance, Add the database objects.
    After clicking in Add - Oracle Aplications Module Browser comes up with Blank values and nothing works here, neither Search nor Browse and just has a cancel button.
    Please if some body has faced similar issue or has understanding on it, help me on this.
    Thanks

    You'll have better luck posting in the right forum. This one is for issues relating to Oracle's ODBC driver.
    I'm not familiar enough with JDEV to know which forum that is top of my head though.
    Greg

  • Is there any command/query/etc, which would allow to understand what database objects (for example tables) are consuming memory and how much of it?

    TimesTen Release 11.2.1.9.6 (64 bit Linux/x86_64)
    Command> dssize;
    PERM_ALLOCATED_SIZE:      51200000
      PERM_IN_USE_SIZE: 45996153
    PERM_IN_USE_HIGH_WATER:   50033464
    TEMP_ALLOCATED_SIZE:      2457600
    TEMP_IN_USE_SIZE:         19680
    TEMP_IN_USE_HIGH_WATER:   26760
    Is there any command/query/etc, which would allow to understand what database objects (for example tables) are consuming memory and how much of it?
    tried to use ttsize function, but it gives some senseless results – for example, for the biggest table, tokens, it produces following output (that this table is 90GB in size – what physically cannot be true):
    Command> call ttsize('tokens',null,null);
    < 90885669274.0000 >
    1 row found.

    Are you able to use the command line version of ttSize instead? This splits out how much space is being used by indexes (in the Temp section of the TT memory segment), which I think is being combined into one, whole figure in the procedure version of ttSize you're using. For example:
    ttSize -tbl ia my_ttdb
    Rows = 4
    Total in-line row bytes = 17524
    Total = 17524
    Command> create index i1 on ia(a);
    ttSize -tbl ia my_ttdb;
    Rows = 4
    Total in-line row bytes = 17524
    Indexes:
    Range index JSPALMER.I1 adds 5618 bytes
      Total index bytes = 5618
    Total = 23142
    Command> call ttsize ('ia',,);
    < 23142.0000000000 >
    1 row found.
    In 11.2.2 we added the procedure ttComputeTabSizes which populates system tables with detailed table size data, and was designed to be an alternative to ttSize. Unfortunately it still doesn't calculate index usage though, and it isn't in 11.2.1.

Maybe you are looking for