How to activate JDBC debugging for SPRING 3.1? Oracle trigger problems ...

Hi,
I have some trigger problems. I created a trigger to update a certain column each time a new record is inserted or an existent record is updated. I use Oracle 10g. If I create the trigger and execute an insert query via the XE client everything works fine. However, when I use a spring 3.1 setup with Hibernate and OJDBC driver, I get an
java.sql.SQLException: ORA-04098: trigger 'LOCALUSER_PROP_TRIG' is invalid and failed re-validation
And if I execute a show error trigger query I get an invalid SQL query error.
I can easily activate Hibernate debugging and I can see that the prepared statement by Hibernate is just fine, but I was wondering if I could see the full sql sent by the JDBC driver to the server. Maybe seeing the actual query sent to the server would provide new insight of what could be wrong in the Hibernate setup. Does any one what could be wrong and eventually how could setup jdbc to output debug info? Thanks a lot,
Cristian

Which platform is the database running on ??
Other things you should check -
when debugging the EJB, JDev
3.1 looks through your IIOP connections to find the one to use.
Make sure that the IIOP connection that JDev is using for the debugging matches the IIOP connection that the EJB client application is using.
raghu
null

Similar Messages

  • How to enable remote debugging for a session other than the current one

    Hi all,
    I am trying to figure out how to enable remote debugging for a session other than the one I am currently using.
    More specifically, we have an application that is making database calls to Oracle 11gR2. Something is causing an exception during this invocation. My system is currently not set up to recompile said application, so I can't just add the debug call to the code and recompile. Therefore I would like to be able to log into the database (as sys, if necessary) and invoke dbms_debug_jdwp.connect_tcp on the desired session.
    The docs indicate that I should be able to do so:
    dbms_debug_jdwp.connect_tcp(
    host IN VARCHAR2,
    port IN VARCHAR2,
    session_id IN PLS_INTEGER := NULL,
    session_serial IN PLS_INTEGER := NULL,
    debug_role IN VARCHAR2 := NULL,
    debug_role_pwd IN VARCHAR2 := NULL,
    option_flags IN PLS_INTEGER := 0,
    extensions_cmd_set IN PLS_INTEGER := 128);
    But when I try (even as sys), I get the following:
    exec dbms_debug_jdwp.connect_tcp('1.2.3.4',5678,<session id>,<session serial>);ORA-00022: invalid session ID; access denied
    ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
    ORA-06512: at line 1
    00022. 00000 - "invalid session ID; access denied"
    *Cause:    Either the session specified does not exist or the caller
    does not have the privilege to access it.
    *Action:   Specify a valid session ID that you have privilege to access,
    that is either you own it or you have the CHANGE_USER privilege.
    I've tried granting the 'BECOME USER' privilege for the relevant users, but that didn't help. I read something about having to set some kind of ACL as of 11gR1, but the reference documentation was very confusing.
    Would someone be able to point me in the right direction? Is this even possible, or did I misread the documentation?

    Interesting deduction, that would be very useful indeed. I hate recompiling just to add the debug call, and it can't be done in our production environment. But it seems unlikely to me it would be implemented this way.
    I would cross-post this in the SQL AND PL/SQL forum though, as this is really a database issue, not with the SQL Developer tool. Do add the links to the other posts in each.
    Regards,
    K.

  • How to activate split valuation for existing material having stock open PO,

    Hello,          
    How to activate split valuation for existing material in plant having stock and open PR,PO and Production order.
    Regards

    Hi
    It is not possible to activate in such case, u should not have any stock.
    With regards
    Pavan

  • How to activate script debugging in Adobe Livecycle designer

    Friends,
    I would like to know how to activate script debugging in the Adobe Livecycle designer. I need to debug the scripts written in the script editor.
    Thanks and Regards.

    Syntax checking is available in designer from version 8.1 onwards.
    If you want to enable in Adobe Reader then go to Edit --> Preferences --> JavaScript --> Enable the option Show console on Errors on messages.
    Apart from it the alternative way to debug the scripts is to use xfa.host.messageBox and check the values.
    Chintan

  • How to activate parallel valuation for SAPBanking Loan ?

    Hi, I'd like to know how to activate parallel valuation for SAPBanking Loan.
    When I deal general loan contract with bank, I have to customize FS-CML,
    however any other treasury deals are handled in FSCM (e.g. secrities, money-market, foreign exchange and delivatives).
    FS-CML doesn't have parallel valuation functions in its own.
    So, I think I must customize both FS-CML and FSCM.
    I'll wait for your kind answer. Thank you.
    Yugo

    Hi
    It is not possible to activate in such case, u should not have any stock.
    With regards
    Pavan

  • How to activate email notification for SC approval

    Hi Gurus;
    We are using SRM7.
    How to activate email notification for SC approval i.e. the system should send email to the approver's external email (e.g.Outlook) informing that there is SC to be approved.?
    Thanks

    Hi,
    You can schedule the /SAPSRM/OFFLINEAPPROVALSEND program.
    http://help.sap.com/saphelp_srm701/helpdata/en/31/47c6cb8e9249f2bc29444212e4704a/frameset.htm
    Regards,
    Masa

  • How can activate the debug?

    Hi,
    Is it possible activate the debug mode in the Visual Composer? How can do it?
    Thanks in advance,
    Regards,

    Hi,
    Yes , you can do the Debugging for VC models form the Administration Tool.
    Please lookinto the below linkf ro more details
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/f77b40f7edd662e10000000a155106/frameset.htm
    Regards,
    Govindu

  • How to activate delta download for BP from ECC to CRM

    Hi,
    i have completed BP initial download from ECC 6.0 to  CRM 5.0.
    i dont know how to activate the Delta download?.
    Plz anyone tell me the procedure.
    regards
    geetha.g

    Hi Geetha
    Synchronization download allows you to synchronize inconsistent datasets on various databases. This can be controlled in time slots or can be triggered manually.
    1. Creating a Request
    Choose Middleware -->Data Exchange --> Synchronization --> Define Requests.
    To define a new data request, choose Display --> Change and New Entries.
    Enter data for the request.
    In object name enter CUSTOMER_MAIN
    2. Starting the Request
    Choose Middleware --> Data Exchange -->Synchronization --> Synchronize Objects.
    A selection screen appears. Enter the objects to be synchronized or use F4 input help to select objects. Choose Execute to start synchronizing the data.
    3. Monitoring Request
    Choose Middleware --> Data exchange --> Synchronization --> Monitor requests
    Enter an object name or a range of object names. Use the input help or of you want to display all the objects, do not enter an object name at all. Choose Execute.
    Further help is available on http://help.sap.com/saphelp_crm50/helpdata/en/c7/95fc381478ab6fe10000000a11402f/frameset.htm
    Hope this would help.
    Regards,
    Rekha Dadwal
    <b>You gain a point for every point that you reward. So reward helpful answers generously</b>

  • How to activate hidden battery for 6288.

    Does anyone know the code to activate the hidden battery for 6288 when it is low on battery? i tried *3370# to activate it but the word "Result Unknown" out. I searched online for it but all of the codes for activating the hidden battery gave me the Result Unknown notice when I dialled it.

    Hidden battery ? You must be referring to the Half Rate Codec. I'm sorry I do not know how to activate it, but keep in mind that it reduces the overall audio quality of your calls.
    Mobile Royale - Latest News, Reviews and Software for Mobiles
    Aero Everyday - Aviation News and Insights
    GoMobile Forums-The best mobile technology discussions
    Please visit http://alifeofmisery.blogspot.com or www.miserylife.tk and help someone smile.
    Dreaming of a 5320XpressMusic - 128MB RAM makes up for the 2MP cam !

  • SAP MDG - How to activate user settings for Dropdown box Change request?

    Hello Expert,
    I have a question related to Hide DropDown Box Change request.
    When i save change request via collective processing, Change request Dropdown box is displayed. When, i select Change request dropdown list, only change request description is displayed,  not change request number.
    So how to activate access key from user settting ? Could you show me the menu path in order to activate it?
    Best regards,
    RAOELISON

    This is a generic Web Dynpro question and not specific to MDG. Any way, this is how you can do it:
    Right-click the field
    Select: Use Settings --> More
    Check the "Key Visible" checkbox
    Keep in mind this is a user-specific setting and not a global setting.

  • How to activate change pointers for HRMD_A message

    Hi all,
    I want to activate change pointers for HRMD_A message for intotypes 0001, 0002, 0006.... .
    But I can't find any change object which I could use in BD52 transaction.
    Is there any delivered change object by SAP for HRMD_A message?
    Could you please tell me which change object should be used for example for infotype 0001?
    Thanks a lot.
    Petr

    There seem to be a number of related questions asked and answered in the forums. Have you searched?
    Rob

  • How to activate phone number for cellular iPad mini?

    I Have a iPad mini with cellular and a phone # for it from Verizon. I can't find the way to activate the phone number given from Verizon to use for iMessage. Im swritings it only shows option for adding an email.

    That phone number will not work for iMessages, so you cannot activate the iPad for that purpose. You need to have an iPhone in order to use that number as your caller ID and the number at which you can be reached, Cellular iPads have no phone capabilities. They use cellular data to connect to the Internet when there is no Wifi network to connect to. A WiFi only iPad can only connect to the Internet when using a WiFi network.

  • How to caluculate buffer size for import/exports in oracle

    Hi DBAS,
    how to caluculate buffer size for import exports,here is the formula but how can we use if there is a 100 of tables and datatypes,is the any query to find out rows_in_array ,maximum_row_size total schema and datbase
    buffer_size = rows_in_array maximum_row_size*
    Thanks,
    tmadugula

    http://download.oracle.com/docs/cd/B10501_01/server.920/a96652/ch01.htm
    Search "buffer"

  • How to activate New Editor for XSLT Transformations?

    Hello Everyone!
    I am currentlyworking on some Simple Transformations (Txn STRANS). As I am very happy with the New Frontend Editor, I would like to use the new Editor for editing Simple Transformations, like I do, when editing usual ABAP Code.
    Where can I activate the New Editor fpr XSLT Programs? I have already set the Flag to use the new editor when editing ABAP Code, but this Flag unfortunately has to influence on the editor used for XSLT programs... ;-(
    Greetings
    --MIKE

    Hi all,
    How to use conditions in XSLT Transformation,
    Thanks
    Reddy.n.l

  • How to do IDOC debugging for both inbound and outbound

    Hi
    can somebody please help me on how to debug the idoc both inbound and outbound in SAP PI.
    Regards
    Blue

    Hi,
    Yes, i have checked but did not get any satisfactory answer.
    here is the solution:
    Inbound:
    We19, Give the idoc #,
    click on the inbound functional module and select the radio button in the fore ground
    check the check box call in debug mode, this will enter in the functional module debugging.
    Outbound:
    Check BD73, give the idoc # and execute
    or
    RSNASTED program and set the breakpoint there
    is this correct, i have not tested/ checked yet.
    Regards
    Blue

Maybe you are looking for

  • How to upload  Vendor/Customer Open items through  Items

    Hi,    I want to upload the data for vendor open items / customer open items ( F-02 Transaction )through LSMW. There is no Object and methods are present for Batch Input or direct input. Is any BAPI or IDOC is present for this. If available, Please p

  • How do I remove payment information from my account, like the credit card number and information?

    *NO THIS DOESN'T HELP ME AT ALL* V       V        V         V          V          V "Symptoms When there is a mismatch between the iTunes Store's records and your credit card company's records, you will receive an error message stating that your cred

  • Error while running java.exe

    Hi, I have installed JDK1.4 on Windows NT4.0. The path where the "javac" and "java" are is "D:\jdk1.4\bin." I have added this directory to the PATH variable. I have no problem when executing "javac" from any location(Directory) where as its reporting

  • Mapping to FINSTA01

    I am new to IDoc and I am trying to map EDI823 data to FINSTA01. Can someone give/show me mapping for FINST01? I need to know what fields need to populated with which data. Thanks for any help you can give. John

  • After system copy DTP pointing to Prod Sourcesystem in Quality

    Hi, We have copied BWP system to BWQ. All the transformations are correctly pointing to R3Q system. But DTPs are still pointing to R3P system. How to convert this source system assignment for all the DTPs and InfoPackages? Regards SSS