Need help for understanding the behaviour of these 2 queries....

Hi,
I need your help for understanding the behaviour of following two queries.
The requirement is to repeat the values of the column in a table random no of times.
Eg. A table xyz is like -
create table xyz as
select 'A' || rownum my_col
from all_objects
where rownum < 6;
my_col
A1
A2
A3
A4
A5
I want to repeat each of these values (A1, A2,...A5) multiple times - randomly decide. I have written the following query..
with x as (select my_col, trunc(dbms_random.value(1,6)) repeat from xyz),
y as (select level lvl from dual connect by level < 6)
select my_col, lvl
from x, y
where lvl <= repeat
order by my_col, lvl
It gives output like
my_col lvl
A1     1
A1     3
A1     5
A2     1
A2     3
A2     5
A3     1
A3     3
A3     5
A4     1
A4     3
A4     5
A5     1
A5     3
A5     5
Here in the output, I am not getting rows like
A1     2
A1     4
A2     2
A2     4
Also, it has generated the same set of records for all the values (A1, A2,...,A5).
Now, if I store the randomly-decided value in the table like ---
create table xyz as
select 'A' || rownum my_col, trunc(dbms_random.value(1,6)) repeat
from all_objects
where rownum < 6;
my_col repeat
A1     4
A2     1
A3     5
A4     2
A5     2
And then run the query,
with x as (select my_col, repeat from xyz),
y as (select level lvl from dual connect by level < 6)
select my_col, lvl
from x, y
where lvl <= repeat
order by my_col, lvl
I will get the output, exactly what I want ---
my_col ....lvl
A1     1
A1     2
A1     3
A1     4
A2     1
A3     1
A3     2
A3     3
A3     4
A3     5
A4     1
A4     2
A5     1
A5     2
Why the first approach do not generate such output?
How can I get such a result without storing the repeat values?

If I've understood your requirement, the below will achieve it:
SQL> create table test(test varchar2(10));
Table created.
SQL> insert into test values('&test');
Enter value for test: bob
old   1: insert into test values('&test')
new   1: insert into test values('bob')
1 row created.
SQL> insert into test values('&test');
Enter value for test: terry
old   1: insert into test values('&test')
new   1: insert into test values('terry')
1 row created.
SQL> insert into test values('&test');
Enter value for test: steve
old   1: insert into test values('&test')
new   1: insert into test values('steve')
1 row created.
SQL> insert into test values('&test');
Enter value for test: roger
old   1: insert into test values('&test')
new   1: insert into test values('roger')
1 row created.
SQL> commit;
Commit complete.
SQL> select lpad(test,(ceil(dbms_random.value*10))*length(test),test) from test;
LPAD(TEST,(CEIL(DBMS_RANDOM.VALUE*10))*LENGTH(TEST),TEST)
bobbobbobbobbobbobbobbobbobbob
terryterry
stevestevesteve
rogerrogerrogerrogerrogerrogerrogerrogerrogerYou can alter the value of 10 in the SQL if you want the potential for a higher number of names.
Andy

Similar Messages

  • Need help in understanding the error ORA-01843: not a valid month - ECX_ACT

    Hello All,
    We need help in understanding the Transaction Monitor -> Processing Message (error "ORA-01843: not a valid month - ECX_ACTIONS.GET_CONVERTED_DATE").
    And how to enable the log for Transaction Monitor -> Processing Logfile.
    Actually we are trying to import the Purchase Order XML (OAG) into eBusiness Suite via BPEL Process Manager using the Oracle Applications Adapter. The process is working fine with expected payload until it reaches the XML Gateway Transaction Monitor, where we are getting this error.
    thanks
    muthu.

    Hello All,
    We need help in understanding the Transaction Monitor -> Processing Message (error "ORA-01843: not a valid month - ECX_ACTIONS.GET_CONVERTED_DATE").
    And how to enable the log for Transaction Monitor -> Processing Logfile.
    Actually we are trying to import the Purchase Order XML (OAG) into eBusiness Suite via BPEL Process Manager using the Oracle Applications Adapter. The process is working fine with expected payload until it reaches the XML Gateway Transaction Monitor, where we are getting this error.
    thanks
    muthu.

  • I need help in understanding the customization of Landscape in R/3.

    I need help in understanding the customization of Landscape in R/3. Setup of SAP Landscape from an SAP SD point of view. Being as SAP SD consultant what would be my role in customizing the Landscape server. Help needed. Thx

    Hi,
    In a standard SAP project implementation, the 3 standard transport procedures are:
    Development System (DEV) --> QA System (QAS) --> Production System (PRD)
    In the above structure, the Training Client (TRN) could be made from the copy of PRD (after when real-time master data has been available) or from QA system (where configuration has been tested in DEV client, and the master data is uploaded manually for training purposes)
    Sandbox (standalone): This can be refreshed with Golden Client to reflect the latest configuration performed to facilitate the development/testing purposes.
    -Development (DEV): Where all system configurations and development activities are carried out.
    -Quality Assurance (QAS): Where functional testing is carried out. The System Integration Testing (carried out by the -Development Team) and the User Acceptance Testing (carried out by XXX appointed personnel) is carried out in this server.
    -Training (TRN): End Users are trained on this server.
    -Production (PRD): After the System is commissioned all data entry and administrative functions will be carried out in this server.
    This is by far the standard landscape architecture that is adopted and practiced in most implementations.
    Hope the above helps.
    Thanks.

  • Error Posting IDOC: need help in understanding the following error

    Hi ALL
    Can you please, help me understand the following error encountered while the message was trying to post a IDOC.
    where SAP_050 is the RFC destination created to post IDOCs
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_RUNTIME</SAP:Code>
      <SAP:P1>FM NLS_GET_LANGU_CP_TAB: Could not determine code page with SAP_050 Operation successfully executed FM NLS_GET_LANGU_CP_TAB</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error: FM NLS_GET_LANGU_CP_TAB: Could not determine code page with SAP_050 Operation successfully executed FM NLS_GET_LANGU_CP_TAB</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Your help is greatly appreciated.............Thank you!

    Hi Patrick,
      Check the authorizations assigned to the user which you used in the RFC destinations, If there is no enough authorizations then it is not possible to post the idocs.
    Also Refer this Note 747322
    Regards,
    Prakash

  • Need help in understanding the trace file

    Hi,
    I would need to understand
    - the large number of fetch for the query
    - SQL*Net message to client and SQL*Net message from clientbeing same
    - latch: cache buffers chains
    The issue I am experiencing is a 6x delay due to an unknown reason.
    Can somebody assist me?
    Thanks
    D
    SQL
    SELECT R_RO.*
    FROM
    (SELECT b.ID,b.ANSWERS,b.C_CLASSID,b.C_ID, b.FCI,b.FROM_ID,b.TCI,b.TO_ID,b.FFU, b.TFU,b.NOU,b.ISN,b.SC_NAME,
    b.DN_NAME,b.DN_ITEM_NUMBER,b.ISC, b.PRIORITY FROM VVP.RELATION b WHERE b.ID NOT IN (SELECT /*+ HASH_AJ */ SDE_DELETES_ROW_ID FROM VVP.D94 WHERE DELETED_AT IN (SELECT l.lineage_id FROM SDE.state_lineages l WHERE l.lineage_name = :source_lineage_name AND l.lineage_id <= :source_state_id) AND SDE_STATE_ID
    = :"SYS_B_0") UNION ALL SELECT a.ID,a.ANSWERS,a.C_CLASSID, a.C_ID,a.FCI,a.FROM_ID,a.TCI, a.TO_ID,a.FFU,a.TFU,a.NOU, a.ISN,a.SC_NAME,a.DN_NAME, a.DN_ITEM_NUMBER,a.ISC,a.PRIORITY FROM VVP.A94 a, SDE.state_lineages SL WHERE (a.ID, a.SDE_STATE_ID) NOT IN (SELECT /*+ HASH_AJ */ SDE_DELETES_ROW_ID,SDE_STATE_ID FROM VVP.D94 WHERE DELETED_AT IN (SELECT l.lineage_id FROM SDE.state_lineages l WHERE l.lineage_name = :source_lineage_name AND l.lineage_id <= :source_state_id) AND SDE_STATE_ID > :"SYS_B_1") AND a.SDE_STATE_ID = SL.lineage_id AND SL.lineage_name = :source_lineage_name AND SL.lineage_id <= :source_state_id ) R_RO WHERE (ID = :"SYS_B_2")
    call count cpu elapsed disk query current rows
    Parse 3911 2.30 2.14 0 0 0 0
    Execute 3911 2.47 2.43 0 0 0 0
    Fetch 3911 268.96 270.60 28 15696558 0 3911
    total 11733 273.73 275.18 28 15696558 0 3911
    Misses in library cache during parse: 1
    Optimizer mode: FIRST_ROWS
    Parsing user id: 1031
    Rows Row Source Operation
    1 VIEW (cr=3966 pr=0 pw=0 time=84973 us)
    1 UNION-ALL (cr=3966 pr=0 pw=0 time=84968 us)
    1 HASH JOIN ANTI (cr=3963 pr=0 pw=0 time=84707 us)
    1 TABLE ACCESS BY INDEX ROWID CONNECTION (cr=4 pr=0 pw=0 time=123 us)
    1 INDEX UNIQUE SCAN R94_SDE_ROWID_UK (cr=3 pr=0 pw=0 time=88 us)(object id 7404)
    8586 VIEW VW_NSO_2 (cr=3959 pr=0 pw=0 time=112274 us)
    8586 NESTED LOOPS (cr=3959 pr=0 pw=0 time=103686 us)
    3661 INDEX RANGE SCAN LINEAGES_PK (cr=7 pr=0 pw=0 time=67 us)(object id 307740)
    8586 INDEX RANGE SCAN D94_PK1 (cr=3952 pr=0 pw=0 time=70624 us)(object id 1637355)
    0 HASH JOIN ANTI (cr=3 pr=0 pw=0 time=248 us)
    0 NESTED LOOPS (cr=3 pr=0 pw=0 time=71 us)
    0 TABLE ACCESS BY INDEX ROWID A94 (cr=3 pr=0 pw=0 time=68 us)
    0 INDEX RANGE SCAN A94_ROWID_IX1 (cr=3 pr=0 pw=0 time=65 us)(object id 129281)
    0 INDEX UNIQUE SCAN LINEAGES_PK (cr=0 pr=0 pw=0 time=0 us)(object id 307740)
    0 VIEW VW_NSO_1 (cr=0 pr=0 pw=0 time=0 us)
    0 NESTED LOOPS (cr=0 pr=0 pw=0 time=0 us)
    0 INDEX RANGE SCAN D94_PK1 (cr=0 pr=0 pw=0 time=0 us)(object id 1637355)
    0 INDEX UNIQUE SCAN LINEAGES_PK (cr=0 pr=0 pw=0 time=0 us)(object id 307740)
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    SQL*Net message to client 3911 0.00 0.00
    SQL*Net message from client 3911 0.49 72.42
    latch: cache buffers chains 1434 0.00 0.07
    latch: shared pool 1 0.00 0.00
    db file sequential read 28 0.14 0.31
    latch free 15 0.02 0.04
    latch: row cache objects 1 0.00 0.00
    log file switch completion 4 0.98 1.64

    ssddgreg wrote:
    Hi Randolf,
    thank you for your excellent interpretation! I have Oracle DBMS 10.2.0.3 Ent Edition deployed on Sun Solaris (64-bit), FIRST_ROWS and CURSOR_SHARING = SIMILAR.
    I also checked the table D94.SDE_DELETES_ROW_ID about indexes, it has 3 indexes on the same column:
    D94_IX1, NONUNIQUE
    D94_IX2, UNIQUE
    D94_PK1, UNIQUE
    This table is a system table from another middle-tier application and all the DXX tables are configured like that.Is this a third-party vendor application for that you don't have any control over the schema? Because your description of the indexes looks like a potential case of massive over-indexing, increasing the workload required to maintain all this indexes. Very likely some of these indexes are redundant and could be covered by a fewer number of indexes.
    Besides that my comment regarding the execution plan was probably not clear enough - what I meant to say is that the HASH_AJ hint prevents the optimizer from doing the clever things with the predicates that I described.
    So in principle the question is: What execution plan do you get if you omit the HASH_AJ hints? And how many consistent gets requires this new plan at execution time? You might need to add a NL_AJ hint instead to achieve what I've described, but it would be interesting to see in first place what execution plan is generated without any hints.
    Some other comments:
    FIRST_ROWS optimizer mode: Does this application require you to use the FIRST_ROWS optimizer mode? Because in principle, if you have an application that actually retrieves most of the time only the first few rows of a larger result set, then you should use the FIRST_ROWS(n) optimizer mode instead. The FIRST_ROWS optimizer mode is deprecated since Oracle 9i if I remember correctly and has some odd side effects on execution plans, in particular if the SQL contains an ORDER BY clause.
    If your application usually processes all rows from a given result set, using the default optimizer mode ALL_ROWS is more appropriate - using FIRST_ROWS as a band-aid because with ALL_ROWS things are slower only shows that there is something wrong that should be addressed in a different way (by investigating why the ALL_ROWS mode doesn't arrive at a suitable execution plan as first activity).
    CURSOR_SHARING=SIMILAR: Note that CURSOR_SHARING = SIMILAR has some other side effects (and bugs). Oracle has recently announced on My Oracle Support (see document 1169017.1) that CURSOR_SHARING=SIMILAR will be deprecated (no longer supported) in Oracle 12. See this note also for a description why this setting can be problematic.
    Of course, if you don't have any control over a vendor application and it works fine and has been optimized for these settings (FIRST_ROWS, CURSOR_SHARING=SIMILAR) then there is not much you can do (or need to do) about that.
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    Co-author of the "OakTable Expert Oracle Practices" book:
    http://www.apress.com/book/view/1430226684
    http://www.amazon.com/Expert-Oracle-Practices-Database-Administration/dp/1430226684

  • Need help in understanding the logic

    i've been told to develop the mail application for sending the messages.the clients should automatically receive the mail.since the clients have the browser to handle all mails,do u think there is no need to code on the receiving end.Also give me an idea as to how i should retrieve the client details from the huge database

    hai Shanu my job is i'm not worried about the receiving side.i'm just sending the message.all that is left for me is to figure out the clients to whom i hav to send mail.middleware in the sense i don't exactly understand it.so can u plz give me a detailed picture about it
    regards
    coded

  • Need help to understand the MEMORY output on WLC

    Hi All,
    Will be glad if someone can help me to understand the below output from WLC. Actually i want to know the FLASH & RAM size of my WLC so what i did. I run the command '' show memory statistics'' and below is what i have got. Can someone elaborate this
    System Memory Statistics:
    Total System Memory............: 259112960 bytes  (i believe this is the flash size 256Mb ???)
    Used System Memory.............: 154288128 bytes
    Free System Memory.............: 104824832 bytes
    Bytes allocated from RTOS......: 13717504 bytes
    Chunks Free....................: 24 bytes
    Number of mmapped regions......: 37
    Total space in mmapped regions.: 23429120 bytes
    Total allocated space..........: 13399760 bytes
    Total non-inuse space..........: 317744 bytes
    Top-most releasable space......: 61832 bytes
    Total allocated (incl mmap)....: 37146624 bytes
    Total used (incl mmap).........: 36828880 bytes
    Total free (incl mmap).........: 317744 bytes

    Hi Salman,
    Yes, that value give the RAM size of your WLC.
    259112960 bytes  valued correlated to ( or 23040 KB or ~248 MB ) dividing by 1024. So I think it is 256MB RAM.
    I do not think flash size can be determine by this output.
    Refer this post as it relate to your query as well
    https://supportforums.cisco.com/discussion/12023396/ram-size-5508-and-5760-wireless-lan-controllers
    HTH
    Rasika
    *** Pls rate all useful responses ****

  • Need help to understand the relation bw VBKD and VBAP

    Hi all,
    I have a requiement to display the incoterms of ship-to-party if Ship-to-party is differnt from sold-to-party.
    At header level it is ok,,but at item level im facing some problems.
    READ TABLE xvbkd WITH KEY vbeln = xvbap-vbeln
                                        posnr = xvbap-posnr.
              IF sy-subrc = 0.
                xvbkd-inco1 = wa_xvbkd-inco1.
                xvbkd-inco2 = wa_xvbkd-inco2.
                MODIFY xvbkd FROM wa_xvbkd INDEX sy-tabix TRANSPORTING  inco1 inco2.
              ENDIF.
    Im getting the incotems but the problem is xvbkd does get populated with the items though VBAP has multiple items.
    Pls help me to understand why VBKD does nt get populated with item details.
    In some cases it gets populated, then it is working fine.
    Your valuable suggesstion is highly appricated.
    Rgs,
    Priya

    Pls help me to understand why VBKD does nt get populated with item details
    Hi,
    When you define a table lookup for the table VBKD (Sales document: Business data), data does not have to be present for every item in the sales document. If the item data is no different than the header data, the system does not store it in the item as well. In this case, you can find the valid values in the header data, which is stored in table VBKD under the item number "000000".
    Thus, if you want to read incoterms values from VBKD, you always need to define two table lookups:
    1: Table lookup in table VBKD using the key VBELN and POSNR;
    2: Table lookup in table VBKD using the key VBELN and POSNR ="000000" (if the 1st lookup failed)
    Regards,
    Andrea

  • I need Help for Installing the JamVM on TS-7800 SCB

    Hello,
    can anyone give me some StarterHelp to install the JamVM (or any other VM) on the follwing SBC (Arm)?
    http://www.embeddedarm.com/products/board-detail.php?product=TS-7800&tab=options
    Didn't need I a crosscompiler for the target-arch? In the INSTALL-File of the jamvm-package i didn't reed somthing about using a crosscompiler.
    For you help i'm very thanksfull.
    Best regards.

    can u guys solve the problems??? i also working on the ARM board which came from China. my problem also almost the same.still configure how to run the java program on that board. i just read from this journal, http://www.linuxjournal.com/article/8757. this author said that we don't have to install JVM in our target. we just have to use GCJ (GNU Compiler for Java), which is will compiles our Java source down to the machine code for the target. but, the author used PowerPC target, that was the issue. i already try this method but it was not working yet. i also don't know why yet.please let me know if u guys can slove your problems. tq~

  • Need help with understanding the link between jndi and data source

    When I am trying to deploy my ear file. I am getting the error mentioned below.
    I have made a connection pool and 3 data sources at console. Is there a problem
    with the way I have defined them. Please do let me know.
    Thank You
    Ronak Parekh
    Connection Pools:
    Name : oraclePool
    URL : jdbc:weblogic:builder
    Driver classname : weblogic.jdbc.oci.Driver
    Properties(key=values): servername=ronakserver
                   user=sempsys
                   dataSourceName=oraclePool
                   databaseName=builder
    Password : sempsys
    Data Sources:
    Name : Gangster
    JNDI Name: Gangster
    Pool Name: oraclePool
    Name : Organization
    JNDI Name: Organization
    Pool Name: oraclePool
    Name : Job
    JNDI Name: Job
    Pool Name: oraclePool
    My Error is:
    preparing application app10 on ronserver
    prepared application app10 on ronserver
    activating application app10 on ronserver
    Exception caught for task Activate application app10 on ronserver: activate failed
    forsempire_bc.jar
    Module, sempire_bc.jar, reported error: Exception activating module: EJBModule(sempire_bc.jar,status=PREPARED)
    Unable to deploy EJB: OrganizationEJB from sempire_bc.jar:
    weblogic.ejb20.WLDeploymentException: The DataSource with the JNDI name: Organization
    could not be located. Please ensure that the DataSource has been deployed successfully
    and that the JNDI name in your EJB Deployment descriptor is correct.
         at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.setup(RDBMSPersistenceManager.java:130)
         at weblogic.ejb20.manager.BaseEntityManager.setupPM(BaseEntityManager.java:214)
         at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:186)
         at weblogic.ejb20.manager.DBManager.setup(DBManager.java:161)
         at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:936)
         at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1302)
         at weblogic.ejb20.deployer.EJBModule.activate(EJBModule.java:342)
         at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplicationContainer.java:1534)
         at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:991)
         at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:978)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1104)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:724)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
    failed application app10 on ronserver
    My ejb-jar.xml file is:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC
         "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN"
         "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar>
         <display-name>Business Component CMP 2.0</display-name>
         <enterprise-beans>
    <entity>
              <display-name>Gangster Entity Bean</display-name>
         <ejb-name>GangsterEJB</ejb-name>
    <local-home>com.sempire.builder.business_component.GangsterHome</local-home>
    <local>com.sempire.builder.business_component.Gangster</local>
    <ejb-class>com.sempire.builder.business_component.GangsterBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.Integer</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
                   <cmp-field><field-name>iD</field-name></cmp-field>
         <cmp-field><field-name>name</field-name></cmp-field>
    <cmp-field><field-name>nickname</field-name></cmp-field>
    <cmp-field><field-name>badness</field-name></cmp-field>
                   <primkey-field>iD</primkey-field>
                   <env-entry>
                        <env-entry-name>GANGSTER</env-entry-name>
                        <env-entry-type>java.lang.String</env-entry-type>
                        <env-entry-value>Gangster</env-entry-value>
                   </env-entry>
                   <env-entry>
                        <env-entry-name>oraclePool</env-entry-name>
                        <env-entry-type>java.lang.String</env-entry-type>
                        <env-entry-value>oraclePool</env-entry-value>
                   </env-entry>
              <resource-ref>
                        <res-ref-name>jdbc/Gangster</res-ref-name>
                        <res-type>javax.sql.DataSource</res-type>
                        <res-auth>Container</res-auth>
              </resource-ref>
              </entity>
    <entity>
         <display-name>Organization Entity Bean</display-name>
    <ejb-name>OrganizationEJB</ejb-name>
    <local-home>com.sempire.builder.business_component.OrganizationHome</local-home>
    <local>com.sempire.builder.business_component.Organization</local>
    <ejb-class>com.sempire.builder.business_component.OrganizationBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.Integer</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
                   <cmp-field><field-name>iD</field-name></cmp-field>
         <cmp-field><field-name>name</field-name></cmp-field>
                   <cmp-field><field-name>description</field-name></cmp-field>
                   <primkey-field>iD</primkey-field>
                   <env-entry>
                        <env-entry-name>ORGANIZATION</env-entry-name>
                        <env-entry-type>java.lang.String</env-entry-type>
                        <env-entry-value>Organization</env-entry-value>
                   </env-entry>
                   <env-entry>
                        <env-entry-name>oraclePool</env-entry-name>
                        <env-entry-type>java.lang.String</env-entry-type>
                        <env-entry-value>oraclePool</env-entry-value>
                   </env-entry>
              <resource-ref>
                        <res-ref-name>jdbc/Organization</res-ref-name>
                        <res-type>javax.sql.DataSource</res-type>
                        <res-auth>Container</res-auth>
                   </resource-ref>
              </entity>
    <entity>
    <display-name>Job Entity Bean</display-name>
    <ejb-name>JobEJB</ejb-name>
    <local-home>com.sempire.builder.business_component.JobHome</local-home>
    <local>com.sempire.builder.business_component.Job</local>
    <ejb-class>com.sempire.builder.business_component.JobBean</ejb-class>
    <persistence-type>Container</persistence-type>
                   <prim-key-class>java.lang.Integer</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
                   <cmp-field><field-name>iD</field-name></cmp-field>
    <cmp-field><field-name>name</field-name></cmp-field>
    <cmp-field><field-name>score</field-name></cmp-field>
                   <cmp-field><field-name>setupCost</field-name></cmp-field>
                   <primkey-field>iD</primkey-field>
                   <env-entry>
                        <env-entry-name>Job</env-entry-name>
                        <env-entry-type>java.lang.String</env-entry-type>
                        <env-entry-value>Job</env-entry-value>
                   </env-entry>
                   <env-entry>
                        <env-entry-name>oraclePool</env-entry-name>
                        <env-entry-type>java.lang.String</env-entry-type>
                        <env-entry-value>oraclePool</env-entry-value>
                   </env-entry>
                   <resource-ref>
                        <res-ref-name>jdbc/Job</res-ref-name>
                        <res-type>javax.sql.DataSource</res-type>
                        <res-auth>Container</res-auth>
                   </resource-ref>
              </entity>
         </enterprise-beans>
         <relationships>
    <ejb-relation>
    <ejb-relation-name>organization-memberGangsters</ejb-relation-name>
    <ejb-relationship-role>
         <ejb-relationship-role-name>organization---memberGangsters</ejb-relationship-role-name>
    <multiplicity>One</multiplicity>
    <relationship-role-source>
         <ejb-name>OrganizationEJB</ejb-name>
    </relationship-role-source>
    <cmr-field>
         <cmr-field-name>memberGangsters</cmr-field-name>
         <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
                   <ejb-relationship-role>
         <ejb-relationship-role-name>memberGangsters---organization</ejb-relationship-role-name>
    <multiplicity>Many</multiplicity>
    <cascade-delete/>
    <relationship-role-source>
         <ejb-name>GangsterEJB</ejb-name>
    </relationship-role-source>
    <cmr-field>
         <cmr-field-name>organization</cmr-field-name>
    </cmr-field>
    </ejb-relationship-role>
    </ejb-relation>
    <ejb-relation>
    <ejb-relation-name>gangsters-jobs</ejb-relation-name>
    <ejb-relationship-role>
         <ejb-relationship-role-name>gangsters---jobs</ejb-relationship-role-name>
         <multiplicity>Many</multiplicity>
         <relationship-role-source>
              <ejb-name>GangsterEJB</ejb-name>
         </relationship-role-source>
         <cmr-field>
              <cmr-field-name>jobs</cmr-field-name>
              <cmr-field-type>java.util.Collection</cmr-field-type>
         </cmr-field>
    </ejb-relationship-role>
                   <ejb-relationship-role>
         <ejb-relationship-role-name>jobs---gangsters</ejb-relationship-role-name>
         <multiplicity>Many</multiplicity>
         <relationship-role-source>
              <ejb-name>JobEJB</ejb-name>
         </relationship-role-source>
         <cmr-field>
              <cmr-field-name>gangsters</cmr-field-name>
              <cmr-field-type>java.util.Collection</cmr-field-type>
         </cmr-field>
    </ejb-relationship-role>
              </ejb-relation>
    <ejb-relation>
    <ejb-relation-name>organization-theBoss</ejb-relation-name>
         <ejb-relationship-role>
         <ejb-relationship-role-name>organization---theBoss</ejb-relationship-role-name>
         <multiplicity>One</multiplicity>
         <relationship-role-source>
              <ejb-name>OrganizationEJB</ejb-name>
         </relationship-role-source>
         <cmr-field>
              <cmr-field-name>theBoss</cmr-field-name>
                   </cmr-field>
              </ejb-relationship-role>
                   <ejb-relationship-role>
                        <ejb-relationship-role-name>theBoss---organization</ejb-relationship-role-name>
         <multiplicity>One</multiplicity>
    <relationship-role-source>
         <ejb-name>GangsterEJB</ejb-name>
    </relationship-role-source>
    </ejb-relationship-role>
    </ejb-relation>
         </relationships>
         <assembly-descriptor>
         <container-transaction>
         <method>
              <ejb-name>GangsterEJB</ejb-name>
              <method-name>*</method-name>
         </method>
         <method>
              <ejb-name>OrganizationEJB</ejb-name>
              <method-name>*</method-name>
         </method>
         <method>
              <ejb-name>JobEJB</ejb-name>
              <method-name>*</method-name>
                   </method>
                   <trans-attribute>Required</trans-attribute>
              </container-transaction>
         </assembly-descriptor>
    </ejb-jar>
    My weblogic-ejb-jar.xml is:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE weblogic-ejb-jar PUBLIC
    '-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB//EN'
    'http://www.bea.com/servers/wls700/dtd/weblogic-ejb-jar.dtd'>
    <weblogic-ejb-jar>
         <weblogic-enterprise-bean>
              <ejb-name>GangsterEJB</ejb-name>
              <entity-descriptor>
                   <persistence>
                        <persistence-use>
                             <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
                             <type-version>6.0</type-version>
                             <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
                        </persistence-use>
                   </persistence>
              </entity-descriptor>
              <reference-descriptor>
              <resource-description>
              <res-ref-name>jdbc/Gangster</res-ref-name>
              <jndi-name>oraclePool</jndi-name>
              </resource-description>
         </reference-descriptor>
              <jndi-name>Gangster</jndi-name>
         </weblogic-enterprise-bean>
         <weblogic-enterprise-bean>
              <ejb-name>OrganizationEJB</ejb-name>
              <entity-descriptor>
                   <persistence>
                        <persistence-use>
                             <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
                             <type-version>6.0</type-version>
                             <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
                        </persistence-use>
                   </persistence>
              </entity-descriptor>
              <reference-descriptor>
              <resource-description>
              <res-ref-name>jdbc/Organization</res-ref-name>
              <jndi-name>oraclePool</jndi-name>
              </resource-description>
         </reference-descriptor>
              <jndi-name>Organization</jndi-name>
         </weblogic-enterprise-bean>
         <weblogic-enterprise-bean>
              <ejb-name>JobEJB</ejb-name>
              <entity-descriptor>
                   <persistence>
                        <persistence-use>
                             <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
                             <type-version>6.0</type-version>
                             <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
                        </persistence-use>
                   </persistence>
              </entity-descriptor>
                        <reference-descriptor>
              <resource-description>
              <res-ref-name>jdbc/Job</res-ref-name>
              <jndi-name>oraclePool</jndi-name>
              </resource-description>
         </reference-descriptor>
              <jndi-name>Job</jndi-name>
         </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    My weblogic-cmp-rdbms-jar.xml file is:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE weblogic-rdbms-jar PUBLIC
    '-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB RDBMS Persistence//EN'
    'http://www.bea.com/servers/wls700/dtd/weblogic-rdbms20-persistence-700.dtd'>
    <weblogic-rdbms-jar>
         <weblogic-rdbms-bean>
              <ejb-name>GangsterEJB</ejb-name>
              <data-source-name>Gangster</data-source-name>
              <table-map>
              <table-name>GANGSTER</table-name>
              <field-map>
              <cmp-field>iD</cmp-field>
              <dbms-column>ID</dbms-column>
              </field-map>
              <field-map>
              <cmp-field>name</cmp-field>
              <dbms-column>NAME</dbms-column>
              </field-map>
              <field-map>
                   <cmp-field>nickname</cmp-field>
              <dbms-column>NICKNAME</dbms-column>
              </field-map>
              <field-map>
              <cmp-field>badness</cmp-field>
              <dbms-column>BADNESS</dbms-column>
              </field-map>
              </table-map>
              <weblogic-query>
                   <query-method>
                        <method-name>findAll</method-name>
                        <method-params></method-params>
                   </query-method>
              </weblogic-query>
         </weblogic-rdbms-bean>
         <weblogic-rdbms-bean>
              <ejb-name>OrganizationEJB</ejb-name>
              <data-source-name>Organization</data-source-name>
              <table-map>
              <table-name>ORGANIZATION</table-name>
              <field-map>
                   <cmp-field>iD</cmp-field>
                   <dbms-column>ID</dbms-column>
              </field-map>
              <field-map>
                   <cmp-field>name</cmp-field>
                   <dbms-column>NAME</dbms-column>
              </field-map>
              <field-map>
                   <cmp-field>description</cmp-field>
                   <dbms-column>DESCRIPTION</dbms-column>
              </field-map>
              </table-map>
              <weblogic-query>
                   <query-method>
                        <method-name>findAll</method-name>
                        <method-params></method-params>
                   </query-method>
              </weblogic-query>
         </weblogic-rdbms-bean>
         <weblogic-rdbms-bean>
              <ejb-name>JobEJB</ejb-name>
              <data-source-name>Job</data-source-name>
              <table-map>
              <table-name>JOB</table-name>
              <field-map>
                   <cmp-field>iD</cmp-field>
                   <dbms-column>ID</dbms-column>
              </field-map>
              <field-map>
                   <cmp-field>name</cmp-field>
                   <dbms-column>NAME</dbms-column>
              </field-map>
              <field-map>
                   <cmp-field>score</cmp-field>
                   <dbms-column>SCORE</dbms-column>
              </field-map>
              <field-map>
                   <cmp-field>setupCost</cmp-field>
                   <dbms-column>SETUPCOST</dbms-column>
              </field-map>
              </table-map>
              <weblogic-query>
                   <query-method>
                        <method-name>findAll</method-name>
                        <method-params></method-params>
                   </query-method>
              </weblogic-query>
         </weblogic-rdbms-bean>
         <weblogic-rdbms-relation>
         <relation-name>organization-memberGangsters</relation-name>
         <weblogic-relationship-role>
              <relationship-role-name>memberGangsters---organization</relationship-role-name>
              <relationship-role-map>
              <column-map>
                   <foreign-key-column>iD</foreign-key-column>
                   <key-column>ID</key-column>
              </column-map>
              </relationship-role-map>
         </weblogic-relationship-role>
    </weblogic-rdbms-relation>
    <weblogic-rdbms-relation>
         <relation-name>gangsters-jobs</relation-name>
         <table-name>JOBS</table-name>
         <weblogic-relationship-role>
              <relationship-role-name>gangsters---jobs</relationship-role-name>
              <relationship-role-map>
              <column-map>
                   <foreign-key-column>iD</foreign-key-column>
                   <key-column>ID</key-column>
              </column-map>
              </relationship-role-map>
         </weblogic-relationship-role>
         <weblogic-relationship-role>
              <relationship-role-name>jobs---gangsters</relationship-role-name>
              <relationship-role-map>
              <column-map>
                   <foreign-key-column>iD</foreign-key-column>
                   <key-column>ID</key-column>
              </column-map>
              </relationship-role-map>
         </weblogic-relationship-role>
    </weblogic-rdbms-relation>
    <weblogic-rdbms-relation>
         <relation-name>organization-theBoss</relation-name>
         <weblogic-relationship-role>
              <relationship-role-name>organization---theBoss</relationship-role-name>
              <relationship-role-map>
              <column-map>
                   <foreign-key-column>iD</foreign-key-column>
                   <key-column>ID</key-column>
              </column-map>
              </relationship-role-map>
         </weblogic-relationship-role>
    </weblogic-rdbms-relation>
    </weblogic-rdbms-jar>

    The problem I see is wrong url for jDriver.
    you have to say: jdbc:weblogic:oracle
    In properties what you need is:
    user=
    password=
    server=
    Actually, your connetion pool is not created yet. It has problems. Make sure you create connectionpool successfully
    first.
    Thanks,
    Mitesh
    ronak wrote:
    When I am trying to deploy my ear file. I am getting the error mentioned below.
    I have made a connection pool and 3 data sources at console. Is there a problem
    with the way I have defined them. Please do let me know.
    Thank You
    Ronak Parekh
    Connection Pools:
    Name : oraclePool
    URL : jdbc:weblogic:builder
    Driver classname : weblogic.jdbc.oci.Driver
    Properties(key=values): servername=ronakserver
    user=sempsys
    dataSourceName=oraclePool
    databaseName=builder
    Password : sempsys
    Data Sources:
    Name : Gangster
    JNDI Name: Gangster
    Pool Name: oraclePool
    Name : Organization
    JNDI Name: Organization
    Pool Name: oraclePool
    Name : Job
    JNDI Name: Job
    Pool Name: oraclePool
    My Error is:
    preparing application app10 on ronserver
    prepared application app10 on ronserver
    activating application app10 on ronserver
    Exception caught for task Activate application app10 on ronserver: activate failed
    forsempire_bc.jar
    Module, sempire_bc.jar, reported error: Exception activating module: EJBModule(sempire_bc.jar,status=PREPARED)
    Unable to deploy EJB: OrganizationEJB from sempire_bc.jar:
    weblogic.ejb20.WLDeploymentException: The DataSource with the JNDI name: Organization
    could not be located. Please ensure that the DataSource has been deployed successfully
    and that the JNDI name in your EJB Deployment descriptor is correct.
    at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.setup(RDBMSPersistenceManager.java:130)
    at weblogic.ejb20.manager.BaseEntityManager.setupPM(BaseEntityManager.java:214)
    at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:186)
    at weblogic.ejb20.manager.DBManager.setup(DBManager.java:161)
    at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:936)
    at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1302)
    at weblogic.ejb20.deployer.EJBModule.activate(EJBModule.java:342)
    at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplicationContainer.java:1534)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:991)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:978)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1104)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:724)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
    failed application app10 on ronserver
    My ejb-jar.xml file is:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC
    "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN"
    "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar>
    <display-name>Business Component CMP 2.0</display-name>
    <enterprise-beans>
    <entity>
    <display-name>Gangster Entity Bean</display-name>
    <ejb-name>GangsterEJB</ejb-name>
    <local-home>com.sempire.builder.business_component.GangsterHome</local-home>
    <local>com.sempire.builder.business_component.Gangster</local>
    <ejb-class>com.sempire.builder.business_component.GangsterBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.Integer</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <cmp-field><field-name>iD</field-name></cmp-field>
    <cmp-field><field-name>name</field-name></cmp-field>
    <cmp-field><field-name>nickname</field-name></cmp-field>
    <cmp-field><field-name>badness</field-name></cmp-field>
    <primkey-field>iD</primkey-field>
    <env-entry>
    <env-entry-name>GANGSTER</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>Gangster</env-entry-value>
    </env-entry>
    <env-entry>
    <env-entry-name>oraclePool</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>oraclePool</env-entry-value>
    </env-entry>
    <resource-ref>
    <res-ref-name>jdbc/Gangster</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </entity>
    <entity>
    <display-name>Organization Entity Bean</display-name>
    <ejb-name>OrganizationEJB</ejb-name>
    <local-home>com.sempire.builder.business_component.OrganizationHome</local-home>
    <local>com.sempire.builder.business_component.Organization</local>
    <ejb-class>com.sempire.builder.business_component.OrganizationBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.Integer</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <cmp-field><field-name>iD</field-name></cmp-field>
    <cmp-field><field-name>name</field-name></cmp-field>
    <cmp-field><field-name>description</field-name></cmp-field>
    <primkey-field>iD</primkey-field>
    <env-entry>
    <env-entry-name>ORGANIZATION</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>Organization</env-entry-value>
    </env-entry>
    <env-entry>
    <env-entry-name>oraclePool</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>oraclePool</env-entry-value>
    </env-entry>
    <resource-ref>
    <res-ref-name>jdbc/Organization</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </entity>
    <entity>
    <display-name>Job Entity Bean</display-name>
    <ejb-name>JobEJB</ejb-name>
    <local-home>com.sempire.builder.business_component.JobHome</local-home>
    <local>com.sempire.builder.business_component.Job</local>
    <ejb-class>com.sempire.builder.business_component.JobBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.Integer</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <cmp-field><field-name>iD</field-name></cmp-field>
    <cmp-field><field-name>name</field-name></cmp-field>
    <cmp-field><field-name>score</field-name></cmp-field>
    <cmp-field><field-name>setupCost</field-name></cmp-field>
    <primkey-field>iD</primkey-field>
    <env-entry>
    <env-entry-name>Job</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>Job</env-entry-value>
    </env-entry>
    <env-entry>
    <env-entry-name>oraclePool</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>oraclePool</env-entry-value>
    </env-entry>
    <resource-ref>
    <res-ref-name>jdbc/Job</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </entity>
    </enterprise-beans>
    <relationships>
    <ejb-relation>
    <ejb-relation-name>organization-memberGangsters</ejb-relation-name>
    <ejb-relationship-role>
    <ejb-relationship-role-name>organization---memberGangsters</ejb-relationship-role-name>
    <multiplicity>One</multiplicity>
    <relationship-role-source>
    <ejb-name>OrganizationEJB</ejb-name>
    </relationship-role-source>
    <cmr-field>
    <cmr-field-name>memberGangsters</cmr-field-name>
    <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
    <ejb-relationship-role>
    <ejb-relationship-role-name>memberGangsters---organization</ejb-relationship-role-name>
    <multiplicity>Many</multiplicity>
    <cascade-delete/>
    <relationship-role-source>
    <ejb-name>GangsterEJB</ejb-name>
    </relationship-role-source>
    <cmr-field>
    <cmr-field-name>organization</cmr-field-name>
    </cmr-field>
    </ejb-relationship-role>
    </ejb-relation>
    <ejb-relation>
    <ejb-relation-name>gangsters-jobs</ejb-relation-name>
    <ejb-relationship-role>
    <ejb-relationship-role-name>gangsters---jobs</ejb-relationship-role-name>
    <multiplicity>Many</multiplicity>
    <relationship-role-source>
    <ejb-name>GangsterEJB</ejb-name>
    </relationship-role-source>
    <cmr-field>
    <cmr-field-name>jobs</cmr-field-name>
    <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
    <ejb-relationship-role>
    <ejb-relationship-role-name>jobs---gangsters</ejb-relationship-role-name>
    <multiplicity>Many</multiplicity>
    <relationship-role-source>
    <ejb-name>JobEJB</ejb-name>
    </relationship-role-source>
    <cmr-field>
    <cmr-field-name>gangsters</cmr-field-name>
    <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
    </ejb-relation>
    <ejb-relation>
    <ejb-relation-name>organization-theBoss</ejb-relation-name>
    <ejb-relationship-role>
    <ejb-relationship-role-name>organization---theBoss</ejb-relationship-role-name>
    <multiplicity>One</multiplicity>
    <relationship-role-source>
    <ejb-name>OrganizationEJB</ejb-name>
    </relationship-role-source>
    <cmr-field>
    <cmr-field-name>theBoss</cmr-field-name>
    </cmr-field>
    </ejb-relationship-role>
    <ejb-relationship-role>
    <ejb-relationship-role-name>theBoss---organization</ejb-relationship-role-name>
    <multiplicity>One</multiplicity>
    <relationship-role-source>
    <ejb-name>GangsterEJB</ejb-name>
    </relationship-role-source>
    </ejb-relationship-role>
    </ejb-relation>
    </relationships>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>GangsterEJB</ejb-name>
    <method-name>*</method-name>
    </method>
    <method>
    <ejb-name>OrganizationEJB</ejb-name>
    <method-name>*</method-name>
    </method>
    <method>
    <ejb-name>JobEJB</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    My weblogic-ejb-jar.xml is:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE weblogic-ejb-jar PUBLIC
    '-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB//EN'
    'http://www.bea.com/servers/wls700/dtd/weblogic-ejb-jar.dtd'>
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>GangsterEJB</ejb-name>
    <entity-descriptor>
    <persistence>
    <persistence-use>
    <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
    <type-version>6.0</type-version>
    <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
    </persistence-use>
    </persistence>
    </entity-descriptor>
    <reference-descriptor>
    <resource-description>
    <res-ref-name>jdbc/Gangster</res-ref-name>
    <jndi-name>oraclePool</jndi-name>
    </resource-description>
    </reference-descriptor>
    <jndi-name>Gangster</jndi-name>
    </weblogic-enterprise-bean>
    <weblogic-enterprise-bean>
    <ejb-name>OrganizationEJB</ejb-name>
    <entity-descriptor>
    <persistence>
    <persistence-use>
    <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
    <type-version>6.0</type-version>
    <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
    </persistence-use>
    </persistence>
    </entity-descriptor>
    <reference-descriptor>
    <resource-description>
    <res-ref-name>jdbc/Organization</res-ref-name>
    <jndi-name>oraclePool</jndi-name>
    </resource-description>
    </reference-descriptor>
    <jndi-name>Organization</jndi-name>
    </weblogic-enterprise-bean>
    <weblogic-enterprise-bean>
    <ejb-name>JobEJB</ejb-name>
    <entity-descriptor>
    <persistence>
    <persistence-use>
    <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
    <type-version>6.0</type-version>
    <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
    </persistence-use>
    </persistence>
    </entity-descriptor>
    <reference-descriptor>
    <resource-description>
    <res-ref-name>jdbc/Job</res-ref-name>
    <jndi-name>oraclePool</jndi-name>
    </resource-description>
    </reference-descriptor>
    <jndi-name>Job</jndi-name>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    My weblogic-cmp-rdbms-jar.xml file is:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE weblogic-rdbms-jar PUBLIC
    '-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB RDBMS Persistence//EN'
    'http://www.bea.com/servers/wls700/dtd/weblogic-rdbms20-persistence-700.dtd'>
    <weblogic-rdbms-jar>
    <weblogic-rdbms-bean>
    <ejb-name>GangsterEJB</ejb-name>
    <data-source-name>Gangster</data-source-name>
    <table-map>
    <table-name>GANGSTER</table-name>
    <field-map>
    <cmp-field>iD</cmp-field>
    <dbms-column>ID</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>name</cmp-field>
    <dbms-column>NAME</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>nickname</cmp-field>
    <dbms-column>NICKNAME</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>badness</cmp-field>
    <dbms-column>BADNESS</dbms-column>
    </field-map>
    </table-map>
    <weblogic-query>
    <query-method>
    <method-name>findAll</method-name>
    <method-params></method-params>
    </query-method>
    </weblogic-query>
    </weblogic-rdbms-bean>
    <weblogic-rdbms-bean>
    <ejb-name>OrganizationEJB</ejb-name>
    <data-source-name>Organization</data-source-name>
    <table-map>
    <table-name>ORGANIZATION</table-name>
    <field-map>
    <cmp-field>iD</cmp-field>
    <dbms-column>ID</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>name</cmp-field>
    <dbms-column>NAME</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>description</cmp-field>
    <dbms-column>DESCRIPTION</dbms-column>
    </field-map>
    </table-map>
    <weblogic-query>
    <query-method>
    <method-name>findAll</method-name>
    <method-params></method-params>
    </query-method>
    </weblogic-query>
    </weblogic-rdbms-bean>
    <weblogic-rdbms-bean>
    <ejb-name>JobEJB</ejb-name>
    <data-source-name>Job</data-source-name>
    <table-map>
    <table-name>JOB</table-name>
    <field-map>
    <cmp-field>iD</cmp-field>
    <dbms-column>ID</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>name</cmp-field>
    <dbms-column>NAME</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>score</cmp-field>
    <dbms-column>SCORE</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>setupCost</cmp-field>
    <dbms-column>SETUPCOST</dbms-column>
    </field-map>
    </table-map>
    <weblogic-query>
    <query-method>
    <method-name>findAll</method-name>
    <method-params></method-params>
    </query-method>
    </weblogic-query>
    </weblogic-rdbms-bean>
    <weblogic-rdbms-relation>
    <relation-name>organization-memberGangsters</relation-name>
    <weblogic-relationship-role>
    <relationship-role-name>memberGangsters---organization</relationship-role-name>
    <relationship-role-map>
    <column-map>
    <foreign-key-column>iD</foreign-key-column>
    <key-column>ID</key-column>
    </column-map>
    </relationship-role-map>
    </weblogic-relationship-role>
    </weblogic-rdbms-relation>
    <weblogic-rdbms-relation>
    <relation-name>gangsters-jobs</relation-name>
    <table-name>JOBS</table-name>
    <weblogic-relationship-role>
    <relationship-role-name>gangsters---jobs</relationship-role-name>
    <relationship-role-map>
    <column-map>
    <foreign-key-column>iD</foreign-key-column>
    <key-column>ID</key-column>
    </column-map>
    </relationship-role-map>
    </weblogic-relationship-role>
    <weblogic-relationship-role>
    <relationship-role-name>jobs---gangsters</relationship-role-name>
    <relationship-role-map>
    <column-map>
    <foreign-key-column>iD</foreign-key-column>
    <key-column>ID</key-column>
    </column-map>
    </relationship-role-map>
    </weblogic-relationship-role>
    </weblogic-rdbms-relation>
    <weblogic-rdbms-relation>
    <relation-name>organization-theBoss</relation-name>
    <weblogic-relationship-role>
    <relationship-role-name>organization---theBoss</relationship-role-name>
    <relationship-role-map>
    <column-map>
    <foreign-key-column>iD</foreign-key-column>
    <key-column>ID</key-column>
    </column-map>
    </relationship-role-map>
    </weblogic-relationship-role>
    </weblogic-rdbms-relation>
    </weblogic-rdbms-jar>

  • Need help for focusing the cursor from one textbox to another textbox

    hii all,
    I have a problem in java script.
    Note:The textboxes are generated dynamically.it is not having fixed length.(the number of textboxes generated may be 3,2,4....etc.it is not fixed.
    To move cursor from one textbox to another text box ,I have taken the length of the textboxes of the first column.I used onkeyDown event .
    in the function ,first i checked the condition like
    for(i=0;i<form1.box.length;i++) //box is the name of the textboxes
    if(event.keyCode==13)
    form1.box[i+1].focus();
    return false;
    by using this the cursor is moving from first text box to second textbox and stops.
    if i use event.returnValue=false; instead of return false ,then the cursor automatically going to the laxt textbox of the column.
    my problem is how i can focus the cursor from one textbox to another textbox one after the other till the end.
    if any one has solution please help me.
    also if we can do in another way also,please help me.
    thanx.>

    thanx .u helped me so much.
    i have to check another condition. see the code below
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML>
    <HEAD>
    <TITLE> New Document </TITLE>
    <META NAME="Generator" CONTENT="EditPlus">
    <META NAME="Author" CONTENT="">
    <META NAME="Keywords" CONTENT="">
    <META NAME="Description" CONTENT="">
    </HEAD>
    <SCRIPT language="Javascript">
    function fnTest(str) {
    if(event.keyCode==13) {
    if(str == 4) {
    formHeader.box[0].focus();
    else {
    formHeader.box[parseInt(str)+1].focus();
    return false;
    </SCRIPT>
    <BODY>
    <FORM name="formHeader">
    <CENTER>
    <INPUT TYPE="TEXT" name="box" value="" onKeyDown="javascript:fnTest('0');">
    <br>
    <INPUT TYPE="TEXT" name="box" value="" onKeyDown="javascript:fnTest('1');">
    <br>
    <INPUT TYPE="TEXT" name="box" value="0" disabled="false" onKeyDown="javascript:fnTest('2');">
    <br>
    <INPUT TYPE="TEXT" name="box" value="" onKeyDown="javascript:fnTest('3');">
    <br>
    <INPUT TYPE="TEXT" name="box" value="" onKeyDown="javascript:fnTest('4');">
    </CENTER>
    </FORM>
    </BODY>
    </HTML>
    suppose if some of the fields are disabled,then the focus must skip to the next one.i have written disabled for box2.if the cursor focuses in box1,then the cursor should move to box3 escaping box2.
    if u know plz tell me.

  • Need help in understanding the result logged in gateway log file

    I have installed unixODBC.x86_64 (2.2.14) and mysql-connector-odbc-5.3.4-linux-el6-x85-64 on Oracle Linux Server 6.5 64 bit with Oracle 12c and MySQL Community Server 5..6.14.  Oracle database character set is AL32UTF8 and MySQL database character set is latin1. I have copied the content of a gateway log file to the bottom of this entry and boldfaced the lines that I hope someone can explain to me what they mean and what should I do.
    Gateway init file has the following configuration:
    HS_FDS_CONNECT_INFO = myodbc5
    HS_FDS_TRACE_LEVEL = DEBUG
    HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbc.so
    HS_LANGUAGE=AMERICAN_AMERICA.WE8ISO8859P15
    set ODBCSYSINI=/tmp/shared
    ODBC.ini located in /tmp/shared has the following configuration:
    [myodbc5]
    Driver          = /tmp/shared/mysql-odbc/lib/libmyodbc5w.so
    DATABASE        = peter
    DESCRIPTION     = MySQL ODBC 5.3 Unicode Driver
    SERVER          = localhost
    UID             = peter
    PASSWORD        = peter
    SOCKET          = /var/lib/mysql/mysql.sock
    Listener.ora has the following configuration:
    LISTENER =
      (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
    (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
    SID_LIST_LISTENER =
       (SID_LIST =
         (SID_DESC =
           (GLOBAL_DBNAME = PETER)
           (ORACLE_HOME = /opt/oracle/12c)
           (SID_NAME = PETER)
         (SID_DESC =
           (SID_NAME = mysqlodbc)
           (ORACLE_HOME = /opt/oracle/12c)
           (PROGRAM = dg4odbc)
    Tnsnames.ora has the following configuration:
    mysqlodbc =
    (DESCRIPTION=
    (ADDRESS=
    (PROTOCOL=TCP) (HOST=localhost) (PORT=1521)
    (CONNECT_DATA=
    (SID=mysqlodbc))
    (HS=OK)
    Gateway log file has the following content:
    Oracle Corporation --- TUESDAY   FEB 17 2015 14:08:39.306
    Heterogeneous Agent Release
    12.1.0.1.0
    Oracle Corporation --- TUESDAY   FEB 17 2015 14:08:39.306
        Version 12.1.0.1.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "DEBUG"
    Entered hgosdip
    setting HS_OPEN_CURSORS to default of 50
    setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
    setting HS_FDS_RECOVERY_PWD to default value
    setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
    setting HS_IDLE_TIMEOUT to default of 0
    setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    setting HS_NLS_NCHAR to default of "AL32UTF8"
    setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
    setting HS_FDS_DATE_MAPPING to default of "DATE"
    setting HS_RPC_FETCH_REBLOCKING to default of "ON"
    setting HS_FDS_FETCH_ROWS to default of "100"
    setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
    setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
    setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
    setting HS_FDS_MAP_NCHAR to default of "TRUE"
    setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
    setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
    setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
    setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
    setting HS_FDS_QUERY_DRIVER to default of "TRUE"
    setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
    setting HS_FDS_QUOTE_IDENTIFIER to default of "TRUE"
    setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
    setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
    setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
    Default value of 64 assumed for HS_FDS_SQLLEN_INTERPRETATION
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
    setting HS_FDS_DELAYED_OPEN to default of "TRUE"
    setting HS_FDS_WORKAROUNDS to default of "0"
    Exiting hgosdip, rc=0
    ORACLE_SID is "mysqlodbc"
    Product-Info:
      Port Rls/Upd:1/0 PrdStat:0
      Agent:Oracle Database Gateway for ODBC
      Facility:hsa
      Class:ODBC, ClassVsn:12.1.0.1.0_0017, Instance:mysqlodbc
    Exiting hgogprd, rc=0
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=46
    HOCXU_DRV_NCHAR=873
    HOCXU_DB_CSET=873
    HS_LANGUAGE is AMERICAN_AMERICA.WE8ISO8859P15
    LANG=en_US.UTF-8
    HOCXU_SEM_VER=121000
    HOCXU_VC2_MAX=4000
    HOCXU_RAW_MAX=2000
    Entered hgolofn at 2015/02/17-14:08:39
    HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/lib64/libodbc.so"
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac07fe0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac08110
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac089d0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac09d40
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac11c00
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac120a0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac148d0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac15dd0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac16610
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac18060
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac18070
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac197c0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac1cb80
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac1cf60
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac1eb70
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac1f800
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac1fb80
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac21af0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac21f10
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac23b20
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac23960
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac0a360
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac0bc20
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac0f710
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac11470
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac12c00
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac15810
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac16f70
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac18400
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac19ec0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac1a390
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac1b5f0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac1c320
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac1d9c0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac1dcc0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac1e7c0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac20380
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac208d0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac20eb0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac21520
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac22210
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac24fb0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac23610
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac26910
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac275e0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Exiting hgolofn, rc=0 at 2015/02/17-14:08:39
    HOSGIP for "HS_OPEN_CURSORS" returned "50"
    HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
    HOSGIP for "HS_NLS_NUMERIC_CHARACTERS" returned ".,"
    HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
    HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
    HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
    HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
    HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
    Invalid value of 64 given for HS_FDS_SQLLEN_INTERPRETATION
    treat_SQLLEN_as_compiled = 1
    Exiting hgoinit, rc=0 at 2015/02/17-14:08:39
    Entered hgolgon at 2015/02/17-14:08:39
    reco:0, name:peter, tflag:0
    Entered hgosuec at 2015/02/17-14:08:39
    Exiting hgosuec, rc=0 at 2015/02/17-14:08:39
    HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
    HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
    HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
    HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
    HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
    HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
    HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
    HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
    using peter as default schema
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2015/02/17-14:08:39
    HS_FDS_CONNECT_INFO = "myodbc5"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2015/02/17-14:08:39
    dsn:myodbc5, name:peter
    optn:
    Entered hgocip at 2015/02/17-14:08:39
    dsn:myodbc5
    Exiting hgocip, rc=0 at 2015/02/17-14:08:39
    Exiting hgogenconstr, rc=0 at 2015/02/17-14:08:39
    Entered hgolosf at 2015/02/17-14:08:39
    Exiting hgolosf, rc=0 at 2015/02/17-14:08:39
    DriverName:libmyodbc5w.so, DriverVer:05.03.0004
    DBMS Name:MySQL, DBMS Version:5.6.14
    Exiting hgocont, rc=0 at 2015/02/17-14:08:39
    SQLGetInfo returns Y for SQL_CATALOG_NAME
    SQLGetInfo returns 192 for SQL_MAX_CATALOG_NAME_LEN
    Exiting hgolgon, rc=0 at 2015/02/17-14:08:39
    Entered hgoulcp at 2015/02/17-14:08:39
    Entered hgowlst at 2015/02/17-14:08:39
    Exiting hgowlst, rc=0 at 2015/02/17-14:08:39
    SQLGetInfo returns 0x0 for SQL_SCHEMA_USAGE
    TXN Capable:3, Isolation Option:0xf
    SQLGetInfo returns 0 for SQL_MAX_SCHEMA_NAME_LEN
    SQL_SU_DML_STATEMENTS bit is not set. Schemas are not supported by FDS.
    SQLGetInfo returns 192 for SQL_MAX_TABLE_NAME_LEN
    SQLGetInfo returns 192 for SQL_MAX_PROCEDURE_NAME_LEN
    HOSGIP returned value of "TRUE" for HS_FDS_QUOTE_IDENTIFIER
    SQLGetInfo returns ` (0x60) for SQL_IDENTIFIER_QUOTE_CHAR
    Entered hgopoer at 2015/02/17-14:08:39
    Exiting hgopoer, rc=0 at 2015/02/17-14:08:39 with error ptr FILE:hgopoer.c LINE:195 ID:GetDiagRec error
    hgoulcp, line 2138: calling SQLFetch got sqlstate 00000
    3 instance capabilities will be uploaded
      capno:5964, context:0x00000000, add-info:        0
      capno:5989, context:0x00000000, add-info:        0
      capno:5992, context:0x0001ffff, add-info:        1, translation:"`"
    Exiting hgoulcp, rc=0 at 2015/02/17-14:08:39 with error ptr FILE:hgoulcp.c LINE:2140 ID:Translation text for Unicode literal not supported. Leaving HOACOPTTSTN1 capability off.
    Entered hgouldt at 2015/02/17-14:08:39
    NO instance DD translations were uploaded
    Exiting hgouldt, rc=0 at 2015/02/17-14:08:39
    Entered hgobegn at 2015/02/17-14:08:39
    tflag:0 , initial:1
    hoi:0xd991a328, ttid (len 24) is ...
      00: 50455445 522E3864 63666537 31332E31  [PETER.8dcfe713.1]
      10: 2E33312E 32303235                    [.31.2025]
                     tbid (len 21) is ...
      00: 50455445 525B312E 33312E32 3032355D  [PETER[1.31.2025]]
      10: 5B312E34 5D                          [[1.4]]
    Exiting hgobegn, rc=0 at 2015/02/17-14:08:39
    Entered hgodtab at 2015/02/17-14:08:39
    count:1
      table: mysql_table1
    Allocate hoada[0] @ 0x10b6300
    Entered hgopcda at 2015/02/17-14:08:39
    Column:1(dest): dtype:1 (CHAR), prc/scl:5/0, nullbl:1, octet:5, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2015/02/17-14:08:39
    The hoada for table mysql_table1 follows...
    hgodtab, line 1079: Printing hoada @ 0x10b6300
    MAX:1, ACTUAL:1, BRC:1, WHT=6 (TABLE_DESCRIBE)
    hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
    DTY      NULL-OK  LEN  MAXBUFLEN   PR/SC  CST IND MOD NAME
      1 CHAR Y          5          5   0/  0    0   0 200 dest
    Exiting hgodtab, rc=0 at 2015/02/17-14:08:39
    Entered hgodafr, cursor id 0 at 2015/02/17-14:08:39
    Free hoada @ 0x10b6300
    Exiting hgodafr, rc=0 at 2015/02/17-14:08:39
    Entered hgopars, cursor id 1 at 2015/02/17-14:08:39
    type:0
    SQL text from hgopars, id=1, len=39 ...
         00: 53454C45 43542041 312E6064 65737460  [SELECT A1.`dest`]
         10: 2046524F 4D20606D 7973716C 5F746162  [ FROM `mysql_tab]
         20: 6C653160 204131                      [le1` A1]
    Exiting hgopars, rc=0 at 2015/02/17-14:08:39
    Entered hgoopen, cursor id 1 at 2015/02/17-14:08:39
    hgoopen, line 87: NO hoada to print
    Deferred open until first fetch.
    Exiting hgoopen, rc=0 at 2015/02/17-14:08:39
    Entered hgodscr, cursor id 1 at 2015/02/17-14:08:39
    Allocate hoada @ 0x10b6300
    Entered hgodscr_process_sellist_description at 2015/02/17-14:08:39
    Entered hgopcda at 2015/02/17-14:08:39
    Column:1(dest): dtype:1 (CHAR), prc/scl:5/0, nullbl:1, octet:5, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2015/02/17-14:08:39
    hgodscr, line 470: Printing hoada @ 0x10b6300
    MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
    DTY      NULL-OK  LEN  MAXBUFLEN   PR/SC  CST IND MOD NAME
      1 CHAR Y          5          5   0/  0    0   0 200 dest
    Exiting hgodscr, rc=0 at 2015/02/17-14:08:39
    Entered hgoftch, cursor id 1 at 2015/02/17-14:08:39
    hgoftch, line 135: Printing hoada @ 0x10b6300
    MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
    DTY      NULL-OK  LEN  MAXBUFLEN   PR/SC  CST IND MOD NAME
      1 CHAR Y          5          5   0/  0    0   0 200 dest
    Performing delayed open.
    SQLBindCol: column 1, cdatatype: 1, bflsz: 6
    SQLFetch: row: 1, column 1, bflsz: 6, bflar: 5
    SQLFetch: row: 1, column 1, bflsz: 6, bflar: 5, (bfl: 5, mbl: 5)
    1 rows fetched
    Exiting hgoftch, rc=0 at 2015/02/17-14:08:39
    Entered hgoftch, cursor id 1 at 2015/02/17-14:08:39
    hgoftch, line 135: Printing hoada @ 0x10b6300
    MAX:1, ACTUAL:1, BRC:1, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
    DTY      NULL-OK  LEN  MAXBUFLEN   PR/SC  CST IND MOD NAME
      1 CHAR Y          5          5   0/  0    0   0 200 dest
    0 rows fetched
    Exiting hgoftch, rc=1403 at 2015/02/17-14:08:39
    Entered hgoclse, cursor id 1 at 2015/02/17-14:23:33
    Exiting hgoclse, rc=0 at 2015/02/17-14:23:33
    Entered hgodafr, cursor id 1 at 2015/02/17-14:23:33
    Free hoada @ 0x10b6300
    Exiting hgodafr, rc=0 at 2015/02/17-14:23:33
    Entered hgocomm at 2015/02/17-14:23:33
    keepinfo:0, tflag:1
       00: 50455445 522E3864 63666537 31332E31  [PETER.8dcfe713.1]
       10: 2E33312E 32303235                    [.31.2025]
                     tbid (len 21) is ...
       00: 50455445 525B312E 33312E32 3032355D  [PETER[1.31.2025]]
       10: 5B312E34 5D                          [[1.4]]
    cmt(0):
    Entered hgocpctx at 2015/02/17-14:23:33
    Exiting hgocpctx, rc=0 at 2015/02/17-14:23:33
    Exiting hgocomm, rc=0 at 2015/02/17-14:23:33
    Entered hgolgof at 2015/02/17-14:23:33
    tflag:1
    Exiting hgolgof, rc=0 at 2015/02/17-14:23:33
    Entered hgoexit at 2015/02/17-14:23:33
    Exiting hgoexit, rc=0
    Entered horcrces_CleanupExtprocSession at 2015/02/17-14:23:33
    Entered horcrpooe_PopOciEnv at 2015/02/17-14:23:33
    Entered horcrfoe_FreeOciEnv at 2015/02/17-14:23:33
    Exiting horcrfoe_FreeOciEnv at 2015/02/17-14:23:33
    Entered horcrfse_FreeStackElt at 2015/02/17-14:23:33
    Exiting horcrfse_FreeStackElt at 2015/02/17-14:23:33
    Exiting horcrpooe_PopOciEnv at 2015/02/17-14:23:33
    Exiting horcrces_CleanupExtprocSession at 2015/02/17-14:23:33

    Hi Matt,
    There is no error and data is returned.  It is just my curiosity to know about those lines in the log file and wonder whether they imply some underlying issues.
    Thanks,
    Peter

  • Need help : for changing the flv movie size

    i am loading my flv thogh xml link if load my flv the same
    size what i kept in my folder using script shall i change the movie
    size because lot of movies is loads dynmicaly i cannot go and
    change each and evry movie
    so some body can help me to change the movie - flv while it
    loads.

    You should be able to change the product name in Google Cloud.  The ChromeBook uses Google Cloud to print (Google Cloud uses HP ePrint).  Log into your google account and change the printer name there.
    I am an HP employee.
    Opinions expressed are mine and do not necessarily reflect the opinions of HP.
    Reminder: Please select the Accept as Solution button on the post that best answers your question. Also, you may select the Kudos button on any helpful post to give that person a quick thanks.

  • Needs help for tuning the sql

    Hi
    I have a query which will read one fact table and 4 dimension table.fact table contains millions of records
    Can u suggest me how can i tune my query which uses the fact table to get the best performance.

    Which version of the database are you using? Have you enabled Star Transformation? What does the explain plan look like? Is this intended for building a materilaized view or as the basis for running an ad hoc report?
    We created bit map indexes on the joining columns.bitmap indexes or bitmap-join indexes?
    Cheers, APC

  • Need help for importing oracle 10G dump into 9i database

    hi, Someone help me to import oracle 10G dump into 9i database. I'm studying oracle . Im using oracle 10G developer suite(downloaded from oracle) and oracle 9i database. I saw some threads tat we can't import the higher version dumps into lower version database. But i'm badly need help for importing the dump...
    or
    someone please tell me the site to download oracle 9i Developer suite as i can't find it in oracle site...

    I didnt testet it to import a dump out of a 10g instance into a 9i instance if this export has been done using a 10g environment.
    But it is possible to perform an export with a 9i environment against a 10g instance.
    I am just testing this with a 9.2.0.8 environment against a 10.2.0.4.0 instance and is working so far.
    The system raises an EXP-00008 / ORA-37002 error after exporting the data segments (exporting post-schema procedural objects and actions).
    I am not sure if it is possible to perform an import to a 9i instance with this dump but maybe worth to give it a try.
    It should potentially be possible to export at least 9i compatible objects/segments with this approach.
    However, I have my doubts if this stunt is supported by oracle ...
    Message was edited by:
    user434854

Maybe you are looking for

  • Skillbuilders Modal Problem

    I have installed the skillbuilders modal popup plugin and it is working. My problem is that the refresh on the autoclose does not seem to work. I have 2 buttons calling different popups, so 2 on create dynamic actions I have created 1 On successful c

  • How to build a gantt chart with BI Publisher

    Hi everybody, I need to create a gantt chart with BI Publisher. I had a look to the document "Getting Gantty" from the blog: http://blogs.oracle.com/xmlpublisher/2008/01/getting_gantty.html but I don't understand in which way: 1. build the data templ

  • When I connect my iPod, I get this error...

    I recieved a black 5G 30 GB iPod for Christmas. Here is the error I wrote down most of it. My whole screen comes up with a blue background and this is the text. I can only shut off the computer by pressing the power button. There's no other way to ge

  • Best practice in implementation of SEM-CPM

    Is someone have  the experiance of implementing SEM-CPM using best practice. and if so, does it reduces implementation time?

  • Can't HotSync Documents To Go

    Hi, I'm running Windows 2000.  Palm Desktop 4.1.4.  My original version of DTG didn't work when I installed it from the CD, so I downloaded the latest version: Product: Documents To Go Pro Bundle Win English Download Software  7.0060  18,088,808 Byte