Query with JPA not working. Is possible to see the executed SQL statements?

Hi all,
I have a question regarding namedqueries. I am having an error for which I am not being able to find any solution. ORM mappings seem to be ok, and the EntityManager validates correctly. However I am getting an error when trying to retrieve some results. My question is if it is possible to retrieve the set of SQL statements queried on the server, to see if it is due to a different issue than JPA settings.
Thanks in advance,
Chal-lo.

You can enable sql logging in a provider specific way (e.g for hibernate you add hibernate.show_sql=true in the hibernate.properties file).
You could get more help if you described the problem you are getting.

Similar Messages

  • HT5634 The "automatic Install" in the windows support software does not work. I cannot see the USB in Windows to manually start set uo

    The "automatic Install" in the windows support software does not work. I cannot see the USB in Windows to manually start set up.
    I have downloaded windows support software from Apple 3 time with the same result.  Where can I get a clean copy of the Windows support software?

    Did you correctly format your usb stick in accordance with the Boot Camp installation instructions? Go here to the Boot Camp System Requirements page, http://support.apple.com/kb/HT5634, look for your computer model/year and download the correct version of Windows Support software.

  • Iphone not work i can only see the APPLE NOT WORK, iphone not work i can only see the APPLE NOT WORK

    iphone not work i can only see the APPLE NOT WORK, iphone not work i can only see the APPLE NOT WORK

    First, try to reset by holding the sleep and home button for about 10sec, until the Apple logo comes back again.
    If this does not help, connect in recovery mode and restore, explained in this article: iOS: Unable to update or restore

  • HT1386 I followed the instruction above but still it did not work, I can't see the free on itunes

    I can't sync my ipad but I already followed the instructions on apple support?

    I am having the same problem for one song.  I've tried deauthorizing and then authorizing the computer but it doesn't work.  I can play the song on my iPhone and iPad but not my computer.  Any help here would be greatly appreciated.

  • HT5653 the import photo button does not work!  so I see the photos but cannot import them?  Need help

    after connecting i5 to MAC my photos will show but cannot push import button to initiate.. This is first time it does that.  Need help to transfer and save my photos from my iphone

    Can you do it with Image Capture (in your Applications Folder)

  • Query panel with table not working in taskflow region

    I've created an adf query panel with table(using all queriable attributes criteria) in a page fragment and at design time it's showing properly. But when inside a region in a jspx page, the search, save and reset buttons of the query panel are not rendering when i'm running the page. Please help.

    Its hard to give any solution without any information like your JDev version, what happens if you drop the query directly in the jspx page, what exception you get in console etc.
    -Arun

  • Sending email with attachments not working on Lumi...

    It is not possible to attach a file to an email, either via WiFi or my 4G connection.  I have two different Office365 email accounts (work and private) that work perfectly when sending/receiving emails with/without attachments.  However when I try and share a photo (from any folder in Photos) I can select a photo, choose Share-->Email account, but when it brings up the email message screen there is nothing attached.  The same thing happens if I create an ordinary email and try to attach any file, it won't attach and the email sends OK without the attachment.
    It is not an issue with the email accounts as I can send/receive attachments OK from my laptop and iPad.  It is only when I try and send from my 1520.
    This has got me baffled!

    try to delete the account and re-add the account.
    then, try to take a picture and immediately go to that image by tapping it on the screen and sharing as you stated.
    if that doesn't work, then I wonder if the device is corrupted and the images are not "really there"
    can you see the images on your skydrive account?
    have you tried to do a soft reset?
    Soft Reset-
    Hold Vol- & Pwr until the device shuts down
    When the device vibrates and starts to reboot, release ONLY Pwr button, still holding the Vol-
    When you see the (!) on your screen, then release the Vol- button and wait until the device boots.
    Your device is now soft reset

  • SQL Query Single Row not working

    My workflow contain a Query Single row activity. I have added a where clause in Arabic which is not working. If I remove the Arabic condition its working.
    Is there something to do with the server?
    My server is windows 2008 R2 Server.
    The same workflow is running perfectly on another identical environment.
    Thanks for any valuable suggestions,
    Nith

    Hi Sastry,
    Connection to the database is trough Pivotal, I have tried ODBC connection as well but same error
    The instruction at "0x005d53e0" refereced memory at "0x00000014'. The memory could not be "read".
    With ODBC I have always compilation error saying
    Query Engine Error: '42000:[Microsoft][ODBC SQL Server Driver][SQL server] Incorrect syntax near the keyword 'SELECT'. '.
    but even the simple select statment is showing the error.
    Do you think the error is with Drivers???
    Regards
    Stefan

  • Hi! I sold my Iphone on ebay. The seller wants to connect the Iphone with his Apple ID, but it did not work because it says that the Iphone is already connected with another Apple ID. How can I get rid of this old connection? What do I have to do?

    Hi! I sold my Iphone on ebay. The seller wants to connect the Iphone with his Apple ID, but it did not work because it says that the Iphone is already connected with another Apple ID. How can I get rid of this old connection? What do I have to do?

    What to do before selling or giving away your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/HT5661
    MaggySimpson wrote:
    Hi! I sold my Iphone on ebay.
    Follow the instructions to remove a device you no longer have.
    From here  >  http://support.apple.com/kb/PH13695?viewlocale=en_US

  • While updating my ipad to new software through itunes it got stuck and does not work anymore - it just displays the screen with symbols of itunes and the cable to connect to it - help - what should i do?

    while updating my ipad to new software through itunes it got stuck and does not work anymore - it just displays the screen with symbols of itunes and the cable to connect to it - help - what should i do?

    Disconnect the iPad, do a Reset [Hold the Home and Sleep/Wake buttons down together for 10 seconds or so (until the Apple logo appears) and then release. The screen will go blank and then power ON again in the normal way.] It is 'appsolutely' safe!, reconnect and follow the prompts.
    If that does not work then see here http://support.apple.com/kb/HT1808

  • HT4623 I tried to update my ipad with IOS7, it crashed!!!!!! now my ipad will not work, have tried to restore the ipad, will not restore, help please??

    I tried to update my ipad with IOS7, it crashed!!!!!! now my ipad will not work, have tried to restore the ipad, will not restore, help please??

    I tried to update my ipad with IOS7, it crashed!!!!!! now my ipad will not work, have tried to restore the ipad, will not restore, help please??

  • I connected my ipod touch 4g wi-fi with laptop ad hoc network....it's showing wi-fi signals but internet is not working...what is the problem in that can anyone help me...inadvances thanks

    I connected my ipod touch 4g wi-fi with laptop ad hoc network....it's showing wi-fi signals but internet is not working...what is the problem in that can anyone help me...inadvances thanks

    my laptop is Windows 7 and ip is this
    192.168.102.12
    255.255.255.0
    192.168.102.1
    DNS
    192.168.254.2
    192.168.254.3
    in ipod touch 4g is DHCP and its showing
    ip address 169.254.192.139
    subnet mask 255.255.0.0.
    remaining all blank

  • Since I downloaded Firefox 4, I can't see attachments in my Yahoo mail. This is not a problem of Yahoo, because with Internet Explorer works fine. What is the problem?

    Question
    Since I downloaded Firefox 4, I can't see attachments in my Yahoo mail. This is not a problem of Yahoo, because with Internet Explorer works fine. What is the problem?

    Ok, now they are showing. I restarted my computer again and they are showing now.

  • Axis bank net secure with webpin not working on ipad2

    Hi,
    Axis bank net secure with webpin not working on ipad2
    Lt me know how to proceed

    Try using their App:
    https://itunes.apple.com/in/app/axis-bank-mobile-application/id517266358?mt=8

  • Since installing Yosemite, Airplay with Freebox not working

    Since installing Yosemite, Airplay with Freebox not working
    With Maverick Airplay working well

    If you haven't done so already, try resetting the printing system.
    OS X Mavericks: Reset the printing system  also Yosemite
    Try deleting the printer and scanner and add them back.
    Also try Applications/Image Capture to see if it can find the printer and scanner.

Maybe you are looking for

  • How do I save a stack of adjustment layers that I want to then apply instantly to another image  ?

    Can anyone help with the following Photoshop question please ? I've been working on a 16bit image in PS CC on my Mac that has a stack of approximately 15 Adjustment Layers (AL's) which has taken a fair amount of work to put together and then saved as

  • Trying to boot in to safe mode, phone will just reboot.

    Hi. I'm trying to boot my Incredible into Safe Mode, because I'm having trouble with my sound. I can't hear speakerphone, ringtones, button presses etc. So I'm trying to boot into Safe mode. I press the buttons (down volume, Menu, circular button) wh

  • N900 Camera: Video focus same problem as on N97?

    Ok so i've seen a few threads querying about the 2nd camera.  Not asking about that.  I noticed that back when i was using the N97 that when you tried to zoom in on images or even writing on the wall during a video recording, the camera's focus would

  • What can I do when TC doesn't answer?

    Hi, sometimes I stay on the line waiting long time for Tech Support to answer, what can I do? Jus wait...? Is there a direct telephone number for TS?

  • Books Online hyperlinks not active

    Hi.  New user.  Intalled 2008 R2 Express with AS successfully, but the BOOKS ONLINE feature I downloaded after the express install doesn't seem to be working.  I can view the entire feature, but none of the hyperlinks to drill down to details are act