Query on AS400/DB2

Hello,
I am using kodo2.5.0 with the DB2 for OS/400 JDBC Driver.
The following simple code return empty result.
Transaction tran = pm.currentTransaction();
tran.begin();
Query qry = pm.newQuery(Customer.class, "name == \"Mark\"");
Collection result = qry.execute();
System.out.println("Size = " + resutl.size());
tran.commit();
The size SHOULDN'T be zero.
but the following code return the correct obj.
Transaction tran = pm.currentTransaction();
tran.begin();
CustomerId objId = new CustomerId("Mark");
Customer customer = (Customer)pm.getObjectById(objId, true);
tran.commit();
Both codes work fine against DB2 on Windows. only make differents on
DB2/AS400.
The JDBC driver for AS400 should be fine. It works fine for JDBC,
PerparedStatement etc.
It seems all the queries do AS400/DB2 returning emtpy collection.
Is there anyway I can see how many rows get back
from DB by using Kodo?
Any hints are welcome.
Thanks,
pike

It works.
Thanks, Harald.
Harald wrote:
pike wrote:
Hello,
I am using kodo2.5.0 with the DB2 for OS/400 JDBC Driver.
The following simple code return empty result.
Transaction tran = pm.currentTransaction();
tran.begin();
Query qry = pm.newQuery(Customer.class, "name == "Mark"");
Collection result = qry.execute();
System.out.println("Size = " + resutl.size());
tran.commit();
The size SHOULDN'T be zero.
but the following code return the correct obj.
Transaction tran = pm.currentTransaction();
tran.begin();
CustomerId objId = new CustomerId("Mark");
Customer customer = (Customer)pm.getObjectById(objId, true);
tran.commit();
Both codes work fine against DB2 on Windows. only make differents on
DB2/AS400.
The JDBC driver for AS400 should be fine. It works fine for JDBC,
PerparedStatement etc.
It seems all the queries do AS400/DB2 returning emtpy collection.
Is there anyway I can see how many rows get back
from DB by using Kodo?
Any hints are welcome.
Thanks,
pike
Hello,
i had the same problem (also DB2/AS400 and kodo2.5.2). After setting
com.solarmetric.kodo.DefaultFetchThreshold:-1
in kodo.properties it worked.
hope it help,
Harald

Similar Messages

  • Issues with universes for AS400 DB2 databases

    I create Business Objects universes and Webi reports accessing data from AS400 DB2 databases (via ODBC). I have a couple of queries that I have been having trouble resolving. I hope someone in the forum is working on a similar set-up.
    My queries are as follows:
    1. If I have 2 different libraries with identical set of tables (physical files), after creating a universe in designer based on the tables in one library, is there an automated way to create another identical universe pointing to or referring to the 2nd library?  Every physical file and field structure within it are the same. The only difference is that they are located in 2 different libraries, containing different data.
    2. For physical files with 'multiple members', the reports generated by Business Objects seem to only access the data in the first member of the file. Is there a setting where this behavior can overidden or by passed.  I think 'multiple members' is a characteric that unique to tables in AS400 DB2.
    Would really appreciate the help! Thanks!

    Since it doesn't appear the Online Capture for DB2 is supported, I am trying to work around this and do the Offline capture.
    I copied the generated files from the Offline Capture option (startDump.sh,getForeignKeys.sh,getProcedures.sh, and db2v9.ocp)to the Linux box where the DB2 Database resides.
    After connecting to the DB2 Database (DB2DB1), I entered:
    sh startDump.sh DB2DB1 USRNAME USRPSWD
    to run the script startDump.sh. It produced files:
    Connect.dat
    Schemas.dat
    It also created a subfolder (DB2DB1) containing:
    checkConstraints.dat
    foreignKeys.dat
    indexes.dat
    primarykeys.dat
    routines.dat
    synonyms.dat
    tables.dat
    triggers.dat
    views.dat.
    My question is what do I do with these files? I believe the documentation said that file db2v9.ocp was supposed to be modified, but it wasn’t modified after I ran startDump.sh. Was I supposed to run getForeignKeys.sh and getProcedures.sh, or did startDump.sh already run these? Can anyone provide an example of how this is to be run? The documentation doesn't provide a DB2 example.
    Note: The DB2 Supplement: http://download.oracle.com/docs/cd/E15846_01/doc.21/e15286.pdf doesn't seem to discuss the offline capture. It doesn't reference the startDump.sh file at all.

  • Not Able to create ODBC Connections to AS400 DB2 from OWB 11g

    Hi,
    Currently i am in the process of setting up of database connections to AS400 DB2 Database from Oracle Warehouse Builder 11g.
    I installed Oracle 11.1.0.6.0 and upgraded to 11.1.0.7.0.
    I am able to create database links manually but not able to create using oracle warehouse builder.
    The error i am getting error
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [IBM][Client Access Express ODBC Driver (32-bit)][DB2/400 SQL]SQL7973 - SQL create package for DG4ODBCFBA in REMOTEDB has failed.
    ORA-02063: preceding 2 lines from OWB_82
    I am trying different methods from the last 2 days.
    Please help me in this situation.
    Thanks.
    Salih KM

    My Http server port is 7777. used that , it doesn't work. Using 7101(admin server port) also doesn't work.
    Testing JSR-160 Runtime ... failed.
    Cannot establish connection.
    Testing JSR-160 DomainRuntime ... skipped.
    Testing JSR-88 ... skipped.
    Testing JSR-88-LOCAL ... skipped.
    Testing JNDI ... skipped.
    Testing JSR-160 Edit ... skipped.
    Testing HTTP ... success.
    Testing Server MBeans Model ... skipped.
    1 of 8 tests successful.
    Both the cases only HTTP is success.
    Thanks
    Manish

  • Problem connecting weblogic 5.1 to AS400 DB2 version

    Hi All,
    I am having problem connecting from a weblogic server 5.1 version on win2000 machine to AS400 DB2 version using iToolbox jdbc driver "com.ibm.as400.access.AS400JDBCDriver".The following is the weblogic connectionpool :
    weblogic.jdbc.connectionPool.DBPool=\
    url=jdbc:as400://3.3.111.111/MySchema,\
    driver=com.ibm.as400.access.AS400JDBCDriver,\
    loginDelaySecs=10,\
    initialCapacity=1,\
    maxCapacity=10,\
    capacityIncrement=1,\
    allowShrinking=true,\
    shrinkPeriodMins=15,\
    refreshTestMinutes=10,\
    props=user=xxx;password=xxx
    weblogic.allow.reserve.weblogic.jdbc.connectionPool.DBPool=\
    everyone
    I am getting the following exception:
    Fri Jan 28 05:38:16 EST 2005:<E> <JDBC Pool> Failed to create connection pool "DBPool"
    weblogic.common.ResourceException: weblogic.common.ResourceException:
    Could not create pool connection. The DBMS driver exception was:
    java.lang.IllegalMonitorStateException: current thread not owner
         at com.ibm.as400.access.PortMapper.getServerSocket(PortMapper.java:150)
         at com.ibm.as400.access.AS400ImplRemote.signonConnect(AS400ImplRemote.java:1831)
         at com.ibm.as400.access.AS400ImplRemote.signon(AS400ImplRemote.java, Compiled Code)
         at com.ibm.as400.access.AS400.sendSignonRequest(AS400.java:2581)
         at com.ibm.as400.access.AS400.promptSignon(AS400.java, Compiled Code)
         at com.ibm.as400.access.AS400.signon(AS400.java:3375)
         at com.ibm.as400.access.AS400.connectService(AS400.java:821)
         at com.ibm.as400.access.AS400JDBCConnection.setProperties(AS400JDBCConnection.java:2764)
         at com.ibm.as400.access.AS400JDBCDriver.prepareConnection(AS400JDBCDriver.java:1040)
         at com.ibm.as400.access.AS400JDBCDriver.initializeConnection(AS400JDBCDriver.java, Compiled Code)
         at com.ibm.as400.access.AS400JDBCDriver.connect(AS400JDBCDriver.java:355)
         at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java:146)
         at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:108)
         at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator.java, Compiled Code)
         at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java, Compiled Code)
         at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:330)
         at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java, Compiled Code)
         at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:255)
         at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
         at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java, Compiled Code)
         at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
    Can anyone let me know is there any problem with connection pool configuration or do i have to make any configuration changes on DB2.Why is it throwing current thread not a owner.
    Pl help.

    Hi Joe,
    Can i use jdk1.3.1 version with weblogic 5.1 version to get rid of this problem or will this change in jvm will effect my existing production applications?
    -thanks
    bharani
    Hi Joe,
    Yes the same code put into jsp scriplet is also
    throwing the error
    "java.lang.IllegalMonitorStateException: current
    thread not owner".It would be really wonderfull if
    you can get some info on the stacktrace.The version
    of jdk we are using is jdk1.2.2, is the problem
    anyway related with the jdk version as the standalone
    program i have tested ran on jdk1.3.1 and jdk1.4
    versions.
    Thanking you in advance,
    -bharani
    bharani noudu wrote:
    Hi Joe,
    Thanks for the quick reply.As per your suggestion
    i
    am able to run a simple 15 line
    standalone program with jdk versions of jdk1.3.1and jdk1.4.1 and jt400.jar in the
    classpath, but i am not able to use the sameconfiguration details in the connection
    pool created in weblogic or the same code pasted
    in
    JSP.Both are throwing the exception
    that "current thread is not a owner".Is thisanything related with the web container
    implementation of weblogic 5.1 or the jdk
    version
    of weblogic 5.1 ?
    Can you please help.I am pasting the code i usedbelow for your reference.
    Hi. If you can put this code in a JSP it throwsthe
    "current thread" exception?
    Even if there's no pool?
    I would contact IBM or post to their newsgroups to
    explain the stacktrace.
    The Driver.connect() call just takes a URL and
    properties (user and password).
    There's nothing a user could do to cause such a
    problem.
    java.lang.IllegalMonitorStateException: current
    thread not owner
    at
    com.ibm.as400.access.PortMapper.getServerSocket(PortMa
    pper.java:150)
    at
    com.ibm.as400.access.AS400ImplRemote.signonConnect(AS4
    00ImplRemote.java:1831)
    at
    com.ibm.as400.access.AS400ImplRemote.signon(AS400ImplR
    emote.java, Compiled Code)
    at
    com.ibm.as400.access.AS400.sendSignonRequest(AS400.jav
    a:2581)
    at
    com.ibm.as400.access.AS400.promptSignon(AS400.java,
    Compiled Code)
    atcom.ibm.as400.access.AS400.signon(AS400.java:3375)
    at
    com.ibm.as400.access.AS400.connectService(AS400.java:8
    21)
    at
    com.ibm.as400.access.AS400JDBCConnection.setProperties
    (AS400JDBCConnection.java:2764)
    at
    com.ibm.as400.access.AS400JDBCDriver.prepareConnection
    (AS400JDBCDriver.java:1040)
    at
    com.ibm.as400.access.AS400JDBCDriver.initializeConnect
    ion(AS400JDBCDriver.java, Compiled Code)
    at
    com.ibm.as400.access.AS400JDBCDriver.connect(AS400JDBC
    Driver.java:355)
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    public class TestDb2 {
         public static void main(String[] args) {
         Connection connection = null;
         try{               
         DriverManager.registerDriver(newcom.ibm.as400.access.AS400JDBCDriver());          
              connection = DriverManager.getConnection
    ("jdbc:as400://1.11.111.1/MySchema","test","test");
              System.out.println("step 1");          
              Statement st = connection.createStatement();          
              System.out.println("step 2");
              ResultSet rs = st.executeQuery("SELECT * FROMMYDB.EMPLOYEE_V");
              while(rs.next()){
                   System.out.println("empid "+rs.getString(1));
              }catch(Exception e){
                   System.out.println("step 3"+e);
                   e.printStackTrace();
              finally{
                   if(connection!=null){
                        try {
                             connection.close();
                        } catch (SQLException e1) {
         e1.printStackTrace();
    Thanking you in advance,
    -bharani
    Hi. That's a very odd internal IBM driver error.
    It's
    mesage is not helpful, and can't be due to
    anything
    you or WebLogic did. Can you get that driver wowork
    on it's own, using it's own example programs? If
    you can get a simple 15-line program to succeed
    making
    a connection, then we can get WebLogic to do the
    same.
    Show me that program and I'll show you the pool
    definition.
    Joe
    bharani noudu wrote:
    Hi All,
    I am having problem connecting from a weblogicserver 5.1 version on win2000 machine to AS400
    DB2
    version using iToolbox jdbc driver
    "com.ibm.as400.access.AS400JDBCDriver".Thefollowing
    is the weblogic connectionpool :
    weblogic.jdbc.connectionPool.DBPool=\
    url=jdbc:as400://3.3.111.111/MySchema,\
    driver=com.ibm.as400.access.AS400JDBCDriver,\
    loginDelaySecs=10,\
    initialCapacity=1,\
    maxCapacity=10,\
    capacityIncrement=1,\
    allowShrinking=true,\
    shrinkPeriodMins=15,\
    refreshTestMinutes=10,\
    props=user=xxx;password=xxx
    weblogic.allow.reserve.weblogic.jdbc.connectionPool.
    DB
    Pool=\
    everyone
    I am getting the following exception:
    Fri Jan 28 05:38:16 EST 2005:<E> <JDBC Pool>
    Failed
    to create connection pool "DBPool"
    weblogic.common.ResourceException:weblogic.common.ResourceException:
    Could not create pool connection. The DBMS
    driver
    exception was:
    java.lang.IllegalMonitorStateException: currentthread not owner
         at
    com.ibm.as400.access.PortMapper.getServerSocket(Port
    Ma
    pper.java:150)
         at
    com.ibm.as400.access.AS400ImplRemote.signonConnect(A
    S4
    00ImplRemote.java:1831)
         at
    com.ibm.as400.access.AS400ImplRemote.signon(AS400Imp
    lR
    emote.java, Compiled Code)
         at
    com.ibm.as400.access.AS400.sendSignonRequest(AS400.j
    av
    a:2581)
         at
    com.ibm.as400.access.AS400.promptSignon(AS400.java,
    Compiled Code)
         at
    com.ibm.as400.access.AS400.signon(AS400.java:3375)
         at
    com.ibm.as400.access.AS400.connectService(AS400.java
    :8
    21)
         at
    com.ibm.as400.access.AS400JDBCConnection.setProperti
    es
    (AS400JDBCConnection.java:2764)
         at
    com.ibm.as400.access.AS400JDBCDriver.prepareConnecti
    on
    (AS400JDBCDriver.java:1040)
         at
    com.ibm.as400.access.AS400JDBCDriver.initializeConne
    ct
    ion(AS400JDBCDriver.java, Compiled Code)
         at
    com.ibm.as400.access.AS400JDBCDriver.connect(AS400JD
    BC
    Driver.java:355)
         at
    weblogic.jdbc.common.internal.ConnectionEnvFactory.m
    ak
    eConnection(ConnectionEnvFactory.java:146)
         at
    weblogic.jdbc.common.internal.ConnectionEnvFactory.c
    re
    ateResource(ConnectionEnvFactory.java:108)
         at
    weblogic.common.internal.ResourceAllocator.makeResou
    rc
    es(ResourceAllocator.java, Compiled Code)
         at
    weblogic.common.internal.ResourceAllocator.<init>(Re
    so
    urceAllocator.java, Compiled Code)
         at
    weblogic.jdbc.common.internal.ConnectionPool.startup
    (C
    onnectionPool.java:330)
         at
    weblogic.jdbc.common.internal.JdbcInfo.initPools(Jdb
    cI
    nfo.java, Compiled Code)
         at
    weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcI
    nf
    o.java:255)
         at
    weblogic.jdbc.common.internal.JdbcStartup.main(JdbcS
    ta
    rtup.java:11)
         at java.lang.reflect.Method.invoke(Native
    Method)
         at
    weblogic.t3.srvr.StartupThread.runMain(StartupThread
    .j
    ava:219)
         at
    weblogic.t3.srvr.StartupThread.doWork(StartupThread.
    ja
    va, Compiled Code)
         at
    weblogic.t3.srvr.PropertyExecuteThread.run(PropertyE
    xe
    cuteThread.java:62)
    Can anyone let me know is there any problem
    with
    connection pool configuration or do i have tomake
    any configuration changes on DB2.Why is itthrowing
    current thread not a owner.
    Pl help.

  • As400/db2 to mysql migration

    Hi There,
    I'd like to migrate as400/db2 to MYSQL using MYSQL WORKBENCH. The as400 database has more than 40 GB and version is AS400 - db2vyr1.
    Will this tool be useful to migrate? or suggest any other tool which suit for migration.
    Thanks with anticipation
    Guru

    You're using an Oracle forum to ask about MySQL tools. Please use the MySQL forum MySQL :: MySQL Forums instead and close this thread.
    - Klaus

  • SAP -- XI -- AS400(DB2) scenario configuration?

    Hi Experts,
    I have a scenario SAP -->XI -->AS400(DB2).
    I would like to know the step by step configuration of XI >AS400 (DB2). It will be great if any one can share the docs. Is it a good option to use JDBC adaptor for this scenario? If yes please let me know the steps for XIAS400 configuration.
    Thanks & Regards,
    Praveen.

    Hi Praveen,
    You can go for JDBC adapter, But, check this link it is also suggesting to use File adapter..
    R3-AS400
    for JDBC adapter check few links as well
    AS400 acess using JDBC adapter
    Re: JDCB Connection from XI to AS400
    JDBC drivers for DB2 on AS400 V5R3
    Sachin

  • Connecting DS 4.0 to AS400 DB2 7.1

    Hi all,
    We are going to have POC and we have very limited time so that we cannot have lab environment in our company. Our scenario is like this:
    We will have DS 4.0 installed on Linux Suse and the reposistory will be on Oracle. I know this connecting to databases with ODBC we have to do some kind of configuration on DS machine. My first question what do I do to connect DS4 from my client DS 4.0.
    After I connect to DS 4.0, my source database will be AS400 DB2 7.1. We will be loading data from AS400 DB2 7.1 to SAP HANA.  I was checking DS the other day and when I tried to create a Data Store for DB2 there is only 2 options which are DB2 UDB 8.x and DB2 UDB 9.x. My second question, as I mentioned earlier my source will be AS400 DB2 7.1 and since there is no direct connection on DS for 7.X version of DB2, am I going to connect to AS400 DB2 7.1 with Generic ODBC?  Is it downward compatible? Or what do I have to do to connect to this AS400 DB2 7.1 system?
    I really need answers on these 2 questions. I don't have time to set up a lab environment so I have to make everything ready before I start this POC and I have really limited time. I have to finish with installations, ETL and reporting in 2 days.
    Please help.  Thanks a lot.

    Thanks for replay!  I am getting this error when ever i am executing the job..
    we need to update records in DB2 database table on AS/400 using Business Objects Data Integrator 11.7. Data integrator Designer version is 11.7.3 Drivers installed are iSeries ACCESS ODBC Driver 11.0.2,CLIENT ACCESS ODBC DRIVER 11.0.2
    We are able to do the update for a single record, but while doing Bulk Update, we are getting below error message, Can anyone help on this.
    DBS-070401: ODBC DATA SOURCE Error Message for Operation : <[IBM][iSeries Access ODBC Driver]Driver not capable.> RUN-051005: Execution of for target failed. Possible causes: (1) Error in the SQL syntax; (2) Database connection is broken; (3) Database related errors such as transaction log is full, etc.; (4) The user defined in the datastore has insufficient privileges to execute the SQL. If the error is for preload or postload operation, or if it is for regular load operation and load triggers are defined, please check the SQL. Otherwise, for (3) and (4), please contact your local DBA.

  • Migrate AS400 Db2 data to oracle 11 g

    Hi All,
    Any idea how to migrate data from As400 Db2 to Oracle 11 g?
    Thanks,

    Hi,
      If your AS400 DB2  is v4.3 or v4.5 then you could use the Oracle Migration Workbench 10.1.0.4.0.  If you have a later version then the current SQL*Developer migration tool cannot be used.  It is planned for this to support later AS400 DB2 versions but there is no date for this.
    The only option is to manually migrate the tables.
    If you have access to My Oracle Support then the following may help -
    How To Migrate Non-Oracle Databases For Which a SQL*Developer or Migration Workbench Option Is Not Available (Doc ID 393760.1)
    Regards,
    Mike

  • Weblogic5.1, Transaction involving SQL Svr and AS400/DB2

              Hi, after reading quite a few posts regarding this issue I believe to demarcate a
              transaction involving SQL Server and AS400/DB2 is not impossible. But we have to
              handle the rollback and other stuff on our own. Am I correct? Is there any hack around
              this?
              I've tried to use an EJB(ejbY) that will insert a record in AS400/DB2 and subsequently
              in ejbY, I invoke another EJB(ejbX) that reside in another WL5.1 to insert a record
              in SQL Server. Of course this is demarcated with UserTransaction. Technically is
              this possible? This is because I've encountered some exceptions with this hack and
              would like to seek some advise.
              Thanks.
              [apps.zip]
              

    Hi,
      If you have access to My Oracle Support then have a look at this note -
    How To Migrate Non-Oracle Databases For Which a SQL*Developer or Migration Workbench Option Is Not Available (Doc ID 393760.1)
    Regards,
    Mike

  • Reg - iseries/ AS400 & DB2

    Hi Gurus,
      I have knowledge in SAP Basis & Security, i need to study iseries \ As400 & DB2.  Pls inform me  what are the topics i need to covered for my work related.
    My company config is - SAP on DB2 for  i5/0S.
    Thanks & Regards
    Rajesh.

    Hi,
    you should have a look at:
    http://www.easymarketplace.de/iSeries-Docu.php
    especially on:
    - New "Implementing SAP applications on the IBM System i platform with IBM i5/OS" Redbook (SG24-7166-00) in the web
    - New "An Overview of Installing SAP applications on System i models" Redpaper (REDP-4189-00) in the web
    - Old, but still in use "Implementing SAP R/3 on OS/400" Redbook (SG24-4672-03) in the web
    Regards
    Volker Gueldenpfennig, consolut international ag
    http://www.consolut.de - http://www.4soi.de - http://www.easymarketplace.de

  • Migration from as400 db2

    Hi,
    i like to migrate a As400 DB2 database objects to oracle database,
    How can do get it?
    I'm use the Workbench, but did not functio
    I may to install the client Access for AS400 software?
    Thanks,
    Arturo

    GRS,
    There is no public plugin for DB2 on the iSeries. however, contact Bernhard Duechting @ [email protected] and he will be able to provide you with the information you need to progress this.
    Barry

  • Trouble on Create Entity Object from AS400/DB2 version 5 rev 4

    Hi, hope any1 can help..
    I using jt400.jar (com.ibm.as400.access.AS400JDBCDriver) with
    jdbc url : jdbc:as400://host
    to create connection.
    However, when I try to create entity or business component based on the connection, it gave me "Attribute list error":
    java.lang.NullPointerException
         at oracle.jbo.dt.jdevx.db.DBApiUtil.fillAttributeListInternal2(DBApiUtil.java:1249)
         at oracle.jbo.dt.objects.JboDBUtil.fillAttributeListInternal2(JboDBUtil.java:87)
         at oracle.jbo.dt.objects.JboUtil.fillAttributeListInternal2(JboUtil.java:2749)
         at oracle.jbo.dt.objects.JboUtil.fillAttributeListWithException(JboUtil.java:2711)
         at oracle.jbo.dt.objects.JboUtil.fillAttributeListInternal(JboUtil.java:2687)
         at oracle.jbo.dt.objects.JboUtil.fillAttributeList(JboUtil.java:2626)
         at oracle.jbo.dt.objects.JboUtil.fillAttributeList(JboUtil.java:1059)
         at oracle.jbo.dt.ui.main.DtuUtil.createEntityFromThread(DtuUtil.java:562)
         at oracle.jbo.dt.ui.pkg.PKEntityThread.createEntity(PKEntityThread.java:898)
         at oracle.jbo.dt.ui.pkg.PKEntityThread.createEntity(PKEntityThread.java:719)
         at oracle.jbo.dt.ui.pkg.PKEntityThread.doEntityViewCreation(PKEntityThread.java:537)
         at oracle.jbo.dt.ui.pkg.PKEntityThread.createObjects(PKEntityThread.java:470)
         at oracle.jbo.dt.jdevx.ui.pkg.XPKComponentWizardEntityThread.createObjects(XPKComponentWizard.java:491)
         at oracle.jbo.dt.ui.pkg.PKEntityThread.run(PKEntityThread.java:447)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
         at java.lang.Thread.run(Thread.java:662)
    I had refer other posts, but i might miss out some important piece. Beside, I able to create ViewObject based on sql query. Any1 able to show me some direction..perhaps..thanks

    Thanks ...I tried both SQL92 and db2...and tried both Java & Java Extended for Oracle.. too..I able to connect to the dbase, browse thought the db2 schema n tables, even able to create view object with sql query..just stuck in entity object creation..feel weird n cant find much of documentation on the web to describe this behaviour too..

  • Does Developer2000 work with AS400/DB2

    Hi Folks,
    Has anyone worked on Oracle Developer 2000 using an AS/400 DB2 as database server? Is it feasible using Oracle Open Client Adapter? Appreciate if you could detail the issues you faced during implementation.
    Thanks
    Ramesh

    I have configed the transparent Gateway in oracle database 9i , the sqlserver transparent Gateway worked prefectly , but the transparent Gateway for AS400 did not work , can you tell me your configration detail .
    Thanks a lot .

  • SQL Query Report from DB2 Tables

    Team,
    Our HTML DB application requires us to build a Report against a DB2 table. In addition, we are required to view the detail of the selected DB2 data on a second page, much like the 2 page report as generated by the wizard.
    So...what is the best way to present DB2 data in both Report and Detail format using HTML DB? Better yet...how can DB2 tables be set up/connected/defined to HTML DB so they operate just like the Oracle tables which reside inside the Oracle database?
    Thanks for your help.
    Howard

    An addendum to my original post....
    How about the use of a JDBC driver? Is there one available to meet my requirements?
    Thanks again
    Howard

  • Using logical files to query the AS400

    Post Author: mrcarden
    CA Forum: Data Connectivity and SQL
    We are using Crystal Reports 10 and I am trying to write a report that pulls data from the AS400.  We have never had a problem pulling data before because we always pulled from physical files.  This time I am trying to pull data from a logical file that spans two physical files.  Apparently there is a limitation in crystal that does not allow you to use a logical file?  Does anyone know if there is a way around this?  Any help would be appreciated and would save me a ton of work.  If I cannot get the report to do this for me then I will have to write a program to pull the data from these two physical files into a new file and go from there. 
    Thanks!
    Mike

    Please refer to online document "OnDemWebSvcs.pdf". You can download this doc at:
    Admin -> Web Services Administration -> Download Documentation
    Edited by: PPL on Oct 8, 2011 12:13 AM

Maybe you are looking for

  • FS10N and drill down to FBL3N

    Hi all, When display FS10N, only showing figure for balance carry fwd, Jan 07 until Mac 07. Drill down for these period is fine. but starting April 07, no figure displayed and cannot drill down. how to update GLT0? or need to run other program? this

  • ERROR activating table

    Hi guys, I'm having some trouble in creating a simple database table.... The thing is, imagine a table with 27 fields. Everything goes ok, I'm able to activate it, all cool. The problem is, when I insert a new field (number 28), i get an error on act

  • Unplug of private interconnect cable but the machine didn't restarted

    Dear All, I have RAC Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit database on Linux. I had  strange experience with my private interconnect between the 2 nodes. When i test unplug private interconnect link in one of the nodes, th

  • Drop ship warehouse shows in stock quantities for some items

    We have a customer using SBO 2007 A SP 01 PL 08. The inventory posting report shows the drop ship warehouse with onhand balances. We have tried to create reversing entries to remove these quantities and the system ignores the transaction as it should

  • A BUG in Flash CS5 AS3

    I have got the answer for the problem of my previous post! This bug is very annoying: First check your version, mine is 11.0.0485. If yours are not, it could fixed. Anyway you can try: 1 create a new as3 file 2 create a MC 3 put one instance on frame