Inference control with oracle

Hi,
I need for my master thesis a possibility to realize inference control with oracle.
For example exist an instance R like
R   |   A    B    C
    |  a1   b1   c1
    |  a2   b1   c2
and a secrecy such *(exists X) R(a1, b1, X)*. With VPD under column hiding can defined this secrecy so that the data combination *(A:a1, B:b1)* be hidden from the instance:
R   |  A    B    C
    |            c1
    |  a2  b1   c2
The Problem is that a safe query like *(exists X)(exists Y) R(a1, X, Y)* was not answered, when the user makes a query
select A from R where A=a1;
Cause this query is a safe query with respect to the secrecy, the answer must not be hidden.
Safe means
*(exists X)(exists Y) R(a1, X, Y) NOT MODELS OF (exists X) R(a1, b1, X)*.
How can I avoid this.
I tried to avoid that whit using "query rewriting" and "materialized view", but that was not successfull, because oracle doesn't rewrite the simple (without Aggregates and Joins) queries.
It will be greate when someone has an idea!
Thanks

As curious as I always am, I was able to discover my XE database from the GC 10.1.0.4 last month. I did this because I asked myself the same question. When there is time, I normally will try everything that says "Not supported" or "Not compartible" to prove it right or wrong. So give it a go, but don't post errors from it here :-). I have not tried it for GC 10.2.0.2, but it worked on 10.1.0.4 (hopefully 10.1.0.3).
Remember, XE has all the features of EE, but a cutdown version. It has an Oracle Service and a Listener on a port, so the agent will pick them up. I have tried all possible things and tools (Forms, Reports, Designer Repository, Jdeveloper, SQL Developer, ODBC, JDBC etc) on XE to break it, but it works like EE. The only difference is when you hit the max allowed 4GB (excluding 1GB system) and I proved the limit right by kicking of a data load into a table using a cursor until it hit the maximum 4GB limit error.

Similar Messages

  • Third party ocx controls with oracle 6i forms

         I would appreciate if anyone can get the solution on how to work with the ocx controls on the oracle forms.i am doing the same thing and when I embed the ocx control on the form during design time and then execute it then the ocx control is lost during run time as I have to insert the object on the oracle form during the run time again and then how do I call the functions of the ocx ?please guide me at the earliest.thank you.

    Firstly upgrade to the latest patch of 6i, early version of 6i have a bug where OCX licence information is not correctly stored with the container, so in some cases the control will not instanciate at runtime.
    To call functions in the control, the simplest thing to do is to use the OLE Importer (MENU: Program -> Import OLE Library Interfaces). Choose the class of your control and Forms will generate you a PL/SQL package to call all the functions in the control.
    The rest is up to you - you have to know the API of the control you are using.

  • Grid Control with Oracle XE?

    I've just installed Oracle Express Edition and looks great. Can i connect it to a management server (grid control)?

    As curious as I always am, I was able to discover my XE database from the GC 10.1.0.4 last month. I did this because I asked myself the same question. When there is time, I normally will try everything that says "Not supported" or "Not compartible" to prove it right or wrong. So give it a go, but don't post errors from it here :-). I have not tried it for GC 10.2.0.2, but it worked on 10.1.0.4 (hopefully 10.1.0.3).
    Remember, XE has all the features of EE, but a cutdown version. It has an Oracle Service and a Listener on a port, so the agent will pick them up. I have tried all possible things and tools (Forms, Reports, Designer Repository, Jdeveloper, SQL Developer, ODBC, JDBC etc) on XE to break it, but it works like EE. The only difference is when you hit the max allowed 4GB (excluding 1GB system) and I proved the limit right by kicking of a data load into a table using a cursor until it hit the maximum 4GB limit error.

  • Control file version 10.2.0.1.0 incompatible with ORACLE version 10.2.0.0.

    hi;
    I'm totally new to the oracle databases field...am trying to startup the database using the parameter file init.ora by using the command
    startup pfile='/u01/app/oracle/product/10.2.0/db_1/dbs/init.ora'
    But its giving me the following error:
    ORA-00201: control file version 10.2.0.1.0 incompatible with ORACLE version
    10.2.0.0.0
    ORA-00202: control file:
    '/u01/app/oracle/product/10.2.0/db_1/dbs/control01.ctl'
    Can anyone help me with this error?
    Thanks!

    startup pfile='/u01/app/oracle/product/10.2.0/db_1/dbs/init.ora'You are most likely using the wrong init.ora file. Get a list of files at /u01/app/oracle/product/10.2.0/db_1/dbs/
    For the database ORACLE_SID that you are attempting to startup, there would be an initSID.ora or spfileSID.ora
    e.g. if the ORACLE_SID is PROD, the file would be initPROD.ora or spfilePROD.ora
    The spfileSID.ora is a binary file and should not be accessed by a text-editor.
    Hemant K Chitale

  • Monitoring Oracle Glassfish or Generic URL with Oracle Grid Control

    How are people monitoring Oracle Glassfish with Oracle Grid Control?
    I really just need to monitor the URL right now, is the only method to setup a system and monitor a generic web test with a beacon?

    I would think this is indeed the only way to monitor the URL.
    Perhaps you could try a solution in creating your own plug-in.
    Check http://www.oracle.com/technetwork/oem/extensions/index.html for this.
    Regards
    Rob
    http://oemgc.wordpress.com

  • ORA-00201: control file version 10.2.0.4.0 incompatible with ORACLE version

    Hi,
    I have upgraded the database from 9.2.0.4 to 10.2.0.4 and for some time compatible parameter remained 9.2.0.0.
    Recently i have changed compatible parameter to 10.2.0.4.Now I could open the database with pfile but when I am trying to open database with spfile then I am getting following error:--
    SQL> startup
    ORACLE instance started.
    Total System Global Area 1694498816 bytes
    Fixed Size 1299532 bytes
    Variable Size 1342180276 bytes
    Database Buffers 343932928 bytes
    Redo Buffers 7086080 bytes
    ORA-00201: control file version 10.2.0.4.0 incompatible with ORACLE version
    9.2.0.0.0
    ORA-00202: control file: 'C:\ORACLE9I\ORADATA\UPGRD9I\CONTROL01.CTL'
    OS=Windowxp 32 bit
    Database version=10.2.0.4 32 bit.
    Please share your experience with me.
    MK

    Yes,everything is set to 10g only with spfile I am getting this error.
    When i am starting it with pfile it is opening and running good the onle thing I can not enable alter system set db_file_recovery_dest_size=5G scope=both bcoz spfile is not being used .I started using pfile and created spfile from pfile and then bounce the database startup then I am getting above error.
    Mk

  • How to monitory Siebel and E-business with Oracle Grid Control 12c

    Hi All,
    Please i need any documents for Monitoring Siebel and E-business with Oracle Grid Control 12c.
    Thanks in advance,
    Mostafa

    I would think this is indeed the only way to monitor the URL.
    Perhaps you could try a solution in creating your own plug-in.
    Check http://www.oracle.com/technetwork/oem/extensions/index.html for this.
    Regards
    Rob
    http://oemgc.wordpress.com

  • Can not open database control in oracle 11g r2, listener issues

    Hi,
    I installed Oracle 11g r2 database on my laptop for testing. at beginning everything was fine and working. 2 days later i am unable to run oracle database control.. i get page not found!
    I tried all the tricks and read almost 200 pages from oracle documentation, none of this was even close to help!
    (by the way oracle documentation is a fail in my opinion, it really tend to complicate things so much and talk about things not related to what a developer want to read about, its even hard for professional programmer to keep up with this, I started to hate dealing with Oracle before even going deep!!)
    I tried deleting database and creating new database i get the following warning:
    - Enterprise manager configuration failed due to the following error:
    listener is not up or database service is not registered with it. start listener and register database service.. etc.
    Some how after few hours the control is working but the database is not there, and it shows that the listener is up, but database is down.
    I tried creating a new database, but i get the error above (it seems its created but not linked to listener!!)
    I guess what triggered this error is running xampp, i was also working in php project and ran xampp for test, since then oracle is corrupted!
    any help would be appreciated (please don't send me links to oracle documentation because its useless and not straight to the point)
    Regards

    Hi
    thank you for the reply
    I assume i should do this through SQL plus?
    anyway, now am getting new error: ORA-00020: maximum number of processes (150) exceeded
    I get this error when trying to login to SQL plus, or create/configure database.
    I tried deleting oracle 11g via universal installer i get message saying run the command c:\...dbhome_1\deinstall\deinstall
    I don't understand Oracle totally collapsed in my laptop with no reason

  • Tns problem with Oracle 11g ODAC 11.1.0.6.21 with Oracle Developer Tools

    I installed the full
    Oracle 11g ODAC 11.1.0.6.21 with Oracle Developer Tools for Visual Studio
    now I am at the good old "[ORA-12154: TNS:could not resolve the connect identifier specified]" error.
    I copied the same tnsnames.ora as used on the db server
    onto the client "C:\Oracle\product\11.1.0\client_2\Network\Admin".
    The host name is right since a normal ping works. TNSping is not available.
    but I get the [ORA-12154: TNS:could not resolve the connect identifier specified] error.
    The listener is running and the instance as well since it all works on the source server.
    I tried it with
    SET path=c:\oracle\product\11.1.0\client_2\bin
    but tnsping is still not recognized.
    sqlplus works on the other hand when I set it to
    SET path=c:\oracle\product\11.1.0\client_2\
    what is going on...

    hey
    u can post your query here, and i think everyone here is to share opinion so do not hesitate to do so and please try to google before posting here,
    and we know no one is expert like some people saying 'boring questions' you just try to overcome your problem and you will definitly get your problem solved .
    some mpeople ar still there who answeres hopeless questions and say nothing about them but when a fresher askin a qustion is not tolarated by them they think everyone is born DBA here
    they always tend to discouraging people here on forums,and i think they are vvolunteers to reduce crowd here on forums, inspite of there experience and people respect them they can not control their anger
    so please post you tns here, i think there are ways to ask people to google and search docs first, but not like this
    thanks and regards
    VD
    Edited by: vikrant dixit on Jun 29, 2009 4:33 AM

  • A lot of problems with Oracle BI SEE 11g

    I have a lot of problems with Oracle BI SEE 11g
    1. I upgraded my BI SEE 10 repository and can it openning in offline mode.
    2. I can't deploy my upgraded repository in EM MW Control 11g - when i try to open Farm_bifoundation_domain->Business Intelligence->coreapplication, i get error "Stream closed
    For more information, please see the server's error log for an entry beggining with: Server Exception during PPR, #41".
    Opening Logs by EM control doesn't work too.
    in file middleware\user_projects\domains\bifoundation_domain\servers\AdminServer\logs\AdminServer.log i see this event:
    <Error> <HTTP> <oratest.itera.ru> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <b639ac3e56e9a463:bd6fa7f:12ac7271e09:-8000-00000000000009e8> <1283408423378> <BEA-101019> <[ServletContext@329875093[app:em module:/em path:/em spec-version:2.5]] Servlet failed with IOException
    java.io.IOException: Stream closed
    Have you any ideas?
    3. Ok, i taking sample repository and adding a new datasource in it:
    Database: Oracle 8i
    Connection pool:
    Call interface OCI 8i/9i
    Data source name:
    (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (Host = oraapp) (Port = 1521) ) ) (CONNECT_DATA = (SID = MYSID) ) )
    This settings are working fine in BI 10.
    In BI 11g i get this funny error: "The connection has failed". I lost my time in attempts to connect to Oracle DB 8, but have not results. After that i hacked button "Query DBMS" at "Features" tab, pressed it and when get error "ORA-03134: Connections to this server version are no longer supported.".
    Therefore Oracle 8 DB as datasource not supported. Am i right?
    4. In sample repository i added oracle DB 10 as datasource, then added two dual tables and their connection to all layers.
    Now i open BI Answers, and trying to create report with one dummy column, Now i have this error:
    Error
         View Display Error
    Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 42016] Check database specific features table. Must be able to push at least a single table reference to a remote database (HY000)
    SQL Issued: SELECT s_0, s_1 FROM ( SELECT 0 s_0, "ORA10G"."dual"."dummy" s_1 FROM "ORA10G" ) djm
    Database features are defaults.
    Does anyone solve this problem?

    Turribeach, Thanks for you time.
    1. It was not a question
    3. Yes, i have read platforms, but not supported datasources. Now i see, that BI 11g support as datasource Oracle DB 9.2.0.7 or higher. I am sorry.
    4. I'm using OCI connection type
    Now i recreate Database in Physical schema and answers is showing report data for me! But only from one table, when i use columns from to tables from one datasource, i geting error:
    Error View Display Error Odbc driver returned an error (SQLExecDirectW). Error Details Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 46008] Internal error: File server/Utility/Server/DataType/SUKeyCompare.cpp, line 875. (HY000) SQL Issued: SELECT s_0, s_1, s_2 FROM ( SELECT 0 s_0, "Ora10g"."hierarchy_obj_cust_v"."sort_order" s_1, "Ora10g"."NSI_SCHEMA"."SCHEMA_NAME" s_2 FROM "Ora10g" ) djm
    Edited by: serzzzh on 03.09.2010 3:44

  • Oracle 11g XE not working with oracle BI publisher 10g after enabling ACL

    Hello,
    I previously work with oracle 10gXE and Oracle BI publisher 10g and it work fine. now i install oracle 11g XE and try to configure it with oracle Bi Publlisher, it show this error
    "ORA-29273: HTTP request failed ORA-06512: at "SYS.UTL_HTTP", line 1324 ORA-12570: TNS:packet reader failure" after runing the ACL package to neable network service.
    on the database.
    Please can any body tell be why this is not working. Tanx.

    You'll need to add the apex engine owner to the ACL (Access Control List). Depending on your version of apex the user name varies. i.e. 4.0 is APEX_040000
    See Joel's blog for info about the ACL and APEX.
    [http://joelkallman.blogspot.com/2010/10/application-express-network-acls-and.html]

  • Can I use Swing controls with Forms 9i?

    Is there a way to use Java Swing controls with Forms 9i via a PJC or something? If so, is there a white paper on it? Thanks.

    Yes you can. There is a quick start about PJC here:
    http://otn-stage.us.oracle.com/products/forms/htdocs/upgrade/pjc/content.html
    And there is also a paper about Forms in the Java World that you should read.
    http://otn.oracle.com/products/forms/pdf/forms_in_java_world.pdf
    You might want to have a look at the Oracle9i Forms Demos for some code samples as well.

  • CONNECTING ORACLE 9I OR 10G DATABASE WITH ORACLE 10G FORMS AND REPORTS

    pls tell how to connect oracle 9i or 10g database with oracle developer suite 10g . though the forms are getting connected but not running with error as
    FRM-10142 the HTTP listner is not running on pls start the listner or check your runtime preferences.
    now pls tell how to start listner and how to chage runtime preferences.
    though i have worked with oracle 9i and forms 6i where we used to copy the tnsnames.ora from network/admin of oracle to forms 6i tnsnames.ora.
    thank you, you may be thinking such a long question.....

    sir
    By server i mean the computer where oc4j and backend database are running is one one of the client pc not a dedicated server..., these database and 10g dev suite are installed in one of the client machine,
    all the clients are using same internet explorer as browser.
    no message is being displyed on some of the client machine where these forms are not being uploaded on browser instead it displays as done in status bar without actually showing anything at all...
    sir so far as jinitiator or JRE is concered i have seen on the client machine (where my forms are running on internet explorer) a pop up is displyed telling one activex control is required to run this program and click to install it..
    after clicking it download jinitiator from server and after installing jinitiator my forms are loaded and start functioning...
    what i feel is as i said this machine where oc4j and database is running is one of the client machine so some other clients do not have acess to this machine, so this might be the reason why those clints are not able to run the said forms on the internet explorer.... can it be so... kindly tell..
    thank you for your patience for reading the question

  • Pinging ip's with oracle developer 10g

    db and dev 10g rel2 ,
    hi all,
    i want to ping some ip's through a form built with oracle developer 10g rel2 ,
    - i have two choices here ,
    -there is an application can ping a lot of ip's automatically , it has options to load a file in which ip's are stored , and another option to save the result into a .csv file ,
    so i am searching for a way to control that application , i want a way to do these tasks through a button on my form :
    1- open that application .
    2 -load the ip's .
    3- save the result to a .csv file .
    4- transferring the .csv data to a block on my form . -- and this is the simple step which i can do individually , but i do not know how to deal with the steps previously mentioned .
    2- the second choice is to open the os command prompt through a button , and ping through it , but the problem is the result would not be displayed in columns , and i do not know a way to load the result into a block on the form.
    if you could help me with any of these choices , or if you have another one , i would appreciate that .
    thanks in advance

    i've tried to use it like it is in the example : , i used only the first two parameters
    DECLARE
      c  utl_tcp.connection;  -- TCP/IP connection to the Web server
    BEGIN
      c := utl_tcp.open_connection(remote_host => 'www.acme.com',
                                   remote_port =>  80); 
    end ; by the way , before i posted the thread , i've tried it , but i faced problems while executing it , that's why i asked if it is
    suitable for me or not .
    when i execute it by the above code , the engine tells me that "procedure successfully completed , but without any result .
    2- if you could tell me what does "remote_port" means , because i posted the number in the example as it is .
    i do not know what is port ?
    3- do you know about a jave bean can do my requirements ?
    thanks a lot

  • Does /sapmnt need in cluster file system(SAP ECC 6.0 with oracle RAC)

    We are going to be installing SAP with Oracle 10.2.0.4 RAC on Linux SuSE 10 and OCFS2. The Oracle RAC documentation states:
    You must store the following components in the cluster file system when you use RAC
    in the SAP environment:
    - Oracle Clusterware (CRS) Home
    - Oracle RDBMS Home
    - SAP Home (also /sapmnt)
    - Voting Disks
    - OCR
    - Database
    What I want to ask is if I really need put SAP Home(also /sapmnt) on cluster file system? I will build a two nodes oracel 10g RAC and I also have another two nodes to install SAP CI and DI. My orginial think is sapmnt is a NFS share, and mount to all four nodes(RAC node and CI/DI), and all oracle stuff was on OCFS2(only two rac nodes are OCFS), anybody can tell me if SAP Home(also /sapmnt) can be NFS mount not OCFS2, thanks.
    Best regards,
    Peter

    Hi Peter,
    I don't think you need to keep /sapmnt in  ocfs2 . Reason any file system  need  to be in cluster is,in RAC environment, data stored in the cache of one Oracle instance to be accessed by any other instance by transferring it across the private network  and preserves data integrity and cache coherency by transmitting locking and other synchronization information across cluster nodes.
    AS this applies to redo files, datafiles and control files only ,  you should be fine with nfs mount of /sapmnt sharing across and not having ocfs2.
    -SV

Maybe you are looking for

  • How to get SQL text from dbms_sql cursor ID

    Hello, I have a progam using dbms_sql. A cursor is built by dbms_sql.parse (cur_id, v_query, dbms_sql.native);From now on I have only the internal ID cur_id of the cursor. Is there a way to get back the original query the cursor is built from when th

  • JButton keeps JFrame from succesfully implementing KeyListener?!

    Look at this code: import java.awt.*; import java.awt.event.*; import javax.swing.*; public class Test extends JFrame implements KeyListener      private JButton myButton;      public Test()           Container c = getContentPane();           c.setLa

  • Thunderbolt to regular displayport

    I'm looking for a regular displayport to thunderbolt cable to connect my HP laptop to a new iMac 27" to extend the laptop display

  • Sd CIN error

    while saving commercial invoice we get pop up menu saying"Print excise invoice in series group s2 using J1IP for billing document 00060000024" and on task bar we get "Document 0006000024 saved(no accounting document generated)" after that when we com

  • Controlling the name of a PDF split

    I need to keep a consitant number of digits in the name of the PDF.  When I split a document, it increments.  How can I make the names be either 3 or 4 digits consistantly. Need: PDF_0001.pdf (page 1) PDF_0002.pdf (page 2) PDF_0003.pdf (page 3) PDF_0