Need to find tables

Information :
I have a java web project (jsp ,servlet , struts , session beans also) and hibernate for DB (Oracle ) persistence.
the DB has approximately 100 tables .
Question i want to ask :
I have a JSP page , the data you entered in the screen goes to the DB tables finally ....but as it process through many java classes in between , its becoming very difficult to which table these data are going finally.
I want a finest methodology to track where (in which table) these data are getting stored ?
So, in fact ..i am facing trouble to track down where (in which tables ) the data are going .
though i am doing it in eclipse and debugging but still its not so easy because of so many java classes it passes through.
and this may not be a good effort after all.
can anybody tell me some way around.
tell me some of the techniques if any , i wish to try
Message was edited by:
Unknown_Citizen
Message was edited by:
Unknown_Citizen

do you think , i have the adequate set up / rights
to avail your first solution ?Yes. Just change to that you are using ojdbc14_g.jar
instead of ojdbc14.jar. The _g driver is debug builtsorry , the information i gave you was not true .
I am using the DB connection pool of weblogic server . and the driver is Thin XA oracle driver .
It seems to me , i cant do it ....because i dont have _g driver in the driver list  and i doubt whether  weblogic support this kind of driver.
and is using java.util.logging to log information
about the sql that is executed.
Kajanother update is , converted HQL to SQL is so bad looking ...that i started to forget the SQL :-( ....it does not look like proper SQL .
Thank you for your help and time

Similar Messages

  • Need to find table for dispute case attachments in service for objects

    Hi All,
    I have a requirement where i need to find some tables which will hold details of dispute case attachments. After a dispute case is created using UDM_DISPUTE transaction, the concerned person may open that dispute case and can attach some documents/any attachments using services for objects icon at the top left corner of the screen. All i want to know is, in which table (tables related to service object) this attachment details will be stored. Even if the attachments details are stored in service objects related tables, there should be some link for this attachment and dispute case. Please let me know if any of you have some pointers and it would be highly appreciated.
    Thanks in advance,
    Srilakshmi.

    Hi a®s,
    Thanks for your reply. An entry is getting created in this table SRGBTBREL whenever an attachment/URL/notes is attached to a dispute case using services for object and the link between this table and dispute case table SCMG_T_CASE_ATTR is INSTID_A. This field holds the value of CASE GUID from SCMG_T_CASE_ATTR. Now my requirement is whenever an attachment is present in a dispute case i need to set a customized checkbox present in UDM_DISPUTE screen so that when an user opens the dispute case he/she can understand some attachment is present for this case by seeing the checkbox. I found the SCMG* badi's are not helpful to set the checkbox. Please let me know if you have any idea on how to implement it.
    Thanks in advance,
    Srilakshmi.

  • Need to find table/field behind "Item long text" field in Notes tab in FB70

    Hello,
    To print a custom FI invoice, I need to access the data entered in the "Item long text" field of the Notes tab in FB70. To test, I used 5000 characters in that field to make sure it stood out from the rest of the data. F1 help does nothing on that field, and even running an SQL trace (ST05) doesn't show the text in that field being entered into any table. I tried F1 on a nearby field and got a structure instead of a table, so I investigated the structure through SE11 but found no character field with such a large capacity. How else can I find where that field is stored?

    Thanks! It took a while, but with your help and a few other pages I managed to piece together an answer.
    Vinod helpfully explained that the text name is a concatenation of various fields, but didn't specify how to find the line item ID. If you go to table STXH (as hinted by Brad and confirmed [here|http://fuller.mit.edu/SAPWebDocs/LongComment.html]) and search for texts created today (or whenever you were testing), you'll see the text name ends in '001' after GJAHR, so the line item ID is '001' regardless of how many line items you enter in the invoice.
    Armed with that info, you can call READ_TEXT and loop through the results to concatenate the contents of each TDLINE field. (FB70 automatically breaks the user-entered text into different lines even if the user didn't press Enter, and each line gets its own record in the results.)
    Thanks again,
    Pedro

  • Query CDR database, need help finding table.

    Hi,
    I was asked to generate the following report:
    How many times for a certain amount of time both lines a certain extension has both lines simultaneously used.
    How many times for a certain amount of time a certain extension rings busy due to both lines being in use and another call comes in.
    Per Cisco documentation, I can probably find the field names. However, which tables would I need to query for the above requests? Cisco documentation shows a lot of tables, and it doesn't tell me which fields are in which table or visa versa.
    Thank you so much.

    I'd advise against doing too much raw SQL query work on CUCM - It's a call processing platform, not a reporting platform. Take the CDRs and feed them into your own database (or purchase a CallLogger which can do it automatically) and run queries from there.
    GTG

  • Find table for a structure field

    Hi,
    I need to find table for field Q0743-OFFR1. I tried using tcode SE15, but was not able to find any table where the field is used.
    Is there any other method of finding a table for a structure field.
    Any pointers in this regard would be helpful.
    Thanks,
    Saher

    Hi,
    when u open the structure , u will find the tab " Component " in that you
    will find "Data Element" column which hold the data element of the structure
    component , now double click on the respective "Data Element " and that will
    open up the Data Element Page in which u will find a "Where Used List" icon
    , click on that, this will now display you the list, select the TABLE LIST
    Check box and execute, which will subsequently display you all the the table
    names which has "specified" data element's component as field
    Hope this will Help you.
    Regards,
    Kiran

  • Find - tables with largest number of records?

    Hi,
    I need to find tables with largest number of records. Any transaction show this details?
    aRs

    Go to transaction DB02,  then click on the button that reads,  "Space Statistics", the dialog box, click ok, leave the "*" for all tables,   In the next screen put your cursor in the appropriate column labeled as Rows and click the sort button.  Now you will see your biggest tables at the top of the list.
    Regards,
    Rich Heilman

  • Need to find the Difference between two table

    Hello ,
    I have stucked in program as below scenario:-
    I have two tables of huge data of same structure in a same schema.I need to find the difference exact values in tables.
    By using MINUS we can find the difference between two table ,i need to find the what exact difference in the there values with colunm and value at that column.
    Example TableA
    Col1 col2 col3 col4 col5.... col50
    10 ABC 2001 EE 444 TT
    40 XYZ 3002 RR 445 TT3
    80 DEF 6005 YY 446 YY8
    TableB
    Col1 col2 col3 col4 col5.... col50
    10 ABC 2001 EE 444 TT
    40 XYZ 3002 RR 445 TT3
    81 DEF 6005 Yu 447 YY8
    I need to the out put like this :-
    The Diffence between two table is
    TableA.COL1=80 TableB.Col1=81, Different
    TableA.Col4=YY TableB.col4=Yu,Different
    TableA.Col5=446TableB.col5=447,Different
    Please suggest me to write the pl/sql program for the same
    thanx in advance
    KK

    Thanx friends for all your efforts
    I have a sample code for the same,this will compare the two tables for single row in each table .
    what r the modification needed for the multiple rows of values in the two tables??
    Please suggest!!
    CREATE OR REPLACE PROCEDURE test_compare
    IS
    TYPE t_col
    IS
    TABLE OF VARCHAR2 (30)
    INDEX BY PLS_INTEGER;
    l_col t_col;
    j NUMBER := 0;
    l_sql VARCHAR2 (2000);
    col1 VARCHAR2 (30);
    col2 VARCHAR2 (30);
    val1 NUMBER;
    val2 NUMBER;
    status VARCHAR2 (30);
    CURSOR c1
    IS
    SELECT column_id, column_name
    FROM all_tab_columns
    WHERE table_name = 'TEST1';
    BEGIN
    FOR i IN c1
    LOOP
    j := j + 1;
    l_col (j) := i.column_name;
    END LOOP;
    FOR k IN 1 .. j
    LOOP
    l_sql :=
    'SELECT '
    || ''''
    || l_col (k)
    || ''''
    || ', '
    || 'TEST2.'
    || l_col (k)
    || ', '
    || ''''
    || l_col (k)
    || ''''
    || ', '
    || 'TEST1.'
    || l_col (k )
    || ', '
    || 'DECODE(TEST2.'
    || l_col (k)
    || ' -TEST1.'
    || l_col (k)
    || ', 0, ''NO CHANGE'', ''CHANGED'') FROM TEST2, TEST1';
    EXECUTE IMMEDIATE l_sql INTO col1, val1,col2, val2, status;
    IF status = 'CHANGED'
    THEN
    DBMS_OUTPUT.put_line( 'TEST2.'
    || col1
    || '='
    || val1
    || ', TEST1.'
    || col2
    || '='
    || val2
    || ', '
    || status);
    END IF;
    END LOOP;
    EXCEPTION
    WHEN OTHERS
    THEN
    DBMS_OUTPUT.put_line ('Error:- ' || SQLERRM);
    END;
    /

  • If we open a transaction i need to find what are the tables used

    hi gurus
    can anyone suggest me
    if we open a transaction  liek va01
    i need to find what are the tables used
    what are the fields used in that transaction
    i need a list .
    thanks&regards
    kals.

    Hi
    you can find all those details in transaction variant,
    go with SHD0 ( numerical 0) and then enter your transaction code and enter transaction variant name and then select that
    Select the program SAPMV45A and go CHANGE WITH PROCESSING (F6),
    there you can find the list of fields and field names.
    reward points if usful.
    thanks and regards,
    muralidhar

  • Need a query to find Table Dependancy

    Hi Experts,
    I am in a need to find out which are all tables refer to particular table 'ABC' and / or it's column 'column_1', since I am new to environment and have about 500 + tables.
    Please tell me what are the various ways, I can achieve above requirement?
    Regards,
    MS

    user_cons_columns
    Information about accessible columns in constraint definitions
    OWNER
    Owner of the constraint definition
    CONSTRAINT_NAME
    Name associated with the constraint definition
    TABLE_NAME
    Name associated with table with constraint definition
    COLUMN_NAME
    Name associated with column or attribute of object column specified in the constraint definition
    POSITION
    Original position of column or attribute in definition
    Also try this, DBMS_METADATA
    set long 9999
    select dbms_metadata.get_ddl('TABLE','ABC') FROM DUAL;
    Edited by: rajeysh on Jun 21, 2011 2:44 AM
    Edited by: rajeysh on Jun 21, 2011 2:44 AM

  • Is there any link between oe_order_headers_all and hz_cust_accounts tables. I need to find the cust_account_id for some order_number. Please help me with this

    Is there any link between oe_order_headers_all and hz_cust_accounts tables. I need to find the cust_account_id for some order_number. Please help me with this

    you can link
    OOH.invoice_to_org_id=CUST.cust_account_id   -- invoice customer
    OOH.sold_to_org_id=CUST.cust_account_id   -- sold to customer
    OOH.ship_to_org_id=CUST.cust_account_id   -- ship to customer

  • How to find table name(s) in a dynamic query

    In one of our (9iAS PORTAL)applications, any user can able to run their query statment and get output. All queries will be executed as dynamic SQL thru' a common shema/user who has 'SELECT' privilege on all tables but all users don't have this privilege on all tables. Now, before executing any query I need to find out what are the table name(s) used in this query to check the privilege for the respective user. How do I extract all table names being used in a dynamic query?.
    Thanks
    -Krishnamurthy

    I guess that his users log in to application first, then application uses one account to log in to database, so application are not direct database user since all users share the same account to database. If so, when a user lgins in, you may write it down from application to a database audit table, and you need to write down the dynamic query to the database audit table too, then you may query that audit table to find out. up to here, it looks that your application has to do more to assign what role to a user running the application, since database does not know what user is assessing it.

  • I need help finding a workable web program that is not CSS based.  I tried IWeb and it just won't work for me.  Way too limiting.  I've been using a 12 year old copy of Macromedia Dreamweaver, but the new Dreamweaver is CSS

    Been building web pages for nearly 20 years, starting with GoLive.  Went to Dreamweaver about 12 years ago, the Macromedia version.  Tried going to iWeb when it came with a new Mac, but found it way too limiting with it's CSS template base.   Unknowlingly, I then bought a new copy of Dreamweaver.   Ooops, Adobe had bought Macromedia and Dreamweaver, too, is now CSS based, which for my money makes it useless to anyone who likes simplicity.   Now I find that even iWeb has been discontinued.  I was told yesterday that Apple doesn't have a web program any more.   At 12 years old, I just don't think it's practical to try to load my old Macromedia Dreamweaver into the new Mountain Lion (I'm getting a new Mac), though it is running, barely, in Snow Leopard.
    I need to find a web builder program that will permit simple construction of educational pages, nothing fancy, nothing artistic, just create a page, give it a color, type or drag in text, insert a table, insert pix in the table blocks, add text under the pix... done!    I should note that I am not looking to build traffic.  I teach simple things for free and people who want to learn those things (antique sewing machine repair, quilting, building longbows) find me.
    I've downloaded trial versions of half a dozen or so programs and looked at maybe 20 more, but all are either CSS based and drive me insane with requirments for constantly making rules and template models, and/or require that you base your web presence in their server.   Also, many will not work with pages built in other programs.  I maintian a volume of over 1000 web pages, many requiring regular updating, and they have been with the same server for more than 15 years.  I'm not about to change.
    So, anybody know a simple, old fashioned web builder that's happpy on a Mac platform?
    Captain Dick

    Although not supported anymore, iWeb does still function using Mountain Lion...
    http://www.iwebformusicians.com/iWeb/mountain-lion.html
    ... and you can purchase it from Amazon.
    Start with a blank page using the Black or WHite template.
    All modern websites use CSS and there are thousands of free templates to be had if you want to use a code entry style application. You will need to go this route if you want to create a site that is viewable on mobile devices although you can create an iPhone version using iWeb...
    http://www.iwebformusicians.com/iWeb/Mobile-iWeb.html
    Search this forum for numerous topics about iWeb alternatives.

  • I NEED TO FIND THE PURCHASE ORDER NO.

    HAI ALL,
         I NEED TO FIND THE PURCHASE ORDER NO.
    I have MATNR (material no.), LIFNR (vendor no.), RDOC OR MBLNR (material doc.no). values of these in my internal table. Using this i need to find purchase order no. I HAVE TRIED WITH MSEG TABLE ,but purchase order no. is not stored there.
    PL. tell me TABLE NAME OR HOW TO JOIN THA TABLES OR ANY VIEWS to find purchase order no.
    If u need any clarification regarding my req. pl send mail to below address.
    [email protected]
    THANKS IN ADVANCE,
    SENTHIL KUMAR

    HAI,
        THANKS FOR UR REPLY.
    I am using 541 movement type, (which is used for subcontracting)
    my req. is for 541 movement type in which table purchse order no. and mblnr(material doc. no.) are stored.
    Thanks in advance
    senthil kumar

  • Need to find the assets associated to a BCC project using SQL query

    Hi,
    Given a BCC project (project_id), I need to find the assets (type of asset, version, status etc) in that project using SQL queries.
    I need this for reporting purpose and cannot do this programatically using any code.
    Surprisingly ATG does not store this association in a direct way. Can someone provide me the query if you have already done this before?
    I tried enabling loggingDebug in PublishingRepository and VersionManagerRepository to get the queries, but I did not get what I want.
    Thanks in advance,
    Gopinath Ramasamy

    UPDATE:
    When a project is selected in BCC, ATG is doing something crazy, as it appears to me, of querying all the tables (ofcourse when there is a cache miss) in all the versioned item descriptor with the workspace id of the project to display the assets contained in it.
    I do not see an easy or direct way of coming up with a query for this requirement.
    Please let me know if anyone has any other idea.
    Thanks,
    Gopinath Ramasamy

  • Find table column pattern in a variable

    I have a variable @a.  There is a table B with column A,C.  I need to find out those values of column A where column C values are a subset of @a. 
    For example @a='123456abcd'table
    Table B
    A     C
    1      abcd
    2      xyzt
    In the above case I need to get A=1 since value C pattern belongs within @a.

    Hi John_nn,
    I’m confused about what’s the desired result you want. Are you want to find out all matched values of column A where column C values are a subset of @a, or find out all matched values of column A where @a is a subset of column C values? If in the first scenario,
    you can refer to the first reply of Prashanth and the second reply of Tom. If in the second scenario, you can refer to the first reply of Tom and the second reply of Prashanth.
    If there are any misunderstanding, please elaborate the issue for further investigation.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

Maybe you are looking for

  • No Authorization to OLAP Cubes during the creation of universe connection

    Hello friends we are not able to see the OLAP Cubes during the creation of universe connection using the Quality system and Application server "sapbmw01" client 100, system # 00. But we are able to set up the connection in our development system.   I

  • STO GR issue ...

    Dear Experts : I have meet one question when GR for STO . I have create  one STO . Then by the PO to create DN and PGI . In GR process , I do GR , Return to Vendor , cancel return Vendor , cancel GR  (mov. type 101 122 123 102) Then I use DN to do MI

  • Problem with wizard Style layout.

    Hi Dear Jheadstart team, I am using jdeveloper 10.1.3.1 and jhs 10.1.3.0.95, I have developed a data entry page using wizard style in separate pages witch have 5 pages, I have followed all steps which is shown in demo screenshot #4, surprisingly enou

  • Solution for head quarter database

    We have distributed architecture with around 50 database in different locations. To generate MIS at one server We are doing the following. 1.Take export of selected tables from different locations. 2.Truncate base tables every time before import. 3.T

  • List of warning codes

    Is there a document which lists warning codes (positive numbers returned as function status) and corresponding messages? Mark