Schema Speration vs. Refrential Integrity

Newbie Question...
I am developing a data model and someone mentioned to me when doing my data model for our specific app to group related objects in their own schema's. For example, Item data and related information like warranty, inventories, etc, should be all on one schema and objects like orders, sales, returns, etc. should all be in another schema and keep relationships within the schema but do not cross relationships over schema's. For example, and Item in on an order, so there would be some sort of integrity. The app should lookup the item number to see if it is valid, and then store the record in the object in the order object through code (pl/sql also). I hope this makes sense :)
When running a query, just simply join the tables in the where clause and to mimic referential integrity. Is this a good practice when developing your database. Is this common? What are some good ways of doing this. Any recommendations? I have about 75 tables in my model and relationships are all over the place, and the person QA'ed my model and told me to do it his way (mentioned above). What should I do???
Please help

Well what is happening here is that we will at one point grow our DB to maybe well over 100 tables or downsize to maybe 30 tables. We are currently brining in Oracle Solutions here but the business still needs customized apps (being us). Years and years down the road, Oracle may bring in more off the shelf products that might obsolete us, in which case we will have to migrate our data to them and drop our tables. I see what you are saying about keeping all the tables in one schema and even about separating the tables in different schema's but keeping the integrity. What our plan was is to keep like all lookup tables in a separate schema, Order tracking details in another schema, etc. This seems like it would be easy to manage. Is this a good way of doing it or should I keep all the tables in one schema. This is my first time doing a project his big...I just want to do it the best way possible...and the right way!
Please help!

Similar Messages

  • Refrential integrity between 2 oracle DB

    I have to create a foreign key constraint with the table in diffrent oracle DB.
    I tried creating a synonym through DBlink but mentioning that synonym as the refrence throws error:
    ORA-02444: Cannot resolve referenced object in referential constraints.
    The same thing works if refrenced tables reside in different schema on the same DB instead of different DB server.
    Can anyone help me out with the probable solution of achieving refrential integrity between tables across two diffrent DB.

    Thanx a lot to point out me , here i would like to make some coments point out me if i am worng.
    I have read the Kamal's comments "trigger cannot see
    unsaved changes",Its the same with constraint but
    deadlock occurs while with trigger dead lock will not
    occur.
    We have to be cautious against employing this design as APC said.I agree with APC comments regarding
    performance, any network problems can cause your
    application to slow down as well break down.
    What i suggested to OP create two trigger one at yours master site to prevent child deletion and another one at child site to check parent existence.
    As Anwar suggested a replica of master site at child site and then implement the FK at child site ,as well for preventing deletion vice versa agreed.
    Apart from designing i have also confronted the same scenario which lead me
    some complexity but compell to implement trigger (though at certain level it takes
    extra attention).
    So the only hope to redisgn but is there any alternate as opposed to redisgn???
    Khurram

  • Refrential Integrity in BW7.0

    Hi,
    In BW 3.5 we have the option to check the refrential integrity in the communication structure.
    do we have such kind of option in BI7.0,if so could you pelase tell me where it is.
    points will be assigned.
    thanks,
    Subha

    you can find it in  transformations. 4th column.

  • Migrating MySQL5 database to Oracle 10g - refrential integrity constraints

    On migrating MySQL5 database to oracle, referential integrity constraints are not migrated to Oracle. Capture stage shows it has captured the constraints but constraints are missing from the Oracle Model. Is this a bug? If not, what I need to do to get constraints migrated.

    Check out *URGENT* Does Oracle SQL Developer able to migrate tables relationships?
    K.

  • REFRENTIAL INTEGRITY IN BW Cubes.

    Hi,
    I have a question regarding referential integrity between Transaction data and master data.
    I have created a BasicCube structure with one of the dimension as Customer. I am loading Customer master data and Transaction data from an external flat file. In Transaction data file there is a record with customer number 100 but the master data file does not contain this customer number 100 record. How and at what level will the systems check for this sort of referential integrity. Will it gives me an error during loading of Master data or Transaction data? What is a general procedure to load master data and transactional data, do we need load master data first or transactional data?
    Thanks.
    SAU.

    Hi and welcome to the SDN,
    please do a search for your issue on the forums, we already had that discussion a few times.
    In general, it is always suggested to load master data first in order to have a good performance for loading the transactional data and specially in case you want to derive some other data depending on master data. While loading transactional data you can make a setting in the infopackage for having the master data checked. If you load the data without validity check, the system will create a basic entry (in your case customer 100 and assign a sid) so that you will be able to load the master data later on (only the p-table will be updated in that case). If you load it with validity check, the system will raise an error while loading the data and you have to load master data first.
    Hope this helps!
    regards
    Siggi

  • Refrential Integrity Plugin in iplanet5.1

    Hi,
    I was tryign to test this feature, but it seems to be not working. when I delete an DN entry, the entry with an attribute to this DN is not getting updated.
    I see an error message in the errors log file. but The referint log file is not getting created. Anything I am missing in the configuration.
    its a single server/simple scenario.
    Thanks.
    Avijeet

    I am trying to use the regular ldapsearch command from commandline and not any C/Java code, like-
    ldapsearch -D "cn=directory manager" -p 1389 -h localhost -w abcd1234 -r -C PS:any:1:0 -b dc=abc,dc=com ou=emp
    despite using -r and -C option it just comes out displaying below entries
    ou=emp,dc=abc,dc=com
    ou=emp
    objectClass=top
    objectClass=organizationalUnit
    also tried with below command -
    ldapsearch -D "cn=directory manager" -p 1389 -h localhost -w abcd1234 -r -C PS:any:1:0 -b dc=techm,dc=com objectclass=person
    it displays long list and just comes out, not sure why its not doing the persistent search after using -r and -C options.
    request you to give some good idea on this.

  • Schema Data Type in SOAP Web Service while using Integration Gateway in SMP 3.0

    Hi Experts,
    I was working on Integration gateway component of SMP 3.0.3 where we can have oData services which connect to different data source from SMP and finally we have to consume from SMP. Here I have an SOAP Web service where there is Schema Data type which is an xml structure and because of that while doing the data modelling with Design time tools I am not able to map the properties as there aren't any as only the parent level Schema type is available in the SOAP Web Services. Please see the below image for reference :
    So now I have 2 inputs no problems for design as such then I have the schema for that which comes as a output response which is where I am facing the issue as we don't have that Data Structure itself so how are we going to map that. I have seen some thin possibilities with Custom Scripts with SMP SP06 where this will help us to process the request and response at runtime with JS/Groovy. So needed some lights on this schema data type on Integration Gateway component of SMP 3.0.3 which we are planning to upgrade to SP06 as well so it will be a good starting point for this as well
    Also have concerned my good friend Rakshit Doshi for this as well.
    Regards,
    Fenil.

    Hi All,
    Sorry for the late response guys was stuck somewhere else and so couldn't reply to this, see I have below response in SOAP UI
    There if we see we have the schema as the whole structure being defined under which we have all the child elements, am also posting the raw response from the soapUI below for better understanding
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
       <soap:Body>
          <GetMSUserLoginDetailsResponse xmlns="http://tempuri.org/">
             <GetMSUserLoginDetailsResult>
                <xs:schema id="MemberDetails" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
                   <xs:element name="MemberDetails" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">
                      <xs:complexType>
                         <xs:choice minOccurs="0" maxOccurs="unbounded">
                            <xs:element name="Table">
                               <xs:complexType>
                                  <xs:sequence>
                                     <xs:element name="RECID" type="xs:string" minOccurs="0"/>
                                     <xs:element name="FNAME" type="xs:string" minOccurs="0"/>
                                     <xs:element name="LNAME" type="xs:string" minOccurs="0"/>
                                     <xs:element name="CUSTNO" type="xs:decimal" minOccurs="0"/>
                                     <xs:element name="MEMTYP" type="xs:decimal" minOccurs="0"/>
                                     <xs:element name="MEMTYPENAME" type="xs:string" minOccurs="0"/>
                                     <xs:element name="CUSTTYP" type="xs:decimal" minOccurs="0"/>
                                     <xs:element name="EMAIL" type="xs:string" minOccurs="0"/>
                                     <xs:element name="MEMPASSWORD" type="xs:string" minOccurs="0"/>
                                     <xs:element name="ISDEBIT" type="xs:decimal" minOccurs="0"/>
                                     <xs:element name="PARENTID" type="xs:string" minOccurs="0"/>
                                     <xs:element name="CHILDOF" type="xs:string" minOccurs="0"/>
                                     <xs:element name="CUSTTYP1" type="xs:string" minOccurs="0"/>
                                     <xs:element name="ZONEID" type="xs:int" minOccurs="0"/>
                                     <xs:element name="EMAILFOOTERDETAIL" type="xs:string" minOccurs="0"/>
                                  </xs:sequence>
                               </xs:complexType>
                            </xs:element>
                            <xs:element name="Table1">
                               <xs:complexType>
                                  <xs:sequence>
                                     <xs:element name="ErrorCode" type="xs:string" minOccurs="0"/>
                                     <xs:element name="ErrorDesc" type="xs:string" minOccurs="0"/>
                                  </xs:sequence>
                               </xs:complexType>
                            </xs:element>
                         </xs:choice>
                      </xs:complexType>
                   </xs:element>
                </xs:schema>
                <diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">
                   <MemberDetails xmlns="">
                      <Table diffgr:id="Table1" msdata:rowOrder="0">
                         <RECID>97101-101-0000057069</RECID>
                         <FNAME>Fenil</FNAME>
                         <LNAME>Doshi</LNAME>
                         <CUSTNO>1042231</CUSTNO>
                         <MEMTYP>42</MEMTYP>
                         <MEMTYPENAME>Management</MEMTYPENAME>
                         <CUSTTYP>8</CUSTTYP>
                         <EMAIL>[email protected]</EMAIL>
                         <MEMPASSWORD>as</MEMPASSWORD>
                         <PARENTID>97101-101-0000057069</PARENTID>
                         <CUSTTYP1>Zone</CUSTTYP1>
                         <ZONEID>2</ZONEID>
                         <EMAILFOOTERDETAIL><![CDATA[<strong></strong><br />]]></EMAILFOOTERDETAIL>
                      </Table>
                      <Table1 diffgr:id="Table11" msdata:rowOrder="0">
                         <ErrorCode>100</ErrorCode>
                         <ErrorDesc>Login Successful.</ErrorDesc>
                      </Table1>
                   </MemberDetails>
                </diffgr:diffgram>
             </GetMSUserLoginDetailsResult>
          </GetMSUserLoginDetailsResponse>
       </soap:Body>
    </soap:Envelope>
    So we have the data but as a xml Structure which is nothing but schema and is my Eclipse while mapping while defining response type it gives me just an schema as the property.
    Regards,
    Fenil.

  • Does the APPS schema have full access to custom objects

    DB - 11.2.0.3 - s390 - SLES11SP2
    APP - 12.1.3 - x86_64 - SLES11SP2
    One of my lead developers has posed a question to me.......namely -
    Does the APPS user have implicit select and delete privileges on custom objects without an explicit GRANT statement?

    Please see (Step By Step Guide to Creating a Custom Application in Applications 11i [ID 216589.1]) which is applicable to R12 as well -- "Grant all privilege from each custom data object to the APPS schema" step.
    Please also see (Step 9. Integrate your database objects with the APPS schema by granting APPS the access to your custom schema’s objects) in (Integrating Custom Applications with Oracle Applications [ID 176852.1).
    Thanks,
    Hussein                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Can we create logical/ physical schema by running any script (unix/window)?

    I wish to create logical/ physical schema in oracle data integrator
    by running any windows or preferably unix script.
    is there any method or scripts provided in ODI?

    I think you could insert info into Matser Respository tables:
    Connect info: snp_connect
    Logical Schemas : snp_lschema
    Physical Schemas: snp_pschema
    Or you may write some sql to do this.

  • Third posting : Where can I get document on WLI 8.1 DB schema?

    Hi All,
    I could not able to find the document on DB schema used in WebLogic Integration 8.1 in BEA e-docs site.
    Can somebody pass it on to me OR point to me to appropriate location??
    Thanks,
    Prashanth Bhat.

    If you want to see what tables are created and used by
    WLI look in the following SQL scripts:
    Runtime Tables:
    <BEA_HOME>\weblogic81\integration\dbscripts\<YOURDB>\wli_runtime.sql
    Archive Tables:
    <BEA_HOME>\weblogic81\integration\dbscripts\<YOURDB>\wli_archive.sql
    Be careful about writing specific code against these tables because the schema could change in future releases.

  • What is mean by Referential Integrity? Where do we use it and Why..?

    Hi All,
    Can anybody tell me, What is mean by Referential Integrity? Where do we use it and Why..?
    Regards,
    Kiran Telkar

    Dear Kiran Telkar ,
    you might be knowing that generally refrential integrity is concerned with nothing but primary key and foriegn key relationship. Generally we use to check uniqueness of records.
    In sap we use it during flexible updation...to check the data records of transaction data and master data.
    In other words, to check before loading of data, that whether loading will be properly or not.
    we will check(tick) the option in the maintainance of the
    <b>infosource--> communication structure</b>
    it will be better if you clearly mention your problem, if further help is needed.
    hope this will help you.
    Regards
    vinay
    <i>please assign points to all who will help you.</i>

  • Whats is referential integrity

    Hi all,
    What is referential integerity found in the communication structure ? what is it significance and when do you use in real time scenario. pls explain with an real time scenario.
    what is cardinality ? and when shd u used cardinality and cardinality can be only defined in infocubes isnt it? can cardinality be defined in ods ?
    thanxs in advance
    hari

    Hi Hari,
      Referential Integrity: Its a DataBase concept which combines(logically) the data of multiple table with the master table. Here master table has the primary key and rest of the tables have the same key as forienkey.
    Here we use the characteristic (or combinations of Chars) call as referential char.
    check this.
    you might be knowing that generally refrential integrity is concerned with nothing but primary key and foriegn key relationship. Generally we use to check uniqueness of records.
    In sap we use it during flexible updation...to check the data records of transaction data and master data.
    In other words, to check before loading of data, that whether loading will be properly or not.
    we will check(tick) the option in the maintainance of the
    infosource--> communication structure
    it will be better if you clearly mention your problem, if further help is needed.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/3a/14c43bb7137503e10000000a11402f/content.htm
    Referential integrity is the property that guarantees that values from one column depend on values from another column.This property is enforced through integrity costraints....
    see this link...
    http://help.sap.com/saphelp_nw2004s/helpdata/en/6d/117c5fd14811d2a97400a0c9449261/content.htm
    Please find the below url
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=referential%20integrity&cat=sdn_all
    thanks
    @jay

  • Transformation Integrity

    Hi,
    I have a problem. I´ve a transformation rules with several infoObjects most of them with the integrity check activated. I want to remove that integrity of one of them  but after save and activate that check is still there.
    Thanks in advance.

    Hi,
    I don't think this is possible to keep refrential integrity of all the infoobjects except one. The only case I think it is possible is you will have to change the infoobject from Master data to normal Infoobject i.e. Unmarke the Master data check.
    Because when SAP check the refrential integirity just before writing data to target there is no step available where you can skip some particular value.
    But reverse secnario is possible i.e. You want to remove the integrity check for all the infoobject but want to keep for only one.
    Regards,
    Durgesh.

  • Import OLAP Metadata in OBIEE 11.1.1.5 failing

    We are in the process of integrating our existing Oracle OLAP infrastructure with OBIEE 11.1.1.5. We are currently on 11.2.0.1 DB with our 11g cubes in 11.2.0.0.0 compatibility mode.
    We have two AWs within the same schema that are tightly integrated (Eg. Q12_AW and Q12_HIST_AW). When I import the metadata using OBIEE 11g BI Administrator, I can only see Q12_HIST_AW but not Q12_AW. Also, when I copy Q12_HIST_AW to OBIEE, it errors out. Looking at java host logs, it looks like I am getting parse errors but not sure how to pursue further on why the parser is failing.
    Logs:
    [2011-08-16T10:34:45.168-05:00] [init] [WARNING] [] [saw.init.application] [tid: 14] [ecid: 0000J7JEjD6FS8O6yjMaMG1EIco2000006,0] Bad AW -- Q12_AW.Q12_AW
    [2011-08-16T10:34:45.175-05:00] [init] [WARNING] [] [saw.init.application] [tid: 14] [ecid: 0000J7JEjD6FS8O6yjMaMG1EIco2000006,0] Errors have occurred during xml parse[[
    <Line 1181, Column 26>: Encountered "(" at line 1, column 83.
    Was expecting one of:
    "DIMENSION" ...
    <Line 1210, Column 26>: Encountered "(" at line 1, column 83.
    Was expecting one of:
    "DIMENSION" ...
    <Line 1529, Column 26>: Encountered "(" at line 1, column 58.
    Was expecting one of:
    "DIMENSION" ...
    <Line 1558, Column 26>: Encountered "(" at line 1, column 58.
    Was expecting one of:
    "DIMENSION" ...
    <Line 3025, Column 23>: Encountered "(" at line 1, column 54.
    Was expecting one of:
    "DIMENSION" ...
    <Line 4020, Column 24>: Encountered "(" at line 1, column 81.
    Was expecting one of:
    "DIMENSION" ...
    <Line 9516, Column 24>: Encountered "(" at line 1, column 101.
    Was expecting one of:
    "DIMENSION" ...
         at oracle.olapi.xml.TagHandler.createRootException(Unknown Source)
         at oracle.olapi.xml.TagHandler.getRootException(Unknown Source)
         at oracle.olapi.xml.TagHandler.reportException(Unknown Source)
         at oracle.olapi.xml.TagHandler.processException(Unknown Source)
         at oracle.olapi.metadata.BaseMetadataXMLReader.resolveDeferredProperties(Unknown Source)
         at oracle.olapi.metadata.MetadataXMLReaderMetadataInitialState.exit(Unknown Source)
         at oracle.olapi.metadata.MetadataXMLReaderMetadataInitialState.exit(Unknown Source)
         at oracle.olapi.xml.TagHandler.endElement(Unknown Source)
         at org.xml.sax.helpers.ParserAdapter.endElement(ParserAdapter.java:626)
         at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:211)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1359)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:376)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:322)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:226)
         at org.xml.sax.helpers.ParserAdapter.parse(ParserAdapter.java:405)
         at oracle.olapi.xml.XMLProcessor.parse(Unknown Source)
         at oracle.olapi.metadata.MetadataFetcher.processXML(Unknown Source)
         at oracle.olapi.metadata.MetadataFetcher.fetchBaseMetadataObjects(Unknown Source)
         at oracle.olapi.metadata.BaseMetadataProvider.fetchMetadataObjects(Unknown Source)
         at oracle.olapi.metadata.MetadataListProperty.getObjects(Unknown Source)
         at oracle.olapi.metadata.BaseMetadataObjectState.getPropertyListValues(Unknown Source)
         at oracle.olapi.metadata.BaseMetadataObject.getPropertyListValues(Unknown Source)
         at oracle.olapi.metadata.mdm.MdmSchema.getCubes(Unknown Source)
         at oracle.olapi.metadata.deployment.AW.getCubes(Unknown Source)
         at oracle.bi.integration.aw.v11g.AW11gUtil.getAWImportInfo(AW11gUtil.java:1035)
         at oracle.bi.integration.aw.v11g.AW11gUtil.getAWImportInfo(AW11gUtil.java:1113)
         at oracle.bi.integration.aw.v11g.service.AW11gService.execute(AW11gService.java:83)
         at oracle.bi.integration.javahost.ServiceRpcCall.processMessageInternal(ServiceRpcCall.java:55)
         at com.siebel.analytics.javahost.AbstractRpcCall.processMessage(AbstractRpcCall.java:251)
         at com.siebel.analytics.javahost.MessageProcessorImpl.processMessage(MessageProcessorImpl.java:193)
         at com.siebel.analytics.javahost.Listener$Job.run(Listener.java:223)
         at com.siebel.analytics.javahost.standalone.SAJobManagerImpl.threadMain(SAJobManagerImpl.java:207)
         at com.siebel.analytics.javahost.standalone.SAJobManagerImpl$1.run(SAJobManagerImpl.java:155)
         at java.lang.Thread.run(Thread.java:662)
    [2011-08-16T10:34:46.359-05:00] [init] [NOTIFICATION] [] [saw.init.application] [tid: 14] [ecid: 0000J7JEjD6FS8O6yjMaMG1EIco2000006,0] Reading AW -- Q12_AW.Q12_HIST_AW
    [2011-08-16T10:34:46.419-05:00] [init] [NOTIFICATION] [] [saw.init.application] [tid: 14] [ecid: 0000J7JEjD6FS8O6yjMaMG1EIco2000006,0] [Thread 21] Service done -- AWImportService11G
    [2011-08-16T10:34:50.149-05:00] [workmanager] [NOTIFICATION] [] [saw.workmanager] [tid: 15] [ecid: 0000J7JElO_FS8O6yjMaMG1EIco2000007,0] Thread started
    [2011-08-16T10:35:22.340-05:00] [init] [NOTIFICATION] [] [saw.init.application] [tid: 14] [ecid: 0000J7JEtF^FS8O6yjMaMG1EIco200000C,0] [Thread 21] calling service -- AWImportService11G
    [2011-08-16T10:35:22.340-05:00] [init] [NOTIFICATION] [] [saw.init.application] [tid: 14] [ecid: 0000J7JEtF^FS8O6yjMaMG1EIco200000C,0] Reading AW UDML -- Q12_HIST_AW
    [2011-08-16T10:35:25.768-05:00] [init] [ERROR] [] [saw.init.application] [tid: 14] [ecid: 0000J7JEtF^FS8O6yjMaMG1EIco200000C,0] Errors have occurred during xml parse[[
    <Line 1181, Column 26>: Encountered "(" at line 1, column 83.
    Was expecting one of:
    "DIMENSION" ...
    <Line 1210, Column 26>: Encountered "(" at line 1, column 83.
    Was expecting one of:
    "DIMENSION" ...
    <Line 9516, Column 24>: Encountered "(" at line 1, column 101.
    Was expecting one of:
    "DIMENSION" ...
         at oracle.olapi.xml.TagHandler.createRootException(Unknown Source)
         at oracle.olapi.xml.TagHandler.getRootException(Unknown Source)
         at oracle.olapi.xml.TagHandler.reportException(Unknown Source)
         at oracle.olapi.xml.TagHandler.processException(Unknown Source)
         at oracle.olapi.metadata.BaseMetadataXMLReader.resolveDeferredProperties(Unknown Source)
         at oracle.olapi.metadata.MetadataXMLReaderMetadataInitialState.exit(Unknown Source)
         at oracle.olapi.metadata.MetadataXMLReaderMetadataInitialState.exit(Unknown Source)
         at oracle.olapi.xml.TagHandler.endElement(Unknown Source)
         at org.xml.sax.helpers.ParserAdapter.endElement(ParserAdapter.java:626)
         at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:211)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1359)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:376)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:322)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:226)
         at org.xml.sax.helpers.ParserAdapter.parse(ParserAdapter.java:405)
         at oracle.olapi.xml.XMLProcessor.parse(Unknown Source)
         at oracle.olapi.metadata.MetadataFetcher.processXML(Unknown Source)
         at oracle.olapi.metadata.MetadataFetcher.fetchBaseMetadataObjects(Unknown Source)
         at oracle.olapi.metadata.BaseMetadataProvider.fetchMetadataObjects(Unknown Source)
         at oracle.olapi.metadata.MetadataListProperty.getObjects(Unknown Source)
         at oracle.olapi.metadata.BaseMetadataObjectState.getPropertyListValues(Unknown Source)
         at oracle.olapi.metadata.BaseMetadataObject.getPropertyListValues(Unknown Source)
         at oracle.olapi.metadata.mdm.MdmSchema.getCubes(Unknown Source)
         at oracle.olapi.metadata.deployment.AW.getCubes(Unknown Source)
         at oracle.bi.integration.aw.v11g.AW11gUtil.getAWUdml(AW11gUtil.java:914)
         at oracle.bi.integration.aw.v11g.AW11gUtil.getAWUdml(AW11gUtil.java:876)
         at oracle.bi.integration.aw.v11g.service.AW11gService.getAWUdmlObject(AW11gService.java:157)
         at oracle.bi.integration.aw.v11g.service.AW11gService.getAWUdml(AW11gService.java:137)
         at oracle.bi.integration.aw.v11g.service.AW11gService.execute(AW11gService.java:78)
         at oracle.bi.integration.javahost.ServiceRpcCall.processMessageInternal(ServiceRpcCall.java:55)
         at com.siebel.analytics.javahost.AbstractRpcCall.processMessage(AbstractRpcCall.java:251)
         at com.siebel.analytics.javahost.MessageProcessorImpl.processMessage(MessageProcessorImpl.java:193)
         at com.siebel.analytics.javahost.Listener$Job.run(Listener.java:223)
         at com.siebel.analytics.javahost.standalone.SAJobManagerImpl.threadMain(SAJobManagerImpl.java:207)
         at com.siebel.analytics.javahost.standalone.SAJobManagerImpl$1.run(SAJobManagerImpl.java:155)
         at java.lang.Thread.run(Thread.java:662)
    [2011-08-16T10:35:25.784-05:00] [init] [ERROR] [] [saw.init.application] [tid: 14] [ecid: 0000J7JEtF^FS8O6yjMaMG1EIco200000C,0] [Thread 21] Service failed - AWImportService11G. Details:Q12_HIST_AW
    Any help to diagnose the problem is appreciated.
    Swapan.
    Edited by: Swapan on Aug 16, 2011 9:28 AM

    It looks like OBIEE 11.1.1.5 ships with 11.1 jars and since my DB was running 11.2, I faced this issue. The fix is described below for folks who encounter this issue.
    The OLAP API jars on the middle tier need to be updated to version 11.2.x. The OLAP API libraries are found in your Oracle Database home: [oracledb home]\product\11.2.0\dbhome_1\olap\api\lib. BI EE provides an 11.1.x version of these files in [obiee home]\Oracle_BI1\bifoundation\javahost\lib\obisintegration\aw\11g. Backup the BI EE version of the OLAP API jars and replace them with the version provided by the database.
    Swapan.
    Edited by: Swapan on Aug 16, 2011 1:33 PM

  • SQL Server 2008 R2: which version of Visual Studio do I need to keep database projects and SSIS projects in the same solution

    I need to build a solution containing a database project and an integration services project for SQL Server 2008R2.  Apparently, the subset of Visual Studio tools that comes with SQL Server 2008R2 does not include database projects and does not have
    Team Foundation Server support.  Because of those limitations, I am trying to determine which version of Visual Studio will allow me to:
    1. Build a single solution that includes both a database project and an Integration Services project
    2. For the database project, be able to import a database schema from an existing SQL Server 2008 R2 database, do schema compares and update the project from the database and vice versa
    3. For the Integration Services project, be able to deploy the packages to SQL Server Integration Services on SQL Server 2008 R2 (that is, to the msdb database).
    4. Use Team Foundation Server for source control of the whole solution, including both project types.

    Hi G Britton,
    To build a solution containing a database project and an integration services project for SQL Server 2008 R2 and use Team Foundation Server for source control.
     You can choose to install Visual Studio 2008.
    And as you want to utilize Schema compare and/or Data compare functionalities in Visual Studio, you will need to install the
    Visual Studio Team System 2008 Database Edition or Visual Studio Team System 2008 Team Suite.
    In addition, for Visual Studio issues, I would like to recommend you post the question in the
    Visual
    Studio forums to get better support.
    Reference:
    Team Foundation Version Control
    Compare and Synchronize Database Schemas
    Interoperability and Coexistence (Integration Services)
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

Maybe you are looking for