Schema qualifier ignored in 11g

I am trying to connect to mysql database through DG4ODBC 11gR2 and have a problem.
When I query tables in the schema other than the one specified in odbc.ini by using a
schema qualified table name, I got table does not exist error. Seems to me DG4ODBC ignore
the schema qualifier, just take the table name, and qualify it with the schema specified
in odbc.ini
For example,
obdc.ini :
[MYSQL]
Driver=MySQL ODBC 5.1 Driver
Server = localhost
PORT = 3306
DATABASE =db1 ###schema db1
USER=user
PASSWORD=pass
select count(*) from "db2"."table2"@MYSQLERROR at line 1:
ORA-00942: table or view does not exist
[MySQL][ODBC 5.1 Driver][mysqld-5.0.67-community-log]Table
'db1.table2' doesn't exist {42S02,NativeErr = 1146}
ORA-02063: preceding 2 lines from MYSQL2
It really should translate into 'db2.table2'. It just ignored the schema qualifier db2 here,
and use db1 regardless.
The mysql user can indeed select tables in db1 and db2 in mysql server or through isql of unixODBC.
Plus, in hsodbc of oracle 10gR2, I used schema qualifier all the time and works too.
Did anybody experience similar problem in 11gR2 too?
Thanks,
-Haijun

SQL text from hgopars, id=1, len=23 ...
00: 53454C45 4354202A 2046524F 4D206070 [SELECT * FROM `t]
10: 61746965 6E7460 [able2`]
Entered hgopoer at 2010/04/09-12:36:50
hgopoer, line 233: got native error 1146 and sqlstate 42S02; message follows...
[MySQL][ODBC 5.1 Driver][mysqld-5.0.67-community-log]Table 'db1.table2' doesn't exist {42S02,NativeErr = 1146}
Exiting hgopoer, rc=0 at 2010/04/09-12:36:50
hgopars, line 526: calling SQLNumResultCols got sqlstate 42S02
Exiting hgopars, rc=942 at 2010/04/09-12:36:50
Entered hgodtab at 2010/04/09-12:36:50
count:1
table: table2
Allocate hoada[0] @ 0x1cffee00
Free hoada[0] @ 0x1cffee00
Entered hgopdsc at 2010/04/09-12:36:50
Describing procedure patient
Output hoada
hgopdsc, line 1406: NO hoada to print
Exiting hgopdsc, rc=942 at 2010/04/09-12:36:50
The hoada for table patient follows...
hgodtab, line 876: NO hoada to print
Exiting hgodtab, rc=0 at 2010/04/09-12:36:50
Entered hgopars, cursor id 1 at 2010/04/09-12:36:50
type:0
SQL text from hgopars, id=1, len=23 ...
00: 53454C45 4354202A 2046524F 4D206070 [SELECT * FROM `t]
10: 61746965 6E7460 [able2`]
Entered hgopoer at 2010/04/09-12:36:50
hgopoer, line 233: got native error 1146 and sqlstate 42S02; message follows...
[MySQL][ODBC 5.1 Driver][mysqld-5.0.67-community-log]Table 'db1.table2' doesn't exist {42S02,NativeErr = 1146}
Exiting hgopoer, rc=0 at 2010/04/09-12:36:50
hgopars, line 526: calling SQLNumResultCols got sqlstate 42S02
Exiting hgopars, rc=942 at 2010/04/09-12:36:50

Similar Messages

  • Bug on dads/schema mapping in oracle 11g

    This is a very annoyng problem i had with the new 11g version.
    i have a lot of users in the db, they are all copies of a master schema but they are mapped differently in dads.conf
    example:
    <Location /sam>
    PlsqlDatabaseUsername wsam
    <Location /jo>
    PlsqlDatabaseUsername wjo
    sometimes i call by browser sam/pk1.hello
    and i see the response of jo/pk1.hello
    this is random and if i recompile the sam user i fix the misdirection for a while.
    help is very much appreciated on this one !
    jo.

    Hello Deeraj
    I mentioned that note as that gives you how to verify who is the user who owns the schema.
    Again always ABAP schema is owned SAPSR3 and SAPSR3DB owns java.
    select owner from dba_tables where table_name = 'T000'; this query which is explained will give you who owns the SAP DB in your case. As t000 address the client setting table.
    In your case it will be SAPSR3.
    First thing should be you need to drop this user  then create it providing appropriate password along with default tablespace where it has to write along with temporary tablespace to be used and quota for that user should be unlimited.
    Then grant the privileges of connecting and creating.
    I would suggest you to work with a DBA if you are not comfortable executing SQL statements.
    Regards
    Vivek

  • Schema Comparisons - Ignore column order

    I'm using SSDT for the first time and I want to be able to ignore column ordering when doing schema comparisons.
    There was a setting in GDR that I cannot find called - "Force table column order to be identical" - does this still exist?
    Also in the old sqldeployment file there was an IgnoreColumnOrder setting. Cannot find either of these.

    It's unfortunate that the general attitude of Microsoft seems to be geared towards coming up with excuses and explanations instead of solutions. I was excited to use schema/data compare in VS2013 but found that it's basically useless to us because of the
    lack of this feature. I'm just glad there are other reasonable programs on the market to do comparisons (RedGate, for example).
    It's evident that each year Microsoft becomes even more detached from reality. People complained about IE, Microsoft didn't solve the problems, and now hardly anyone uses IE. No one is going to use this shoddy comparison tool for the same reasons. You're
    just wasting people's time with incomplete products like this, and that's frustrating and builds resentment in the people who are paying to use your products and services. I'll have no problem jumping ship for any given Microsoft product the second a competitor
    releases something better.

  • Could not see SH schema details in AWM 11g.

    Hi all,
    I have installed oracle db 11g (11.1.0.6) and installed awm 11.1.0.7.
    I am trying to open db instance in AWM by SH Schma, but i could not see the dimensions which already in place (as this is oracle defined sample schema). What could be done to see the details of schema.
    regards
    chandra kanth.

    AWM allows you to connect to the database in two modes: 10g and 11g. In 10g mode you will see only the 10g style AWs, and in 11g mode you will see only 11g style AWs. I don't know which version of the SH AW you have, but it is worth trying both connection modes. You will see the option ("Cube Type") in the dialog where you enter the password.
    More generally you should upgrade your database instance to 11.1.0.7 at the least if you are planning to use OLAP, and there are recommended OLAP patches to be applied on top of that. See the following certification page for details.
    http://www.oracle.com/technetwork/database/options/olap/olap-certification-092987.html

  • Pl/sql block with "insert into" and schema qualified table throws "error"

    Simplified test case:
    Oracle9i EE Release 9.2.0.3.0
    Oracle JDeveloper 9.0.3.2 Build 1145
    create user u1 identified by u1
    default tablespace users
    quota unlimited on users;
    grant connect, resource to u1;
    revoke unlimited tablespace from u1;
    create user u2 identified by u2
    default tablespace users
    quota unlimited on users;
    grant connect, resource to u2;
    revoke unlimited tablespace from u2;
    As user u2:
    create table u2.t
    c1 number
    grant select, update, insert, delete on u2.t to u1;
    As user u1:
    create or replace package test_pkg as
    procedure do_insert (p_in number);
    end;
    create or replace package body test_pkg as
    procedure do_insert (p_in number) is
    begin
    insert into u2.t values (p_in);
    commit;
    end;
    end;
    All of the above works fine using command-line sql*plus, and is clearly a simplified version of the actual code to demonstrate the issue at hand. Using JDeveloper, it complains about 'expected ;' at the 'values' keyword in the insert statement. Removing the schema qualification from the table name allows JDeveloper to not flag the statement as an error, but I do not want to create synonyms (private or public) to point to all the tables in the real packages. Since JDeveloper flags the insert statement as an error, I can not browse the package structure etc, even though it compiles with no problems. What gives?
    Thanks in advance for any suggestions, etc...

    Hi Bryan,
    Thanks for following up on this. I will look for the bug fix to be published.
    - Mark

  • Create DB schema for ORACLE JDeveloper 11g

    I'd like to learn ADF. For this reason I've installed:
    JDeveloper 11
    ORACLE XE
    And I've extracted : FOD_11.zip
    To follow the demo application I have to create DB schema.
    How I have to define: jdbc.driver
              jdbc.urlBase
    Execution : Run Ant Target -> Build All done errors:
    1.
    <target name="createDatabase">
    <ant antfile="build.xml" dir="../DBSchema"
    target="createDatabase" inheritrefs="true"/> <<<< Here error
    </target>
    2.
    <sqlRunner username="@{username}" password="@{password}"
    script="${sqlrunner.tempfile}" onerror="@{onerror}"/> <<<< Here error
    3.
    <sequential>
    <sql driver="${jdbc.driver}" url="${jdbc.url}" userid="@{username}"
    password="@{password}" classpathref="oracle.jdbc.path"
    src="@{script}" onerror="@{onerror}"/> <<<< Here error
    </sequential>
    I’m sorry but I have no experience in the installation software.

    I'd like to learn ADF. For this reason I've installed:
    JDeveloper 11
    ORACLE XE
    And I've extracted : FOD_11.zip
    To follow the demo application I have to create DB schema.
    How I have to define: jdbc.driver
              jdbc.urlBase
    Execution : Run Ant Target -> Build All done errors:
    1.
    <target name="createDatabase">
    <ant antfile="build.xml" dir="../DBSchema"
    target="createDatabase" inheritrefs="true"/> <<<< Here error
    </target>
    2.
    <sqlRunner username="@{username}" password="@{password}"
    script="${sqlrunner.tempfile}" onerror="@{onerror}"/> <<<< Here error
    3.
    <sequential>
    <sql driver="${jdbc.driver}" url="${jdbc.url}" userid="@{username}"
    password="@{password}" classpathref="oracle.jdbc.path"
    src="@{script}" onerror="@{onerror}"/> <<<< Here error
    </sequential>
    I’m sorry but I have no experience in the installation software.

  • How to generate TPC-E schema/data sets in Oracle 11g

    Hi,
    I want to use TPC-E schema in my Oracle 11g database (Standard) and also want to use DATA SETS from this benchmark for some kind of testing.
    I've download EGen v1.8.0 from this TPC website:
    http://www.tpc.org/tpce/default.asp
    but don't know who to implement this benchmark database into my computer's database. I'll appreciate if someone please suggest me how to do this...
    Thanks alot.
    Best Regards,
    Kamran

    kamran safdar malik wrote:
    I want to find Optimal size of a data block size as this is the one parameter which can increase the performance of a database or decrease it.If there is a single optimal size, that would surely be the default Oracle block size - as Oracle should know perhaps better than any of us, just what block size differences do as it is their code that uses it?
    Can I ask why you said that you would not have chosen this topic as a thesis?My leaning has always been to expert systems and A.I. Even designed and written my own expert system language years ago. One thing that is critical in such systems is how you structure data - and that has a nice database angle to it. One that I believe can still be exploited for research purposes.
    Don't you think that it'll benefit DBA's or database developer after I reach a successful conclusion?To be honest, in the real world of database systems, the least of my concerns are data block sizes. For example, we're busy putting together a storage array that should have a maximum I/O pipe size of 40Gb. In comparison, we currently use dual 2Gb fibre channels on most of our servers for our I/O.
    Technology moves fast. And perhaps there is an ideal block size for the standard storage array and Oracle instance today - but that could invalidated by new technology next year. Would I want to spend time and effort studying and analysing and researching a very specific technical subject, that perhaps is not considered as of that critical importance by DBAs and perhaps can be outdated with new technology and techniques?
    I honestly do not want to put you off studying db block sizes. Perhaps there's still some critical issues to uncover in that respect. But personally.. there are many other subject areas in database technology that peak my interest a lot more. But then you have your personal preferences and likes and dislikes - and data blocks could be your muse. :-)

  • Exporting schema from 11g to 10g

    how can i export full schema(suppost scott) from 11g to 10g both are on different machines and i dont know much about db side, if any body can suggest some queries.
    thanks and regards
    Abbas

    when i run the expdp it gives me following error
    Export: Release 10.1.0.4.2 - Production on Wednesday, 27 April, 2011 11:43
    Copyright (c) 2003, Oracle. All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit
    Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    ORA-39002: invalid operation
    ORA-39070: Unable to open the log file.
    ORA-29283: invalid file operation
    ORA-06512: at "SYS.UTL_FILE", line 536
    ORA-29283: invalid file operation
    what can be wrong
    Regards
    Abbas

  • Selection from Another schema by default without schema name qualifier.

    Hi
    Oracle10g release 2, LinuxOS
    i want my schema (User_1) to always select,insert, update, delete the objects from another schema (User_2) without passing full schema qualifier every time whenever i don't pass any schema name explicitly.
    i.e. if i pass the following guerry
    select * from table_a;
    the table of user User_2.table_a (User_2.table_a) will be queried by default instead of table (User_1.table_a)
    and the same implementation is also required in Functions , procedures, sequences etc.
    Wishes

    Three relatively easy options
    1) Create private synonyms in User_1's schema for each object in User_2's schema, i.e.
    CREATE SYNONYM table_a
       FOR user_2.table_a2) Create public synonyms for each object in User_2's schema. This will make it possible for all users to query user_2's objects without specifying the schema name
    CREATE PUBLIC SYNONYM table_a
       FOR user_2.table_a3) Change the current schema for the session (potentially in a login trigger)
    ALTER SESSION SET current_schema = USER_2There are other options that are a bit more complicated like using enterprise users with shared schemas. But most people are perfectly happy with one of these three.
    Justin

  • Help with Upgrading Workflow OWF_MGR Schema to 11G

    Hi
    We are planning to upgrade a OWB 10.1.0.3 repository (via 10.1.0.4) and also a 10GR2 repository into the same 11G repository on a new database instance.
    Both sources have their own OWF_MGR schemas.
    Can anyone please confirm if the OWF_MGR schema contains anything other than the deployed process flows and workflow logs?
    I am trying to work out if I need to migrate both OWF_MGR schemas into the new 11G OWF_MGR schema, or if I can just redeploy all the process flows after the design and control centre data has been migrated?
    The 11G installation guide has a section on migrating the Oracle Workflow schema but it is not very clear on what has to be done.
    If anyone else has migrated to 11G on another database, what steps did you take to migrate the workflows schema?
    Thanks
    GB

    Hi Dan.
    You can't upgrade to GW 2012 on SLES 9, and you can't install GW 7 on SLES 11 - quandry huh! Ultimately, here's what you need to do:
    1. Install SLES 11 on the new server.
    2. Install eDirectory and add it to the tree.
    3. Move the system to the new server
    4. Upgrade to 2012 you'll never put GW7 on it of course - just do a move/upgrade at the same time.
    5. Promote the edirectory partiton on the new server to Master.
    6. Remove eDirectory from the old server.
    7. Shut SLES 9 Down
    Hope that helps!
    Oh - by the way - you asked me about my "Moving GroupWise" book in another message. It is used to move GW, but keep the same version. The only book I have that discusses a move/upgrade in one fell swoop is actually the GroupWise 2012 Upgrade Guide for "NetWare". And while it is assuming you are moving from NetWare, your situation would be very similar. It doesn't specifically cover the eDirectory bit though.

  • Issue in creating OPSS Schema with rcu.

    Hi,
      There is an issue in creating the OPSS schema in oracle DB 11.2.0.3.0 even though the rcu (Oracle Fusion Middleware Repository Creation Utility 11g (11.1.2.1.0)
       completed it without any error with status of success opss schema at the end of it's creation operation.
          But the validation of opss schema is getting Failed as shown by this query ! I 've refferenced this Doc's Configuring the OPSS Security Store
    SQL> desc jps_dn;
    ERROR:
    ORA-04043: object jps_dn does not exist
      There is no error in rcu log And in opss.log as well.  Also There is NO issue in createing the Other schema's like OIM,OAM,OAAM
        Wonder what am missing here that causing the shema not reflecting or Validation of it getting Failed  in the database. 
         Also i 've tried by changing this sec_case_sensitive_logon value to False  from true in the DB but to no effect.
         in both cases the OPSS schema validation is getting failed. 
         Greately appreciate any suggestion.  
    Please see the following summary of rcu operation
    Repository Creation Utility: Create - Completion Summary
    Database details:
    Host Name                       : ebs.oracle.com
    Port                            : 1521
    Service Name                    : IAM.ORACLE.COM
    Connected As                    : sys
    Prefix for (prefixable) Schema Owners : DEV
    RCU Logfile                     : /data/Rootdownloads/rcuHome/rcu/log/logdir.2013-09-25_04-57/rcu.log
    Component schemas created:
    Component                       Status  Logfile /data/Rootdownloads/rcuHome/rcu/log/logdir.2013-09-25_04-57/opss.log
    Oracle Platform Security Services               Success        
      Please suggest.
    Thanks
    Priya

    Hi,
    Thanks for the response Hussein and Helios,
       I am able to solve the issue as it was due to incorrect rcu version.
      But I am really struggling to Configure Policy store for the last 10 days with the following  Error.  I would be highly obliged if you could guide me on this issue.
    I am getting stuck at this  Error while running configureSecurityStore.py.  for the error I 've refferenced these Metalink Note ID's
      But to No Avail.
    configureSecurityStore.py Fails With ORA-00001: unique constraint (DEV_OPSS.IDX_JPS_RDN_PDN) violated. (Doc ID 1547423.1) (1549203.1)
       Summarining  
       The steps that I 've followed
    1. Created the Schema's Using rcu 11g (11.1.2.0.0) on 11.2.0.3.0 Oracle DB. (OS :RHEL 64 bit)
    2. Insatlled Weblogic 10.3.6
    3. Installed   Oracle Identity and Access Management 11g (11.1.2.0.0) And  SOA 11.1.1.7.0
    4. Run config.sh to create OIM,OAM and OAAM domains
    5. Run setDomainEnv.sh from user_projects/domains//bin
      After that I tried to Configure the DB Policy store before starting the Admin Server. But getting the same error. every time it get  failed
    I 've dropped schemas and Reinstall the WLS,IAM,SOA software again But got the same Error.
      at least 20 times in the last 10 days I 've Dropped schema even created New DB and Reinstalled All the IAM Software But to No Avail
    Please see the  following Exact Error. And I would be highly Obliged if you could drop few lines as what I am missing here in the entire process.
    [oracle@ebs Middleware]$ /oracle/Middleware/oracle_common/common/bin/wlst.sh /oracle/Middleware/Oracle_IAM/common/tools/configureSecurityStore.py -d /oracle/Middleware/user_projects/domains/IAMDomain/  -c IAM -p welcome1 -m create
    CLASSPATH=/oracle/Middleware/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/oracle/Middleware/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/oracle/jdk1.6.0_30/lib/tools.jar:/oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/oracle/Middleware/modules/features/weblogic.server.modules_10.3.6.0.jar:/oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/oracle/Middleware/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/oracle/Middleware/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/oracle/jdk1.6.0_30/lib/tools.jar:/oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/oracle/Middleware/modules/features/weblogic.server.modules_10.3.6.0.jar:/oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/oracle/Middleware/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/oracle/Middleware/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/oracle/jdk1.6.0_30/lib/tools.jar:/oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/oracle/Middleware/modules/features/weblogic.server.modules_10.3.6.0.jar:/oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar::/oracle/Middleware/oracle_common/modules/oracle.jrf_11.1.1/jrf-wlstman.jar:/oracle/Middleware/oracle_common/common/wlst/lib/adfscripting.jar:/oracle/Middleware/oracle_common/common/wlst/lib/adf-share-mbeans-wlst.jar:/oracle/Middleware/oracle_common/common/wlst/lib/mdswlst.jar:/oracle/Middleware/oracle_common/common/wlst/resources/auditwlst.jar:/oracle/Middleware/oracle_common/common/wlst/resources/igfwlsthelp.jar:/oracle/Middleware/oracle_common/common/wlst/resources/jps-wlst.jar:/oracle/Middleware/oracle_common/common/wlst/resources/jps-wls-trustprovider.jar:/oracle/Middleware/oracle_common/common/wlst/resources/jrf-wlst.jar:/oracle/Middleware/oracle_common/common/wlst/resources/oamap_help.jar:/oracle/Middleware/oracle_common/common/wlst/resources/oamAuthnProvider.jar:/oracle/Middleware/oracle_common/common/wlst/resources/ossoiap_help.jar:/oracle/Middleware/oracle_common/common/wlst/resources/ossoiap.jar:/oracle/Middleware/oracle_common/common/wlst/resources/ovdwlsthelp.jar:/oracle/Middleware/oracle_common/common/wlst/resources/sslconfigwlst.jar:/oracle/Middleware/oracle_common/common/wlst/resources/wsm-wlst.jar:/oracle/Middleware/utils/config/10.3/config-launch.jar::/oracle/Middleware/wlserver_10.3/common/derby/lib/derbynet.jar:/oracle/Middleware/wlserver_10.3/common/derby/lib/derbyclient.jar:/oracle/Middleware/wlserver_10.3/common/derby/lib/derbytools.jar::
    Initializing WebLogic Scripting Tool (WLST) ...
    Welcome to WebLogic Server Administration Scripting Shell
    Type help() for help on available commands
    Info: Data source is: opss-DBDS
    Info: DB JDBC driver: oracle.jdbc.OracleDriver
    Info: DB JDBC URL: jdbc:oracle:thin:@ebs.oracle.com:1521/iam.oracle.com
    INFO: Found persistence provider "org.eclipse.persistence.jpa.PersistenceProvider". OpenJPA will not be used.
    [oracle.security.jps.internal.config.db.DbCredStoreServiceConfigurator]  checkServiceSetup - done
    [oracle.security.jps.internal.config.db.DbCredStoreServiceConfigurator]  checkServiceSchema - Store schema has been seeded completely
    Sep 26, 2013 1:35:36 AM oracle.security.jps.internal.config.ldap.LdapCredStoreServiceConfigurator schemaCompatibleHandler
    INFO: Credential store schema upgrade not required. Store Schema version 11.1.1.6.0 is compatible to the seed schema version 11.1.1.4.0
    [oracle.security.jps.internal.config.db.DbCredStoreServiceConfigurator]  updateServiceConfiguration - done
    [oracle.security.jps.internal.config.db.DbCredStoreServiceConfigurator]  seedSchemaAndCreateDIT - done
    Sep 26, 2013 1:35:40 AM oracle.security.jps.internal.tools.utility.JpsUtilMigrationCredImpl migrateCredentialData
    INFO: Migration of Credential Store data in progress.....
    Sep 26, 2013 1:35:40 AM oracle.security.jps.internal.tools.utility.JpsUtilMigrationCredImpl migrateCredentialData
    INFO: Migration of Credential Store data completed, Time taken for migration is 00:00:00
    [oracle.security.jps.internal.config.db.DbCredStoreServiceConfigurator]  migrateData - done
    [oracle.security.jps.internal.config.db.DbCredStoreServiceConfigurator]  testJpsService - done
    [oracle.security.jps.internal.config.db.DbKeyStoreServiceConfigurator]  checkServiceSetup - done
    [oracle.security.jps.internal.config.db.DbKeyStoreServiceConfigurator]  checkServiceSchema - Store schema has been seeded completely
    Sep 26, 2013 1:35:41 AM oracle.security.jps.internal.config.ldap.LdapKeyStoreServiceConfigurator schemaCompatibleHandler
    INFO: Keystore schema upgrade not required. Store Schema version 11.1.1.6.0 is compatible to the seed schema version 11.1.1.4.0
    [oracle.security.jps.internal.config.db.DbKeyStoreServiceConfigurator]  updateServiceConfiguration - done
    [oracle.security.jps.internal.config.db.DbKeyStoreServiceConfigurator]  seedSchemaAndCreateDIT - done
    [oracle.security.jps.internal.config.db.DbKeyStoreServiceConfigurator]  migrateData - done
    [oracle.security.jps.internal.config.db.DbKeyStoreServiceConfigurator]  testJpsService - done
    [oracle.security.jps.internal.config.db.DbPolicyStoreServiceConfigurator]  checkServiceSetup - done
    Sep 26, 2013 1:35:45 AM oracle.security.jps.internal.config.ldap.LdapPolicyStoreServiceConfigurator schemaCompatibleHandler
    INFO: Policy schema upgrade not required. Store Schema version 11.1.1.6.0 is compatible to the seed schema version 11.1.1.4.0
    [oracle.security.jps.internal.config.db.DbPolicyStoreServiceConfigurator]  checkServiceSchema - Store schema has been seeded completely
    [oracle.security.jps.internal.config.db.DbPolicyStoreServiceConfigurator]  updateServiceConfiguration - done
    [oracle.security.jps.internal.config.db.DbPolicyStoreServiceConfigurator]  seedSchemaAndCreateDIT - done
    WLS ManagedService is not up running. Fall back to use system properties for configuration.
    Sep 26, 2013 1:36:00 AM oracle.security.jps.internal.tools.utility.destination.apibased.JpsDstPolicy migrateDataInternal
    INFO: Migration of Admin Role Members started
    Sep 26, 2013 1:36:00 AM oracle.security.jps.internal.tools.utility.destination.apibased.JpsDstPolicy migrateDataInternal
    INFO: Migration of Admin Role Members completed in 00:00:00
    [oracle.security.jps.internal.config.db.DbPolicyStoreServiceConfigurator]  migrateData - done
    [oracle.security.jps.internal.config.db.DbPolicyStoreServiceConfigurator]  testJpsService - done
    [oracle.security.jps.internal.config.db.DbAuditStoreServiceConfigurator]  checkServiceSetup - done
    [oracle.security.jps.internal.config.db.DbAuditStoreServiceConfigurator]  checkServiceSchema - Store schema has been seeded completely
    Sep 26, 2013 1:36:00 AM oracle.security.jps.internal.config.ldap.LdapAuditServiceConfigurator schemaCompatibleHandler
    INFO: Audit store schema upgrade not required. Store Schema version 11.1.1.6.0 is compatible to the seed schema version 11.1.1.4.0
    [oracle.security.jps.internal.config.db.DbAuditStoreServiceConfigurator]  updateServiceConfiguration - done
    [oracle.security.jps.internal.config.db.DbAuditStoreServiceConfigurator]  seedSchemaAndCreateDIT - done
    Sep 26, 2013 1:36:00 AM oracle.security.jps.internal.audit.AuditServiceImpl registerInternal
    WARNING: Cannot register to audit service for component "JPS".
    Sep 26, 2013 1:36:00 AM oracle.security.jps.internal.tools.utility.JpsUtilMigrationAuditStoreImpl migrateAuditStoreData
    INFO: Migration of Audit Store data in progress.....
    Sep 26, 2013 1:36:51 AM oracle.security.jps.internal.tools.utility.JpsUtilMigrationAuditStoreImpl migrateAuditStoreData
    INFO: Migration of Audit Store data completed, Time taken for migration is 00:00:50
    [oracle.security.jps.internal.config.db.DbAuditStoreServiceConfigurator]  migrateData - done
    [oracle.security.jps.internal.config.db.DbAuditStoreServiceConfigurator]  testJpsService - done
    persist to output: /oracle/Middleware/user_projects/domains/IAMDomain/config/fmwconfig - done
    INFO: Found persistence provider "org.eclipse.persistence.jpa.PersistenceProvider". OpenJPA will not be used.
    [oracle.security.jps.internal.config.db.DbCredStoreServiceConfigurator]  checkServiceSetup - done
    Sep 26, 2013 1:36:55 AM oracle.security.jps.internal.config.ldap.LdapCredStoreServiceConfigurator schemaCompatibleHandler
    INFO: Credential store schema upgrade not required. Store Schema version 11.1.1.6.0 is compatible to the seed schema version 11.1.1.4.0
    [oracle.security.jps.internal.config.db.DbCredStoreServiceConfigurator]  checkServiceSchema - Store schema has been seeded completely
    [oracle.security.jps.internal.config.db.DbCredStoreServiceConfigurator]  updateServiceConfiguration - done
    [oracle.security.jps.internal.config.db.DbCredStoreServiceConfigurator]  seedSchemaAndCreateDIT - failed JPS-10000: There was an internal error in the policy store.
    Exception in thread "main" java.lang.RuntimeException: JPS-10000: There was an internal error in the policy store.
    oracle.security.jps.internal.api.common.JpsCredentialStoreLdapNodeCreationException: JPS-10000: There was an internal error in the policy store.
         at oracle.security.jps.internal.common.rdbms.util.JpsDbBootstrapImpl.createJpsCredentailStoreInLdap(JpsDbBootstrapImpl.java:303)
        at oracle.security.jps.internal.config.ldap.LdapCredStoreServiceConfigurator.addServiceStoreBase(LdapCredStoreServiceConfigurator.java:113)
         at oracle.security.jps.internal.config.ldap.LdapCredStoreServiceConfigurator.seedSchemaAndCreateDIT(LdapCredStoreServiceConfigurator.java:142)
        at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnabler.runConfiguration(LdapServiceEnabler.java:484)
         at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnabler.configureCredentialStoreService(LdapServiceEnabler.java:232)
        at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnabler.configureSecurityServices(LdapServiceEnabler.java:170)
         at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnabler.main(LdapServiceEnabler.java:129)
    Caused by: oracle.security.jps.service.policystore.PolicyStoreConnectivityException: JPS-10000: There was an internal error in the policy store.
         at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.handleRollbackException(JpsDBDataManager.java:1345)
        at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.internalCommitTxn(JpsDBDataManager.java:1508)
         at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.commitTransactionInDoAs(JpsDBDataManager.java:1475)
        at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.commitTransaction(JpsDBDataManager.java:1466)
         at oracle.security.jps.internal.common.rdbms.util.JpsDbBootstrapImpl.createJpsCredentailStoreInLdap(JpsDbBootstrapImpl.java:296)
        ... 6 more
    Caused by: javax.persistence.RollbackException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.3.1.v20111018-r10243): org.eclipse.persistence.exceptions.DatabaseException
    Internal Exception: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV1_OPSS.IDX_JPS_RDN_PDN) violated
    Error Code: 1
    Call: INSERT INTO JPS_DN (ENTRYID, PARENTDN, RDN) VALUES (?, ?, ?)
         bind => [3 parameters bound]
    Query: InsertObjectQuery(EntryId=11437:rdn=cn=credentialstore:pdn=cn=jpsroot,cn=jpscontext,cn=iam,: JpsStore Entry={[EntryId = 11437:Attribute RowId = 45348
    dn = cn=CredentialStore,cn=IAM,cn=JPSContext,cn=jpsroot, EntryId = 11437:Attribute RowId = 45349
    objectclass = top, EntryId = 11437:Attribute RowId = 45350
    objectclass = orclContainer, EntryId = 11437:Attribute RowId = 45351
    cn = CredentialStore]})
        at org.eclipse.persistence.internal.jpa.transaction.EntityTransactionImpl.commitInternal(EntityTransactionImpl.java:102)
         at org.eclipse.persistence.internal.jpa.transaction.EntityTransactionImpl.commit(EntityTransactionImpl.java:63)
        at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager$8.run(JpsDBDataManager.java:1487)
         at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.internalCommitTxn(JpsDBDataManager.java:1492)
        ... 9 more
    Caused by: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.3.1.v20111018-r10243): org.eclipse.persistence.exceptions.DatabaseException
    Internal Exception: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV1_OPSS.IDX_JPS_RDN_PDN) violated
    Error Code: 1
    Call: INSERT INTO JPS_DN (ENTRYID, PARENTDN, RDN) VALUES (?, ?, ?)
         bind => [3 parameters bound]
    Query: InsertObjectQuery(EntryId=11437:rdn=cn=credentialstore:pdn=cn=jpsroot,cn=jpscontext,cn=iam,: JpsStore Entry={[EntryId = 11437:Attribute RowId = 45348
    dn = cn=CredentialStore,cn=IAM,cn=JPSContext,cn=jpsroot, EntryId = 11437:Attribute RowId = 45349
    objectclass = top, EntryId = 11437:Attribute RowId = 45350
    objectclass = orclContainer, EntryId = 11437:Attribute RowId = 45351
    cn = CredentialStore]})
        at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:324)
         at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:840)
        at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeNoSelect(DatabaseAccessor.java:906)
         at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:592)
        at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:535)
         at org.eclipse.persistence.internal.sessions.AbstractSession.basicExecuteCall(AbstractSession.java:1717)
        at org.eclipse.persistence.sessions.server.ClientSession.executeCall(ClientSession.java:253)
        at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:207)
         at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:193)
        at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.insertObject(DatasourceCallQueryMechanism.java:342)
         at org.eclipse.persistence.internal.queries.StatementQueryMechanism.insertObject(StatementQueryMechanism.java:162)
        at org.eclipse.persistence.internal.queries.StatementQueryMechanism.insertObject(StatementQueryMechanism.java:177)
         at org.eclipse.persistence.internal.queries.DatabaseQueryMechanism.insertObjectForWrite(DatabaseQueryMechanism.java:472)
        at org.eclipse.persistence.queries.InsertObjectQuery.executeCommit(InsertObjectQuery.java:80)
         at org.eclipse.persistence.queries.InsertObjectQuery.executeCommitWithChangeSet(InsertObjectQuery.java:90)
        at org.eclipse.persistence.internal.queries.DatabaseQueryMechanism.executeWriteWithChangeSet(DatabaseQueryMechanism.java:287)
         at org.eclipse.persistence.queries.WriteObjectQuery.executeDatabaseQuery(WriteObjectQuery.java:58)
        at org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:844)
        at org.eclipse.persistence.queries.DatabaseQuery.executeInUnitOfWork(DatabaseQuery.java:743)
         at org.eclipse.persistence.queries.ObjectLevelModifyQuery.executeInUnitOfWorkObjectLevelModifyQuery(ObjectLevelModifyQuery.java:108)
        at org.eclipse.persistence.queries.ObjectLevelModifyQuery.executeInUnitOfWork(ObjectLevelModifyQuery.java:85)
         at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2871)
        at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1516)
         at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1498)
        at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1449)
        at org.eclipse.persistence.internal.sessions.CommitManager.commitNewObjectsForClassWithChangeSet(CommitManager.java:224)
         at org.eclipse.persistence.internal.sessions.CommitManager.commitAllObjectsForClassWithChangeSet(CommitManager.java:191)
        at org.eclipse.persistence.internal.sessions.CommitManager.commitAllObjectsWithChangeSet(CommitManager.java:136)
         at org.eclipse.persistence.internal.sessions.AbstractSession.writeAllObjectsWithChangeSet(AbstractSession.java:3799)
        at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.commitToDatabase(UnitOfWorkImpl.java:1415)
         at org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.commitToDatabase(RepeatableWriteUnitOfWork.java:636)
        at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.commitToDatabaseWithChangeSet(UnitOfWorkImpl.java:1505)
         at org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.commitRootUnitOfWork(RepeatableWriteUnitOfWork.java:267)
        at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.commitAndResume(UnitOfWorkImpl.java:1143)
         at org.eclipse.persistence.internal.jpa.transaction.EntityTransactionImpl.commitInternal(EntityTransactionImpl.java:84)
        ... 12 more
    Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV1_OPSS.IDX_JPS_RDN_PDN) violated
        at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:445)
        at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
        at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879)
        at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:450)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:192)
        at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
        at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:207)
        at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1044)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1329)
        at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3593)
        at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3674)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1354)
        at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:831)
         ... 45 more
        at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnabler.throwExceptionWithStackTrace(LdapServiceEnabler.java:145)
        at oracle.security.jps.internal.tools.configuration.ldap.LdapServiceEnabler.main(LdapServiceEnabler.java:137)
    Error: Failed to initialize security store.
    Error: Create operation has failed.
    [oracle@ebs Middleware]$
      Also OPSS schema is FIne as it's get validated by this query.
    SQL>  select * from JPS_DN where rdn like '%cn=credentialstore%';
       ENTRYID
    RDN
    PARENTDN
          3004
    cn=credentialstore
    cn=oracleschemaversion,cn=opss,
          5004
    cn=credentialstore
    cn=jpsroot,cn=jpscontext,cn=iam,
       ENTRYID
    RDN
    PARENTDN
    Please suggest.
    Thanks
    Priya

  • DB quries wrt migration from oim 9.1 to oim 11g (11.1.1.5)

    Hi All,
    We have to do migration from oim9.1 to oim 11g (11.1.1.5) with new DB and AppServers.
    High level Steps are as follows
    1. import the existing OIm9.1 DB to new DB.
    2. Create Additional schemas (SOA,MDS) on new DB.
    3. Install OIm 11g and SOA applications on new servers
    4. Migrate new DB's OIm 9.1 Schema to support oim 11g (by running Oracle_IDM_Home/bin/ua.sh)
    5. Some other releated tasks (As mentioned in the upgrade guide)
    6. Migrate OIM application middlte tier
    7. Other tasks (As mentioned in the upgrade guide)
    Our requirement is
    Step 1, we have to import DevDB data to new tempDB and will proceed with new tempDB for migration.
    Then after, we wanted to import the tempDB to NewDevDB and then wanted to replace newDevDB data(which is imported from tempDB) with QA DB's data (its QA oim 9.1 DB). (We have limitations to take QADB at first time itself, thats why, we are taking Dev DBdata in step 1).
    My questions are
    1. What are the required changes required for Moving oim11g DB to another DB (by dumping the same DB).
    2. After, performing the migration, can we dump only the OIm 9.1 DBdata(QA) to OIm 11g DB? if yes, will it affect the oim 11g DB Schema.
    Please suggest me, or do let me know, if you need any other information.
    Thanks.

    I think, I can consider my Question #1 is as equal to Oracle Identity Manager Database Host and Port Changes, So I can use the steps mentioned in the link http://download.oracle.com/docs/cd/E21764_01/doc.1111/e14308/handlinglcm.htm#CIAJBHHH (Section: 13.1.1 Oracle Identity Manager Database Host and Port Changes). Do we need to do any additional modification with in any configuration files? Please, can any one confirm it.
    And Can any one help on my question #2.
    Edited by: user13285646 on Aug 11, 2011 12:46 PM

  • Help with Understanding Workspaces in OWB 11G

    Hi
    We are planning to upgrade a 10.1.0.3 repository to 10.1.0.4 via the upgrade scripts and then migrate the entire environment to a new server with an 11g database. Also we need to migrate a separate 10gr2 repository and target schemas to the same 11g database.
    I have been reading the documentation and can see that the repository (OWBSYS) can be split into separate workspace owners that you can assign users to.
    I have looked at the Oracle tutorial for OWB 11g and can see it asks for a Workspace Owner User Name and also a Workspace Name. What is the difference between these? If you have multiple Workspaces do these appear as separate schemas on the database and, if so, do these have the Workspace Owner User Name or the Workspace Name?
    In our 10.1.0.3 database we have a design repository A, and a separate runtime repository with a runtime owner and runtime user schema.
    In the 10GR2 database we have a design repository B (containing design and runtime metadata).
    I am thinking of creating one 11G Workspace for the 10.1.0.3 repository data and another workspace for the 10GR2 data. However, would the workspace owner user names need to be the same i.e.'A' and 'B'?
    Any advice would be appreciated.
    Thanks
    GB

    This is what I've learned so far:
    You're repository will always be on the OWBSYS schema. So if you have 2 repositories and plan do put them both on the same database then you'll end up with 1 repository with 2 workspaces.
    All the metadata is stored on the OWBSYS schema.
    The workspace owner will be the user with most privileges on that workspace and can have a different name of the workspace.
    You can add more users (besides the workspace owner) to any of the workspaces.
    hope it helps... and please someone correct me if I'm wrong.

  • AQ Callback across two Schemas

    I'm trying to get AQ Callback working across 2 Schemas. I have it working fine when all is contained in a single Schema but when I split it out across 2 Schemas I get no messages dequeued. I'll post the code once I've had a chance to sanitise it but here's a summary of what we're doing:
    1. Type created in Schema A - this will be the message payload.
    2. Grant all on Type to Schema B.
    3. Create Queue and Q Tab and Start Q in Schema A.
    4. Create Enqueue Procedure in Schema A.
    5. Create Dequeue Procedure in Schema B.
    6. Add Subscriber (from Schema A, but that should be incidental)
    7. Register the Callback (from Schema A) so that Schema B Dequeue Procedure is invoked via Callback.
    If I enqueue a message from Schema A is just sits on the queue forever.
    I'm convinced it's a permissions/privileges thing but I can't work it out. If anyone has experienced this before I'm very interested in any advice you have!
    Cheers,
    Pete

    Hi,
    I am also facing a similar issue. Is it required all the AQ infrastructure (Message tables, queues, enqueue and dequeue functions) be in the same schema? Below is my code, If I remove the schema qualifier - 'reddypr_rms01' from the below code, enqueue works fine, but it never dequeues. If I use the schema names then everything works fine.
    The database is structured as follows, all my application tables, procedures etc is in schema 'rms01'. These objects are just synonyms in the schema 'reddypr_rms01'. I have created the AQ modules locally in reddypr_rms01.
    create Type reddypr_rms01.message_typ_1 as object (
    subject Varchar2(30), text Varchar2(80)
    begin
    dbms_aqadm.create_queue_table(
    queue_table => 'reddypr_rms01.objmsgs80_qtab_1',
    queue_payload_type => 'reddypr_rms01.Message_typ_1',
    multiple_consumers => true);
    dbms_aqadm.create_queue(
    queue_name => 'MSG_QUEUE',
    queue_table => 'reddypr_rms01.objmsgs80_qtab_1');
    dbms_aqadm.start_queue(
    queue_name => 'MSG_QUEUE');
    end;
    create procedure enqueue_msg( p_msg in varchar2 )
    as
    enqueue_options dbms_aq.enqueue_options_t;
    message_properties dbms_aq.message_properties_t;
    message_handle RAW(16);
    message reddypr_rms01.message_typ_1;
    begin
    message := message_typ_1('NORMAL MESSAGE', p_msg );
    dbms_aq.enqueue(queue_name => 'msg_queue',
    enqueue_options => enqueue_options,
    message_properties => message_properties,
    payload => message,
    msgid => message_handle);
    end;
    create table message_table(
    msg Varchar2(4000)
    create or replace procedure notifyCB( context raw,
    reginfo sys.aq$_reg_info,
    descr sys.aq$_descriptor,
    payload raw,
    payloadl number)
    as
    dequeue_options dbms_aq.dequeue_options_t;
    message_properties dbms_aq.message_properties_t;
    message_handle raw(16);
    message reddypr_rms01.message_typ_1;
    begin
    dequeue_options.msgid := descr.msg_id;
    dequeue_options.consumer_name := descr.consumer_name;
    DBMS_AQ.DEQUEUE(
    queue_name => descr.queue_name,
    dequeue_options => dequeue_options,
    message_properties => message_properties,
    payload => message,
    msgid => message_handle);
    insert into message_table values(
    'Dequeued and processed "' || message.text || '"' );
    commit;
    end;
    begin
    dbms_aqadm.add_subscriber(
    queue_name => 'reddypr_rms01.msg_queue',
    subscriber => sys.aq$_agent('recipient', null, null));
    end;
    begin
    dbms_aq.register(sys.aq$_reg_info_list(
    sys.aq$_reg_info('reddypr_rms01.MSG_QUEUE:RECIPIENT',
    DBMS_aq.NAMESPACE_AQ,
    'plsql://reddypr_rms01.notifyCB',
    HEXTORAW('FF')) ) ,
    1);
    end;
    begin
    enqueue_msg('Advance_Queuing');
    end;
    /

  • Generated SQL does not have fully qualified columnnames

    Hi,
    I'm trying to run a JDO query which results in:
    [code=-5001, state=42703]
    java.sql.SQLException: [SQL5001] Column qualifier or table CUSTOMER
    undefined.
    The model is basically like this:
    Class Order has a 1-1 relation with Class CustomerRole which in turn has a
    n-1 relation with Class Customer
    Class Order and CustomerRole are both mapped to table SCHEMA1.ORDER (the
    ORDER table contains the FK to the CUSTOMER table)
    Class Customer is mapped to table SCHEMA2.CUSTOMER
    I perform a query using an Extend of class Order.
    I add the following filter to the query:
    "this.CustomerRole.Customer != null"
    (CustomerRole is the name of the relation between Order and CustomerRole,
    while Customer is the name of the relation between CustomerRole and
    Customer)
    When I execute this query, I get the following message:
    kodo.util.DataStoreException: [SQL5001] Column qualifier or table CUSTOMER
    undefined. {SELECT t0.ID, t2.CUSTID, t3.ADDRESS, t4.COUNTRY,
    t4.COUNTRYNAME, t2.NAME FROM SCHEMA1.ORDER t0 INNER JOIN SCHEMA1.ORDER t1
    ON t0.ID = t1.ID LEFT OUTER JOIN SCHEMA2.CUSTOMER t2 ON t1.CUSTID =
    t2.CUSTID LEFT OUTER JOIN SCHEMA2.CUSTOMER t3 ON t2.CUSTID = t3.CUSTID
    LEFT OUTER JOIN SCHEMA1.COUNTRY t4 ON t3.COUNTRY = t4.COUNTRY WHERE (0 <
    (SELECT COUNT(*) FROM SCHEMA2.CUSTOMER WHERE CUSTOMER.CUSTID =
    t1.CUSTID))} [code=-5001, state=42703]
    NestedThrowables:
    com.solarmetric.jdbc.ReportingSQLException: [SQL5001] Column qualifier or
    table CUSTOMER undefined. {SELECT t0.ID, t2.CUSTID, t3.ADDRESS,
    t4.COUNTRY, t4.COUNTRYNAME, t2.NAME FROM SCHEMA1.ORDER t0 INNER JOIN
    SCHEMA1.ORDER t1 ON t0.ID = t1.ID LEFT OUTER JOIN SCHEMA2.CUSTOMER t2 ON
    t1.CUSTID = t2.CUSTID LEFT OUTER JOIN SCHEMA2.CUSTOMER t3 ON t2.CUSTID =
    t3.CUSTID LEFT OUTER JOIN SCHEMA1.COUNTRY t4 ON t3.COUNTRY = t4.COUNTRY
    WHERE (0 < (SELECT COUNT(*) FROM SCHEMA2.CUSTOMER WHERE CUSTOMER.CUSTID =
    t1.CUSTID))} [code=-5001, state=42703]
    java.sql.SQLException: [SQL5001] Column qualifier or table CUSTOMER
    undefined.
         at kodo.jdbc.sql.SQLExceptions.getDataStore(SQLExceptions.java:63)
         at kodo.jdbc.sql.SQLExceptions.getDataStore(SQLExceptions.java:51)
         at
    kodo.jdbc.runtime.AbstractSelectResultObjectProvider.handleCheckedException(AbstractSelectResultObjectProvider.java:150)
         at com.solarmetric.rop.WindowResultList.<init>(WindowResultList.java:57)
         at
    kodo.jdbc.runtime.JDBCFetchConfigurationImpl.newResultList(JDBCFetchConfigurationImpl.java:135)
         at
    kodo.runtime.CopyOnWriteFetchConfiguration.newResultList(CopyOnWriteFetchConfiguration.java:159)
         at kodo.query.AbstractQuery.executeWithMap(AbstractQuery.java:750)
         at kodo.query.AbstractQuery.execute(AbstractQuery.java:633)
         at TestApp.<init>(TestApp.java:67)
         at TestApp.main(TestApp.java:135)
    The problem is the last part of the query where it selects from
    SCHEMA2.CUSTOMER while the Where part refers to just CUSTOMER (without
    schema qualifier).
    Are there any ideas to solve this? Is there a way to force columnnames
    always being fully qualified in generated SQL statements?
    Thanks,
    Regards,
    Alexander

    Unfortunately, this is a bug that has to be fixed on our end. We'll
    make sure a fix is in the next 3.1 release. Thanks for the report!

Maybe you are looking for

  • Transfer Structure Status - Clock Symbol

    I have data in my ODS and have moved that data to the cube.  I have lost some of that data in the cube because of a delete of overlapping conditions.  I need to get that data back into the cube from the ODS.  I was going to load it from the ODS, but

  • What's the best way to configure multiple email accounts?

    First time poster, just switched over from Blackberry to he iPhone yesterday. I use Mail, iCal, Address Book, iTunes, iWeb, and iPhoto. I have 2 Macs (a Macbook for work and an iMac for home) and an iPhone 3G. Here's what I want to do: 1) I have 4 em

  • List of process chains and RSCRM queries triggered after an event

    HI Experts, Is there anyway to find out the list of process chains scheduled after an event is triggered in BW? Is there any table maintained for the same? Thanks In Advance, Srivatsan.S

  • ISQL*PLUS install at EBS 11.5.9

    Our System is OS : RedHat 2.1 AS EBS : 11.5.9 DB : 9.2.0.3 1. I download "Oracle9i Database Release 2 Enterprise/Standard Edition for Linux" (9.2.0.4) at the oracle homepage(otn.oracle.com) 2. when I execute "runInstaller" to add on package(isql*plus

  • Video out of sync in timeline

    Hey, I got one video clip with funny things happening. I now try to sync different sound effects to these funny things. When I play the project from the beginning they all sync fine. But as soon as I try to view the project starting a couple of secon