How to View sql generated by WLS CMP?

Hi,
I am using WLS 8.1 SP4, how can I view the SQL that is generated by the EJB CMP container for my Entity beans. Is there any setting that I need to enable?
Thanks
Rama

If you pre-compile the EJB using weblogic.ejbc or weblogic.appc, you can use
the '-keepgenerated' option which will keep the source files of the
generated RDBMS .java file of the entity bean. You can find the SQLs in this
source file.
At run time, if you want to see the SQL that are being fired, you can add
the following option in the java command line:
-Dweblogic.ejb20.cmp.rdbms.verbose=true
--Sathish
<Rama V> wrote in message news:[email protected]..
Hi,
I am using WLS 8.1 SP4, how can I view the SQL that is generated by the
EJB CMP container for my Entity beans. Is there any setting that I need to
enable?
Thanks
Rama

Similar Messages

  • How to view SQL Built-In function Codings ?

    Hello All
    I want to view the sql built-in functions codings,any one say how to view this, or any web links contains this
    for ex --- i want to view the round function coding
    Thanks

    user2233 wrote:
    I want to view the sql built-in functions codings,any one say how to view this, or any web links contains this
    for ex --- i want to view the round function codingIf you mean seeing the actual source code for the SQL round() function, then no - not possible. It is part of the copyrighted (and private) Oracle source code.
    If you want to see what functions there are, what the syntax is and arguments are, what the functions do, then refer to the Oracle® Database SQL Language Reference guide.

  • How to view SQL for a materialized view in SQL Developer (Oracle 11g R2)

    Good Morning,
    I am new to SQL Developer 3.1.07 and just installed it on a Windows 7 PC yesterday.
    There's a materialized view for which I need to view (and eventually update) the SQL. The mat'lized view is in another schema, but my Oracle user does have access to the schema and to this particular mat'lized view. My user also has SELECT, INSERT, UPDATE, DELETE, DEBUG, and ALTER permissions. When I select (click on) the matl'ized view in the object tree on the left, a multi-tab window opens with information in the Columns, Indexes, Grants, Dependencies and Details tabs, but the SQL pane is blank. I don't know if there's some other GRANT that I need in Oracle, or if there's something else I need to do in SQL Developer to see the matl'ized view SQL.
    Thanks
    Bob Gardner
    [email protected]

    1007420 wrote:
    There's a materialized view for which I need to view (and eventually update) the SQL. The mat'lized view is in another schema, but my Oracle user does have access to the schema and to this particular mat'lized view. My user also has SELECT, INSERT, UPDATE, DELETE, DEBUG, and ALTER permissions. When I select (click on) the matl'ized view in the object tree on the left, a multi-tab window opens with information in the Columns, Indexes, Grants, Dependencies and Details tabs, but the SQL pane is blank. I don't know if there's some other GRANT that I need in Oracle, or if there's something else I need to do in SQL Developer to see the matl'ized view SQL.SQL*Developer can be tricky regarding what it shows for other schemas. I'm not sure what privileges you might need besides the one you listed except RESOURCE on the MV, or maybe CREATE ANY MATERIALIZED VIEW.
    Can you use DBMS_METADATA.GET_DDL to get the data you want (may/may not work due to privileges)?

  • Display SQL generated by Entity CMP Bean - WebLogic 9

    All:
    How can I display the actual SQL which CMP Entity beans are generating and running against the database?
    I am running WebLogic Server 9.2

    If you pre-compile the EJB using weblogic.ejbc or weblogic.appc, you can use
    the '-keepgenerated' option which will keep the source files of the
    generated RDBMS .java file of the entity bean. You can find the SQLs in this
    source file.
    At run time, if you want to see the SQL that are being fired, you can add
    the following option in the java command line:
    -Dweblogic.ejb20.cmp.rdbms.verbose=true
    --Sathish
    <Rama V> wrote in message news:[email protected]..
    Hi,
    I am using WLS 8.1 SP4, how can I view the SQL that is generated by the
    EJB CMP container for my Entity beans. Is there any setting that I need to
    enable?
    Thanks
    Rama

  • Printing/viewing sql generated data under 9ias

    Thanks for your quick response.
    a quick example of what i am trying to do.
    Under forms45
    Run sqlplus from a .sql file containing
    spool report.lst
    select pat_sur,pat_DOb form patient where
    pat_key &gt;= &start and
    pat_key &lt;= &end;
    spool off;
    exit
    This is called under forms45 and loads sql with the operator entering start and end patient
    Sql is executed and results placed in report.lst
    I thing use a host command, typically
    host 'start winword report.lst'
    User can then view and print report from Word.
    This stills works fine under oracle9ias when i am running
    on the server PC.
    However, when i am logged on via antoher pc in the network, all the interaction i.e. entering start and end patient keys , the calling of word and the subsequent loading on the report details are all actioned on the
    file server. All that happens to me on the "client pc" is
    the Hour-glass appearing, which disappears when i have finished processing on the file server.
    How can a run the sql on the "client Pc" to allow entering
    on parameters,calling of word and subsequently see the details of the report.
    I hope thus clarifies what my problem is.
    Look forward to hearing from you.
    Regards
    Ian Gallacher
    email [email protected]
    Long postings are being truncated to ~1 kB at this time.

    Ian,
    Looks like you are not using Oracle Reports here.
    You acn post to Forms OTN forum for quick answer
    Thanks
    Rajesh

  • View SQL generated in DB Control

    How can I see the sql that is executed from a db control?
    Thanks,
    Howard

    Hi Howard,
    maybe there is a simpler way, but you can check the log files of the
    database server after a short test.
    BR,
    don
    Howard Block wrote:
    How can I see the sql that is executed from a db control?
    Thanks,
    Howard

  • How to view SQL executed

    Hi Oracles,
    I haven't used Forms in years... I tried in vain to find information. I have to port this basic question in embarassment...
    I need to view a query on a base table block, actually a view
    I looked at the properties, there is no where clause.
    I also looked at the triggers (all levels, pre-query...)
    I know a where clause is appended since the form returns less rows than the view itself.
    I apreciate any help,
    Cheers,
    Hash Joint

    ...and sometimes I just change the name of a single field in the block, then compile and run the form, execute the query, then look at the query in the Show Error window. It's quick and dirty, but definitely quicker than any other method.
    Edited by: Steve Cosner on Dec 21, 2008 12:44 PM

  • How to view the sql query?

    hi,
      how to view the sql query formed from the xml structure in the receiver jdbc?

    You can view SAP Note at
    http://service.sap.com/notes
    But you require SMP login ID for this which you should get from your company. The content of the notes are as follows:
    Reason and Prerequisites
    You are looking for additional parameter settings. There are two possible reasons why a feature is available via the "additional parameters" table in the "advanced mode" section of the configuration, but not as documented parameter in the configuration UI itself:
    Category 1: The parameter has been introduced for a patch or a SP upgrade where no UI upgrade and/or documentation upgrade was possible. In this case, the parameter will be moved to the UI and the documentation as soon as possible. The parameter in the "additional parameters" table will be deprecated after this move, but still be working. The parameter belongs to the supported adapter functionality and can be used in all, also productive, scenarios.
    Category 2. The parameter has been introduced for testing purposes, proof-of-concept scenarios, as workaround or as pre-released functionality. In this case, the parameter may or may not be moved to the UI and documentation, and the functionality may be changed, replaced or removed. For this parameter category there is no guaranteed support and usage in productive scenarios is not supported.
    When you want to use a parameter documented here, please be aware to which category it belongs!
    Solution
    The following list shows all available parameters of category 1 or 2. Please note:
    Parameter names are always case-sensitive! Parameter values may be case-sensitive, this is documented for each parameter.
    Parameter names and values as documented below must be used always without quotaton marks ("), if not explicitly stated otherwise.
    The default value of a parameter is always chosen that it does not change the standard functionality
    JDBC Receiver Adapter Parameters
    1. Parameter name: "logSQLStatement"
                  Parameter type: boolean
                  Parameter value: true for any string value, false only for empty string
                  Parameter value default: false (empty String)
                  Available with: SP9
                  Category: 2
                  Description:
                  When implementing a scenario with the JDBC receiver adapter, it may be helpful to see which SQL statement is generated by the JDBC adapter from the XI message content for error analysis. Before SP9, this can only be found in the trace of the JDBC adapter if trace level DEBUG is activated. With SP9, the generated SQL statement will be shown in the details page (audit protocol) of the message monitor for each message directly.
                  This should be used only during the test phase and not in productive scenarios.
    Regards,
    Prateek

  • How to view pdf, xls files generated by using JasperExport

    I am using Weblogic Server 8.1 to deploy my project. I have some pdf, xls files that generated by JasperExport. Code: <br>
    Map parameters = new HashMap(); <br>parameters.put("donvi",DVi); String ConnectionURL ="jdbc:oracle:thin:@localhost:1521:qltb"; <br>Class.forName("oracle.jdbc.driver.OracleDriver"); <br>Connection jdbcConnection = DriverManager.getConnection(ConnectionURL,"qltb","qltb12345");<br> jasperReport = JasperCompileManager.compileReport("C:\\baocao.jrxml"); <br>jasperPrint = JasperFillManager.fillReport(jasperReport,parameters,jdbcConnection);<br> //JasperViewer.viewReport(jasperPrint); <br>JasperExportManager.exportReportToPdfFile(jasperPrint, "report.pdf");<br>
    report.pdf is exported to folder <br> C:\bea\user_projects\domains\cems ( cems is name of domain) . <br> But I dont know how to view this file or write relative path of this file For example : in test.jsp page I write Report 1 But it doesnt work.

    Install IronTrack SQL as described in the following link
    http://www.irongrid.com/documentation/irontracksql/install.html#install_oracle9iAS

  • How to view LKM SQL

    Newbie question:
    I'm trying to execute an Oracle MERGE LKM (using db link). I consistently get "ORA-00999 invalid view name" errors when executing the interface.
    I'd love to see the SQL ODI is generating along the way, but I am clueless about how to trace it.
    Obviously, I haven't seen the right bit of documentation.
    Help!
    -John

    John
    You are seeing an error, I assume in Operator. If you expand out the session execution tree, you get the steps, expand out the step to show the tasks of that step. when you double-click on one of the steps, you will see the SQL generated in the Description Tab, and the result in the Execution tab, along with any execution statistics (and and errors thrown)
    Craig

  • View log not showing physical SQL generated in OBIEE 11.1.1.6.7

    Hi,
    I am currently using OBIEE 11.1.1.6.7 version. In this version I am unable to view the physical SQL generated by OBIEE under Administration --> Manage Marketing Jobs --> Select a Job --> Click on View SQL OR Administration --> Manage Sessions--> Select a Job --> Click on View SQL. It is not showing the physical SQL generated by OBIEE for a report or segment which I have executed.
    It was available in previous version i.e. OBIEE 10.1.3.4.2.
    I have searched in metalink and it has been suggested to use the following <Filters> section into instanceconfig.xml file. I have added the following details into existing instanceconfig.xml file and then restarted the BI services. Still the problem persist.
    <Filters>
    <!--This Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware Control--><FilterRecord writerClassGroup="Console" path="saw" information="16" warning="31" error="31" trace="32" incident_error="1"/>
    <!--This Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware Control--><FilterRecord writerClassGroup="File" path="saw" information="16" warning="31" error="31" trace="32" incident_error="1"/>
    <!--This Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware Control--><FilterRecord writerClassGroup="Marketing" path="saw.mktgsqlsubsystem.joblog" information="16" warning="31" error="31" trace="32" incident_error="1"/>
    <!--This Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware Control--><FilterRecord writerClassGroup="File" path="saw.httpserver.request" information="16" warning="31" error="31" trace="32" incident_error="1"/>
    <!--This Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware Control--><FilterRecord writerClassGroup="File" path="saw.httpserver.response" information="16" warning="31" error="31" trace="32" incident_error="1"/>
    </Filters>
    Thanks,
    Prasanta

    Hi,
    Thanks for the reply.
    We used to view the log details (physical SQL) using Manage Marketing Jobs in OBIEE10g.
    In OBIEE11g we can see the job details and when selecting a job (under Action column Details link) there is an option in left pane as 'View Log'. If I click on 'View Log' it is showing as 'No Logs Found'.
    Just wanted to confirm if this is an issue in OBIEE11g.
    Also, I believe there is a limitation in 'Manage Session' to view the number of job details whereas in 'Manage Marketing Jobs' section we can increase the number of jobs to be displayed.
    Thanks,
    Prasanta

  • How to examine the generated SQL statement in Receiver JDBC Adapter

    I have been searching this forum how to display te generated sql statement (by the jdbc receiver adapter).
    The only suggestion is to use RWB, but I was unable to find any details about how to do so.
    Any help is appreciated

    Hi,
    To add, u can see the SQL Statements in Audit log of RWB.
    Select Message Monitoring-> Adapter Engine. choose ur entry and click on Details option button, u can see the SQL Statements in Audit Log.
    Regards,
    Sudharshan
    Message was edited by:
            Sudharshan Aravamudan

  • How to view complete date stamp in query result view in sql developer?

    Hi,
    In the query result, the date present in db is shown as DD-MM-YYYY format but I want to view the complete date stamp. When I view the same data in aqua data studio, I see the complete time stamp. Please let me know if I need to do some settings in Oracle SQL Developer so that complete date is shown?
    How to view complete date stamp in query result view in sql developer?
    Thanks in advance,
    Vineet

    864793 wrote:
    Hi,
    In the query result, the date present in db is shown as DD-MM-YYYY format but I want to view the complete date stamp. When I view the same data in aqua data studio, I see the complete time stamp. Please let me know if I need to do some settings in Oracle SQL Developer so that complete date is shown?
    How to view complete date stamp in query result view in sql developer?
    Thanks in advance,
    VineetAlternatively you can execute below
    set nls_date_format='DD-MM-YYYY HH24:MI:SS';Regards,
    Achyut K

  • How to view the login log in window NPS after login cisco switch and without SQL server database

    how to view the login log in window NPS after login cisco switch and without SQL server database
    in summary 
    there is only log with event id 4400
    A LDAP connection with domain controller XCPAWS20.cyberport.noc for domain NOC2 is established.

    Hi adil,
    For your issue, you can create a custom security token service (STS) and then set up a trust relationship between a SharePoint 2010 farm and the custom STS.
    For more information, you can refer to the articles:
    http://forums.asp.net/t/1335229.aspx?Sharing+Authentication+Ticket+Between+ASP+NET+and+Sharepoint
    https://msdn.microsoft.com/en-us/library/office/ff955607(v=office.14).aspx
    http://www.paraesthesia.com/archive/2011/02/01/working-with-windows-identity-foundation-in-asp-net-mvc.aspx/
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • How to view executed sql history?

    I have encountered some strange errors in my productive database. I want to view the sql execution logs. but I don't know how to view it. is there any good methods to check the sql execution history?

    The core dump trace file will have information you need for troubleshooting. Most of time including the SQL that caused the problem if it was caused by certain SQL.
    Check your core dump destination. Core dump is not usual in Oracle operation, it's worth to submit a SR .

Maybe you are looking for

  • IPhone 3gs problem i'm not sure if its bricked or not

    Hello, my iphone suddenly wont turn on but when i put it on charge it turns but only the iphoen screen where it shows the itunes logo indacting u to plug iphone into itunes pops up but when i connect iphone to a computer it doesnt recongnize the ipho

  • 'Save As' Not Responding

    I just bought an HP ENVY Touchsmart All-in-One desktop two weeks ago and I'm having an issue with saving PDF files from online.  Sometimes it works, but often I get this Save As Not Responding message and IE and Adobe both lock up and I have to open

  • I have a new mac mini without an optical drive and an older mini.

    Can I use the DVD drive and HD from the older mac mini over firewire?

  • What can I use Aurora JVM for?

    Hi, Oracle 8i Java Development Team! I have made more accurate tests. I done Java stored procedure and deployed it on Oracle 8.1.5 Server Enterprise Edition . Here are Java program and SQL call spec. Java store procedure I run in two ways: from SQL*P

  • Eclipse:package weblogic.webservice.tools.wsdlp does not exist

    Hi, everyone! I got an error While I was Compiling the Entire MedRec Project application on Eclipse3.1 with ant. However, when I used setEnv.cmd and ant command(), it's all Ok! The error message shows as below: banner: [echo] #### S T A R T C O M M O