Empty resultset even though it shouldn't be empty

Dear experts,
today i did experience a behaviour of hana that i cannot understand.
In order to enable you to reenact the phenomenon i created the following demo code:
######################### PREPERATION
-- creating a copy of a sap demo content table
create column table "SAP_HANA_DEMO"."sap.hana.democontent.epm.data::EPM.MasterData.Addresses_TEST"
like "SAP_HANA_DEMO"."sap.hana.democontent.epm.data::EPM.MasterData.Addresses" with data;
-- set two columns to null
Update "SAP_HANA_DEMO"."sap.hana.democontent.epm.data::EPM.MasterData.Addresses_TEST"
set CITY = NULL;
Update "SAP_HANA_DEMO"."sap.hana.democontent.epm.data::EPM.MasterData.Addresses_TEST"
set POSTALCODE = NULL;
######################### / PREPERATION
######################### INITIAL
-- returns an empty resultset (initial version)
select col from (
select 'CITY' as col, count(*) i from "SAP_HANA_DEMO"."sap.hana.democontent.epm.data::EPM.MasterData.Addresses_TEST" where CITY is not NULL union all
select 'POSTALCODE', count(*) from "SAP_HANA_DEMO"."sap.hana.democontent.epm.data::EPM.MasterData.Addresses_TEST" where POSTALCODE is not NULL
) where i = 0;
######################### / INITIAL
######################### ALTERED VERSIONS
-- returns the expected resultset (outer select contains i)
select col, i from (
select 'CITY' as col, count(*) i from "SAP_HANA_DEMO"."sap.hana.democontent.epm.data::EPM.MasterData.Addresses_TEST" where CITY is not NULL union all
select 'POSTALCODE', count(*) from "SAP_HANA_DEMO"."sap.hana.democontent.epm.data::EPM.MasterData.Addresses_TEST" where POSTALCODE is not NULL
) where i = 0;
-- returns the expected resultset (check for "is null")
select col from (
select 'CITY' as col, count(*) i from "SAP_HANA_DEMO"."sap.hana.democontent.epm.data::EPM.MasterData.Addresses_TEST" where CITY is NULL union all
select 'POSTALCODE', count(*) from "SAP_HANA_DEMO"."sap.hana.democontent.epm.data::EPM.MasterData.Addresses_TEST" where POSTALCODE is NULL
) where i = (select count(*) from "SAP_HANA_DEMO"."sap.hana.democontent.epm.data::EPM.MasterData.Addresses_TEST");
-- returns the expected resultset (now without where)
select col from (
select 'CITY' as col, count(CITY) i from "SAP_HANA_DEMO"."sap.hana.democontent.epm.data::EPM.MasterData.Addresses_TEST" union all
select 'POSTALCODE', count(POSTALCODE) from "SAP_HANA_DEMO"."sap.hana.democontent.epm.data::EPM.MasterData.Addresses_TEST"
) where i = 0
######################### ALTERED VERSIONS
The question is why does the initial statement return an empty resultset?
And please consider that the initial version works just fine under rev68 (resultset is not empty), but returns an empty resultset when being executed on a rev70 system.
Many thanks in advance for your feedback.

Dear experts,
today i did experience a behaviour of hana that i cannot understand.
In order to enable you to reenact the phenomenon i created the following demo code:
######################### PREPERATION
-- creating a copy of a sap demo content table
create column table "SAP_HANA_DEMO"."sap.hana.democontent.epm.data::EPM.MasterData.Addresses_TEST"
like "SAP_HANA_DEMO"."sap.hana.democontent.epm.data::EPM.MasterData.Addresses" with data;
-- set two columns to null
Update "SAP_HANA_DEMO"."sap.hana.democontent.epm.data::EPM.MasterData.Addresses_TEST"
set CITY = NULL;
Update "SAP_HANA_DEMO"."sap.hana.democontent.epm.data::EPM.MasterData.Addresses_TEST"
set POSTALCODE = NULL;
######################### / PREPERATION
######################### INITIAL
-- returns an empty resultset (initial version)
select col from (
select 'CITY' as col, count(*) i from "SAP_HANA_DEMO"."sap.hana.democontent.epm.data::EPM.MasterData.Addresses_TEST" where CITY is not NULL union all
select 'POSTALCODE', count(*) from "SAP_HANA_DEMO"."sap.hana.democontent.epm.data::EPM.MasterData.Addresses_TEST" where POSTALCODE is not NULL
) where i = 0;
######################### / INITIAL
######################### ALTERED VERSIONS
-- returns the expected resultset (outer select contains i)
select col, i from (
select 'CITY' as col, count(*) i from "SAP_HANA_DEMO"."sap.hana.democontent.epm.data::EPM.MasterData.Addresses_TEST" where CITY is not NULL union all
select 'POSTALCODE', count(*) from "SAP_HANA_DEMO"."sap.hana.democontent.epm.data::EPM.MasterData.Addresses_TEST" where POSTALCODE is not NULL
) where i = 0;
-- returns the expected resultset (check for "is null")
select col from (
select 'CITY' as col, count(*) i from "SAP_HANA_DEMO"."sap.hana.democontent.epm.data::EPM.MasterData.Addresses_TEST" where CITY is NULL union all
select 'POSTALCODE', count(*) from "SAP_HANA_DEMO"."sap.hana.democontent.epm.data::EPM.MasterData.Addresses_TEST" where POSTALCODE is NULL
) where i = (select count(*) from "SAP_HANA_DEMO"."sap.hana.democontent.epm.data::EPM.MasterData.Addresses_TEST");
-- returns the expected resultset (now without where)
select col from (
select 'CITY' as col, count(CITY) i from "SAP_HANA_DEMO"."sap.hana.democontent.epm.data::EPM.MasterData.Addresses_TEST" union all
select 'POSTALCODE', count(POSTALCODE) from "SAP_HANA_DEMO"."sap.hana.democontent.epm.data::EPM.MasterData.Addresses_TEST"
) where i = 0
######################### ALTERED VERSIONS
The question is why does the initial statement return an empty resultset?
And please consider that the initial version works just fine under rev68 (resultset is not empty), but returns an empty resultset when being executed on a rev70 system.
Many thanks in advance for your feedback.

Similar Messages

  • On my iPad mini, my inbox number count is over 500 even though the inbox. Is empty. All accounts do this on my iPad but all my other device are fine. Problem showed up two weeks ago???

    On my iPad mini, my inbox number count is over 500 even though the inbox. Is empty. All accounts do this on my iPad but all my other device are fine. Problem showed up two weeks ago???

    Hi Peter,
    Thanks for participating in the Apple Support Communities.
    It sounds like the Mail app on your iPad mini is showing that you have over 500 unread email messages, but your inbox is actually empty.
    There are several steps I'd use to troubleshoot this situation.
    First, restart your iPad to see if it clears up the symtom:
    Restart or reset your iPhone, iPad, or iPod touch - Apple Support
    Press and hold the Sleep/Wake button until the red slider appears.
    Drag the slider to turn your device completely off.
    After the device turns off, press and hold the Sleep/Wake button again until you see the Apple logo.
    If this doesn't correct the behavior, try removing and re-adding the affected email accounts next:
    Get help with Mail on iPhone, iPad, and iPod touch - Apple Support
    Delete the affected email account from your device.
    Tap Settings > Mail, Contacts, Calendars.
    Tap the affected email account.
    Tap Delete Account.
    Add your account again.
    If the same thing happens after re-adding the account, you may need to use the steps below to reinstall iOS. You may want to back up your iPad to iTunes before completing this step.
    Make sure that you have iTunes 12 or later on your computer.
    Put your device in recovery mode.
    When you get the option to restore or update, select Update. This will reinstall iOS without erasing your data.
    From:
    If your iPhone, iPad, or iPod touch doesn't respond or doesn't turn on - Apple Support
    All the best,
    Jeremy

  • Camera roll says i have (1) photo... even though my camera roll is empty

    updated my 3G iphone for the new carrier setting, MMS works fine. i can send and receive MMS with no problems. however, ever since the update my "camera roll" says i have "(1) photo" even though my camera roll is empty. anyone else have this bug????

    Hi Boots13,
    Check the locations mentioned in this article to find your pictures.
    Since you have setup as new, I'm wondering if they are from a Photo Stream.
    Get help finding your Photos in iOS 8
    Take care,
    Nubz

  • Child is detecting click even though it shouldn't

    Hello once again,
    I technically know how to make this work right, but I'm trying to figure out what I want to do won't work right.
    I have a Child ("treeToChopDetect") appear when a certain other child ("sceneArray[2]") appears on stage. However, I don't want "treeToChopDetect" to be clickable until another child "guy_Bridge"/ "sceneGuyArray[2]" (the character) reaches frame "guy_AtBridgeNormal" on his own timeline.
    However, "treeToChopDetect" seems to be clickable even though the "manager" function is suppose to be constantly telling the "detectArray" that mouseEnabled = false until "sceneGuyArray[2].currentLabel == "guy_AtBridgeNormal"". I keep getting a trace as output if I click on "treeToChopDetect".
    I can keep it from being clickable if I set the condition to include "canClickBoo == false" (which it is until the guy reaches the right frame), but I shouldn't have to do that.
    For all my other arrays I've been able to use my "manager" function to run through them (via "for" loops) and turn mouseEnabled on and off depending on if the guy is on the right frame, but something isn't working correct with this array, for some reason.
    Sorry if that's confusing. I can try to clarify or add more information if necessary. (I have 600+ lines of code so of course I tried to chop out whatever I could.)
    The var and array:
    var treeToChopDetect:TreeToChopDetect = new TreeToChopDetect;
    treeToChopDetect.x = 355;
    treeToChopDetect.y = 75;
    detectArray = [treeToChopDetect];
    The function to detect: (if I add in canClickBoo == true to the stipulation, it runs correctly; however I don't know why I have to do this)
    function detectFunction(event:MouseEvent) {
                        if (treeToChopDetect.hitTestPoint(mouseX, mouseY, true)) {
                            trace("treeToChopDetect");
    These two functions are run when called in other functions, and they turn on and off the ability to click.
    function canClick() {
                    canClickBoo = true;
                    canFunBoo = true;
                function cantClick() {
                    canClickBoo = false;
                    canFunBoo = false;
    main function that adds/removes "outside" children and defines what canClickBoo or canFunBoo means
    function manager(event:Event) {
                    //listen to see what should appear
                    if (stage.contains(sceneArray[2])) {
                        addChild(detectArray[0]);
                        addChild(detectArray[1]);
                    } else if (!stage.contains(sceneArray[2]) && stage.contains(detectArray[0]) && stage.contains(detectArray[1])) {
                        removeChild(detectArray[0]);
                        removeChild(detectArray[1]);
                    //IF canClickBoo is true, able the mouse/turn on buttonMode
                    if (canClickBoo == true) {
                        ... (various other arrays get turned on)
                        for (var im:uint=0; im<detectArray.length; im++) {
                            detectArray[im].mouseEnabled = true;
                            detectArray[im].buttonMode = true;
                        //ELSE IF canClickBoo is false, disable the mouse/turn off buttonMode
                        } else if (canClickBoo == false) {
                            for (var iy:uint=0; iy<detectArray.length; iy++) {
                                detectArray[iy].mouseEnabled = false;
                                detectArray[iy].buttonMode = false;
                   //if the scene and frame are correct, clicks can be heard               
                    for (var jk:uint = 0; jk<sceneArray.length; jk++) {
                        if (stage.contains(sceneArray[jk])
                            && sceneGuyArray[jk].currentLabel == "guy_At"+wordArray[jk]+"Normal") {
                            //trace("canClick");
                            canClick();
                                           // else clicks can't be heard               
                        } else if (stage.contains(sceneArray[jk])
                            && sceneGuyArray[jk].currentLabel != "guy_At"+wordArray[jk]+"Normal") {
                            trace("cantClick");
                            cantClick();

    Hi, tytbone;
    I'm not going to sort through your logic, because, frankly, it's way too complicated. Complicated logic is hard to debug, and the way you've done it is not likely to perform well.
    Try something like this:
    //Not sure what class you've actually applied to the parent,
    //so this name is made up
    //Not applying a Class? Maybe you should start.
    public class ParentClass extends MovieClip {
         //Assuming you've got these on stage an you're going to let Flash populate them
         //mainly because logic to create, add, and position things is tedious and I refuse to write it
         public var treeToChopDetect:MovieClip;
         public var guy_Bridge:MovieClip;
         public function ParentClass() {
              super();
              //added to stage doesn't bubble, use capture
              addEventListener(Event.ADDED_TO_STAGE, initNewChild, true);
         protected function initNewChild(e:Event):void {
              var newChild:MovieClip = e.target as MovieClip;
              if (newChild) {
                   switch(newChild.name) {
                        case 'treeToChopDetect':
                             mouseChildren = false;
                             mouseEnabled = false;
                             break;
                        case 'guy_Bridge':
                             //find relevant frame
                             var frameNum:int = -1;
                             for each (var frameLabel:FrameLabel in newChild.currentFrameLabels) {
                                  if (frameLabel.name=='guy_AtBridgeNormal') {
                                       frameNum = frameLabel.frame -1;
                                       break;
                             if (frameNum > -1) {
                                  //could do this on the timeline of the child mc or with 
                                  //a base class...this is just for illustration purposes
                                  //tell guy at bridge to dispatch this event when he gets to the frame
                                  newChild.addFrameScript(frameNum, function(){dispatchEvent(new Event('guy_AtBridgeNormal'))});
                                  //listen for that event so you can unlock the tree
                                  newChild.addEventListener('guy_AtBridgeNormal', unlockTree);
                        }//end case
                   }//end if the child was actually a movie clip
              }//end init
              protected function unlockTree(e:Event):void {
                   guy_Bridge.removeEventListener('guy_AtBridgeNormal', unlockTree);
                   treeToChopDetect.mouseEnabled = true;
                   treeToChopDetect.addEventListener(MouseEvent.CLICK, onTreeChop);
              protected function onTreeChop(e:Event):void {
                    //do stuff

  • ITunes says i have 15.4GB of photos on my iPhone even though my Photo Library is empty

    Exactly what the title says. iTunes says i have 15.4GB of photos on my iPhone even though my Photo Library only has a couple of photos in it that obviously don't take up that much space. I tried unselecting "Sync Photos from..." in iTunes and syncing my iPhone that way, but nothing happened. The two photos remained in the Photo Library, and iTunes continues to say i have 15.4GB of photos. What gives?

    You cannot.
    There a re not duplicates on your iphone.  Just as a song is in your music library and that exact same song can be accessed from a playlist, all photos synced to iphone are in the photo library and those exact same pics ( not duplicates) can be viewed from the folders/albums.
    This is how Apple handles photos.

  • Can't clear music from iPhone 4 even though iTunes shows it as empty

    I recently switched from a PC to a Macbook Pro (this week, so I am VERY fresh). I followed some online instructions from an apple to transfer my itunes contents to the Mac using an external hard drive. I did everything it said, but when I added the music to the Mac, the music transfered but none of the playlists did. I read on another forum that I could drag and drop the itunes media file directly to itunes. This added all of my music to itunes but no playlists, so I manually recreted the playlists. So now my Mac has all of my music with all of the same playlists and no duplicates. (My books, apps, and pics all transfered as well).
    I plugged my iphone 4 into the Mac to sync and everything seemed right, until I went to listen to music on my iphone and all of my playlists were empty - all of my music was still on the iphone, and the playlists were there, but empty. So I read some more forums and did a couple of things they suggested. First was to convert ID3 tags. After doing that, I tried to sync and got an error msg from itunes saying the iphone couldnt sync because it does not have enough space. Second, I tried unchecking all playlists in itunes (which were all still there), syncing, rechecking all playlists, and syncing again. This served to clear the (empty) playlists off the iphone, and then when I tried to sync with them all rechecked in itunes, I got the same error msg - not enough space on the phone.
    So this is where I am now - all of my music from my PC is still on my iphone. I have no playlists at all on the iphone. When the iphone is plugged in and I click the arrow to show the music on the iphone it shows that it is empty, but in the summary view, it still shows that the phone is full of music (8gbs or so, the same amount that it was before all of this).
    Both the phone and itunes are up to date.
    I'm thinking if I can wipe the music off the phone, I should be able to sync and everything will be dandy - but the music just will not leave!
    I don't use Match, and when the phone tries to sync vis wifi the same error comes back.
    Can anybody help me??  (sorry so long)

    Well seeing there was no response here I went ahead and reinstalled the iOS.  It fixed the issue.

  • "Bookmark toolbar" is visible as drop down menu but shows empty bar even though it is checked on in "view" menu

    the horizontal "bookmark toolbar" is checked on in the "view" "toolbars" menu, but appears as a blank bar, without any entries. If I go to "Bookmarks" on the menu bar I can see the "bookmark toolbar" entries. How can I make visible the bookmarks saved in the horizontal "Bookmark toolbar".

    Check that you still have the "Bookmarks Toolbar items" placed on the Bookmarks Toolbar.
    Make sure that all the toolbars like the "Navigation Toolbar" and the "Bookmarks Toolbar" are visible: "View > Toolbars"
    * Check in "View > Toolbars > Customize" that the "Bookmarks Toolbar items" is on the Bookmarks Toolbar
    * If the "Bookmarks Toolbar items" is not on the Bookmarks Toolbar then drag it back from the Customize window onto the Bookmarks Toolbar
    * If you do not see the "Bookmarks Toolbar items" or other items that are missing in the toolbar palette or on a toolbar then click the "Restore Default Set" button
    * http://kb.mozillazine.org/Toolbar_customization

  • My DVD drive on my IMAC will not allow me to load a disc, even though there is no DVD in the disc slot.

    My IMAC will not allow me to load a DVD, even though the disc drive is empty.  Any ideas as to what I should do to resolve the problem
    Thanks
    Roger

    Sounds like you have a newer iMac than this forum covers. The newer ones have a bar or "fence" that, on detecting the drive has failed. moves the bar to block the slot so no media can be inserted (to avoid damage or loss of a disk).
    You will need a new optical drive--contact an Apple retail Store or an Authorized Apple Service Provider:
    Find an Authorized Service Provider

  • Why does JDBC keep connections open even though I close the resultsets?

    I attached my program and my output. Please bear with me for the long output. My question here is why do the connections remain even though I closed the resultsets. I need to reuse my prepared statements, but don't want to keep the oracle sessions open. Is this possible? What do I need to do?
    If you notice in the program, I have executed the query to find the number of open sessions 5 times.
    1) After creating the connections
    2) After creating the prepared statements
    3) After executing them
    4) After getString on the resultSets
    5) After closing the resultsets.
    And the sessions are still there even is Step 5 :-(
    import java.sql.*;
    * Title:
    * Description:
    * Copyright: Copyright (c) 2001
    * Company:
    * @author
    * @version 1.0
    public class Test {
    String dburl = "jdbc:oracle:thin:@oracle92:1521:oracle92";
    String query = "select s.username,s.sid ,s.logon_time, s.serial#,sql.sql_text"+
    " from v$session s, v$sqltext sql where sql.address = "+
    "s.sql_address and sql.hash_value = s.sql_hash_value "+
    "and upper(s.username) like 'KRTEMP%'"+
    " order by s.username ,s.sid ,s.serial# ,sql.piece" ;
    // String query = "select s.username, s.sid ,s.logon_time, s.status from v$session s where upper(s.username) like 'KRTEMP%'";
    public Test(int num) throws Exception {
    Class.forName("oracle.jdbc.driver.OracleDriver");
    Connection[] con = new Connection[num];
    for(int i=0; i<num; i++) {
    con[i] = DriverManager.getConnection(dburl, "krtemp", "krtemp");
    executeQuery();
    PreparedStatement[] ps = new PreparedStatement[num];
    for(int i=0; i<num; i++) {
    ps[i] = con.prepareStatement("select * from contact");
    executeQuery();
    ResultSet[] rs = new ResultSet[num];
    for(int i=0; i<num; i++) {
    rs[i] = ps[i].executeQuery();
    executeQuery();
    for(int i=0; i<num; i++) {
    ResultSetMetaData meta = rs[i].getMetaData();
    while(rs[i].next()) {
    for(int j=1; j<=meta.getColumnCount(); j++) {
    rs[i].getString(j);
    executeQuery();
    for(int i=0; i<num; i++) {
    rs[i].close();
    executeQuery();
    private void executeQuery() throws Exception {
    Connection con = DriverManager.getConnection(dburl, "krtemp", "krtemp");
    PreparedStatement ps = con.prepareStatement(query);
    ResultSet rs = ps.executeQuery();
    ResultSetMetaData meta = rs.getMetaData();
    System.out.println("-----");
    while(rs.next()) {
    for(int i=1; i<=meta.getColumnCount(); i++) {
    System.out.print(rs.getString(i));
    System.out.print(" ");
    System.out.println();
    System.out.println("-----");
    public static void main(String[] args) throws Exception {
    Test test = new Test(5);
    The output is
    KRTEMP 9 2005-06-27 17:09:30.0 5436 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS WH
    ERE PARAMETER ='NLS_
    KRTEMP 9 2005-06-27 17:09:30.0 5436 DATE_FORMAT'
    KRTEMP 34 2005-06-26 18:51:01.0 3629 rename tstore to store
    KRTEMP 37 2005-06-27 17:09:25.0 4209 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS W
    HERE PARAMETER ='NLS_
    KRTEMP 37 2005-06-27 17:09:25.0 4209 DATE_FORMAT'
    KRTEMP 74 2005-06-27 17:09:26.0 17625 select appId from profile_application_tabl
    e wher
    KRTEMP 74 2005-06-27 17:09:26.0 17625 e appName=:1 and appVersion=:2
    KRTEMP 83 2005-06-27 17:09:25.0 1771 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS W
    HERE PARAMETER ='NLS_
    KRTEMP 83 2005-06-27 17:09:25.0 1771 DATE_FORMAT'
    KRTEMP 105 2005-06-27 17:09:30.0 3296 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS
    WHERE PARAMETER ='NLS_
    KRTEMP 105 2005-06-27 17:09:30.0 3296 DATE_FORMAT'
    KRTEMP 111 2005-06-27 17:09:25.0 4878 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS
    WHERE PARAMETER ='NLS_
    KRTEMP 111 2005-06-27 17:09:25.0 4878 DATE_FORMAT'
    KRTEMP 153 2005-06-27 17:09:30.0 31065 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS
    WHERE PARAMETER ='NLS_
    KRTEMP 153 2005-06-27 17:09:30.0 31065 DATE_FORMAT'
    KRTEMP 163 2005-06-27 17:09:30.0 3205 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS
    WHERE PARAMETER ='NLS_
    KRTEMP 163 2005-06-27 17:09:30.0 3205 DATE_FORMAT'
    KRTEMP 183 2005-06-27 17:09:30.0 3465 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS
    WHERE PARAMETER ='NLS_
    KRTEMP 183 2005-06-27 17:09:30.0 3465 DATE_FORMAT'
    KRTEMP 191 2005-06-27 17:09:26.0 5438 select appId from profile_application_tabl
    e wher
    KRTEMP 191 2005-06-27 17:09:26.0 5438 e appName=:1 and appVersion=:2
    KRTEMP 256 2005-06-27 17:09:30.0 2718 select s.username,s.sid ,s.logon_time, s.s
    erial#,sql.sql_text fr
    KRTEMP 256 2005-06-27 17:09:30.0 2718 om v$session s, v$sqltext sql where sql.ad
    dress = s.sql_address
    KRTEMP 256 2005-06-27 17:09:30.0 2718 and sql.hash_value = s.sql_hash_value and
    upper(s.username) like
    KRTEMP 256 2005-06-27 17:09:30.0 2718 'KRTEMP%' order by s.username ,s.sid ,s.s
    erial# ,sql.piece
    KRTEMP 9 2005-06-27 17:09:30.0 5436 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS WH
    ERE PARAMETER ='NLS_
    KRTEMP 9 2005-06-27 17:09:30.0 5436 DATE_FORMAT'
    KRTEMP 34 2005-06-26 18:51:01.0 3629 rename tstore to store
    KRTEMP 37 2005-06-27 17:09:25.0 4209 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS W
    HERE PARAMETER ='NLS_
    KRTEMP 37 2005-06-27 17:09:25.0 4209 DATE_FORMAT'
    KRTEMP 74 2005-06-27 17:09:26.0 17625 select appId from profile_application_tabl
    e wher
    KRTEMP 74 2005-06-27 17:09:26.0 17625 e appName=:1 and appVersion=:2
    KRTEMP 83 2005-06-27 17:09:25.0 1771 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS W
    HERE PARAMETER ='NLS_
    KRTEMP 83 2005-06-27 17:09:25.0 1771 DATE_FORMAT'
    KRTEMP 105 2005-06-27 17:09:30.0 3296 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS
    WHERE PARAMETER ='NLS_
    KRTEMP 105 2005-06-27 17:09:30.0 3296 DATE_FORMAT'
    KRTEMP 111 2005-06-27 17:09:25.0 4878 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS
    WHERE PARAMETER ='NLS_
    KRTEMP 111 2005-06-27 17:09:25.0 4878 DATE_FORMAT'
    KRTEMP 153 2005-06-27 17:09:30.0 31065 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS
    WHERE PARAMETER ='NLS_
    KRTEMP 153 2005-06-27 17:09:30.0 31065 DATE_FORMAT'
    KRTEMP 163 2005-06-27 17:09:30.0 3205 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS
    WHERE PARAMETER ='NLS_
    KRTEMP 163 2005-06-27 17:09:30.0 3205 DATE_FORMAT'
    KRTEMP 183 2005-06-27 17:09:30.0 3465 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS
    WHERE PARAMETER ='NLS_
    KRTEMP 183 2005-06-27 17:09:30.0 3465 DATE_FORMAT'
    KRTEMP 191 2005-06-27 17:09:26.0 5438 select appId from profile_application_tabl
    e wher
    KRTEMP 191 2005-06-27 17:09:26.0 5438 e appName=:1 and appVersion=:2
    KRTEMP 232 2005-06-27 17:09:31.0 5893 select s.username,s.sid ,s.logon_time, s.s
    erial#,sql.sql_text fr
    KRTEMP 232 2005-06-27 17:09:31.0 5893 om v$session s, v$sqltext sql where sql.ad
    dress = s.sql_address
    KRTEMP 232 2005-06-27 17:09:31.0 5893 and sql.hash_value = s.sql_hash_value and
    upper(s.username) like
    KRTEMP 232 2005-06-27 17:09:31.0 5893 'KRTEMP%' order by s.username ,s.sid ,s.s
    erial# ,sql.piece
    KRTEMP 34 2005-06-26 18:51:01.0 3629 rename tstore to store
    KRTEMP 37 2005-06-27 17:09:25.0 4209 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS W
    HERE PARAMETER ='NLS_
    KRTEMP 37 2005-06-27 17:09:25.0 4209 DATE_FORMAT'
    KRTEMP 74 2005-06-27 17:09:26.0 17625 select appId from profile_application_tabl
    e wher
    KRTEMP 74 2005-06-27 17:09:26.0 17625 e appName=:1 and appVersion=:2
    KRTEMP 83 2005-06-27 17:09:25.0 1771 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS W
    HERE PARAMETER ='NLS_
    KRTEMP 83 2005-06-27 17:09:25.0 1771 DATE_FORMAT'
    KRTEMP 111 2005-06-27 17:09:25.0 4878 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS
    WHERE PARAMETER ='NLS_
    KRTEMP 111 2005-06-27 17:09:25.0 4878 DATE_FORMAT'
    KRTEMP 232 2005-06-27 17:09:31.0 5893 select s.username,s.sid ,s.logon_time, s.s
    erial#,sql.sql_text fr
    KRTEMP 232 2005-06-27 17:09:31.0 5893 om v$session s, v$sqltext sql where sql.ad
    dress = s.sql_address
    KRTEMP 232 2005-06-27 17:09:31.0 5893 and sql.hash_value = s.sql_hash_value and
    upper(s.username) like
    KRTEMP 232 2005-06-27 17:09:31.0 5893 'KRTEMP%' order by s.username ,s.sid ,s.s
    erial# ,sql.piece
    KRTEMP 256 2005-06-27 17:09:31.0 2783 select s.username,s.sid ,s.logon_time, s.s
    erial#,sql.sql_text fr
    KRTEMP 256 2005-06-27 17:09:31.0 2783 om v$session s, v$sqltext sql where sql.ad
    dress = s.sql_address
    KRTEMP 256 2005-06-27 17:09:31.0 2783 and sql.hash_value = s.sql_hash_value and
    upper(s.username) like
    KRTEMP 256 2005-06-27 17:09:31.0 2783 'KRTEMP%' order by s.username ,s.sid ,s.s
    erial# ,sql.piece
    KRTEMP 9 2005-06-27 17:09:30.0 5436 select * from contact
    KRTEMP 34 2005-06-26 18:51:01.0 3629 rename tstore to store
    KRTEMP 37 2005-06-27 17:09:25.0 4209 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS W
    HERE PARAMETER ='NLS_
    KRTEMP 37 2005-06-27 17:09:25.0 4209 DATE_FORMAT'
    KRTEMP 74 2005-06-27 17:09:26.0 17625 select appId from profile_application_tabl
    e wher
    KRTEMP 74 2005-06-27 17:09:26.0 17625 e appName=:1 and appVersion=:2
    KRTEMP 83 2005-06-27 17:09:25.0 1771 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS W
    HERE PARAMETER ='NLS_
    KRTEMP 83 2005-06-27 17:09:25.0 1771 DATE_FORMAT'
    KRTEMP 105 2005-06-27 17:09:30.0 3296 select * from contact
    KRTEMP 111 2005-06-27 17:09:25.0 4878 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS
    WHERE PARAMETER ='NLS_
    KRTEMP 111 2005-06-27 17:09:25.0 4878 DATE_FORMAT'
    KRTEMP 153 2005-06-27 17:09:30.0 31065 select * from contact
    KRTEMP 163 2005-06-27 17:09:30.0 3205 select * from contact
    KRTEMP 173 2005-06-27 17:09:31.0 3922 select s.username,s.sid ,s.logon_time, s.s
    erial#,sql.sql_text fr
    KRTEMP 173 2005-06-27 17:09:31.0 3922 om v$session s, v$sqltext sql where sql.ad
    dress = s.sql_address
    KRTEMP 173 2005-06-27 17:09:31.0 3922 and sql.hash_value = s.sql_hash_value and
    upper(s.username) like
    KRTEMP 173 2005-06-27 17:09:31.0 3922 'KRTEMP%' order by s.username ,s.sid ,s.s
    erial# ,sql.piece
    KRTEMP 183 2005-06-27 17:09:30.0 3465 select * from contact
    KRTEMP 191 2005-06-27 17:09:26.0 5438 select appId from profile_application_tabl
    e wher
    KRTEMP 191 2005-06-27 17:09:26.0 5438 e appName=:1 and appVersion=:2
    KRTEMP 232 2005-06-27 17:09:31.0 5893 select s.username,s.sid ,s.logon_time, s.s
    erial#,sql.sql_text fr
    KRTEMP 232 2005-06-27 17:09:31.0 5893 om v$session s, v$sqltext sql where sql.ad
    dress = s.sql_address
    KRTEMP 232 2005-06-27 17:09:31.0 5893 and sql.hash_value = s.sql_hash_value and
    upper(s.username) like
    KRTEMP 232 2005-06-27 17:09:31.0 5893 'KRTEMP%' order by s.username ,s.sid ,s.s
    erial# ,sql.piece
    KRTEMP 256 2005-06-27 17:09:31.0 2783 select s.username,s.sid ,s.logon_time, s.s
    erial#,sql.sql_text fr
    KRTEMP 256 2005-06-27 17:09:31.0 2783 om v$session s, v$sqltext sql where sql.ad
    dress = s.sql_address
    KRTEMP 256 2005-06-27 17:09:31.0 2783 and sql.hash_value = s.sql_hash_value and
    upper(s.username) like
    KRTEMP 256 2005-06-27 17:09:31.0 2783 'KRTEMP%' order by s.username ,s.sid ,s.s
    erial# ,sql.piece
    KRTEMP 9 2005-06-27 17:09:30.0 5436 select * from contact
    KRTEMP 34 2005-06-26 18:51:01.0 3629 rename tstore to store
    KRTEMP 37 2005-06-27 17:09:25.0 4209 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS W
    HERE PARAMETER ='NLS_
    KRTEMP 37 2005-06-27 17:09:25.0 4209 DATE_FORMAT'
    KRTEMP 74 2005-06-27 17:09:26.0 17625 select appId from profile_application_tabl
    e wher
    KRTEMP 74 2005-06-27 17:09:26.0 17625 e appName=:1 and appVersion=:2
    KRTEMP 83 2005-06-27 17:09:25.0 1771 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS W
    HERE PARAMETER ='NLS_
    KRTEMP 83 2005-06-27 17:09:25.0 1771 DATE_FORMAT'
    KRTEMP 105 2005-06-27 17:09:30.0 3296 select * from contact
    KRTEMP 111 2005-06-27 17:09:25.0 4878 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS
    WHERE PARAMETER ='NLS_
    KRTEMP 111 2005-06-27 17:09:25.0 4878 DATE_FORMAT'
    KRTEMP 153 2005-06-27 17:09:30.0 31065 select * from contact
    KRTEMP 163 2005-06-27 17:09:30.0 3205 select * from contact
    KRTEMP 183 2005-06-27 17:09:30.0 3465 select * from contact
    KRTEMP 191 2005-06-27 17:09:26.0 5438 select appId from profile_application_tabl
    e wher
    KRTEMP 191 2005-06-27 17:09:26.0 5438 e appName=:1 and appVersion=:2
    KRTEMP 204 2005-06-27 17:09:32.0 1478 select s.username,s.sid ,s.logon_time, s.s
    erial#,sql.sql_text fr
    KRTEMP 204 2005-06-27 17:09:32.0 1478 om v$session s, v$sqltext sql where sql.ad
    dress = s.sql_address
    KRTEMP 204 2005-06-27 17:09:32.0 1478 and sql.hash_value = s.sql_hash_value and
    upper(s.username) like
    KRTEMP 204 2005-06-27 17:09:32.0 1478 'KRTEMP%' order by s.username ,s.sid ,s.s
    erial# ,sql.piece
    KRTEMP 232 2005-06-27 17:09:31.0 5893 select s.username,s.sid ,s.logon_time, s.s
    erial#,sql.sql_text fr
    KRTEMP 232 2005-06-27 17:09:31.0 5893 om v$session s, v$sqltext sql where sql.ad
    dress = s.sql_address
    KRTEMP 232 2005-06-27 17:09:31.0 5893 and sql.hash_value = s.sql_hash_value and
    upper(s.username) like
    KRTEMP 232 2005-06-27 17:09:31.0 5893 'KRTEMP%' order by s.username ,s.sid ,s.s
    erial# ,sql.piece
    KRTEMP 256 2005-06-27 17:09:31.0 2783 select s.username,s.sid ,s.logon_time, s.s
    erial#,sql.sql_text fr
    KRTEMP 256 2005-06-27 17:09:31.0 2783 om v$session s, v$sqltext sql where sql.ad
    dress = s.sql_address
    KRTEMP 256 2005-06-27 17:09:31.0 2783 and sql.hash_value = s.sql_hash_value and
    upper(s.username) like
    KRTEMP 256 2005-06-27 17:09:31.0 2783 'KRTEMP%' order by s.username ,s.sid ,s.s
    erial# ,sql.piece

    Why do the connections stay open? Because you haven't closed them.
    You answered your own question: obviously closing the ResultSet is NOT the same thing as closing the connection.
    When you do a query, you want to get the connection, statement, and result set, load the data from the result set into an object or data structure, and then immediately close them all again in reverse order of creation. You want to keep the scope as narrow as possible. You want to use a connection pool to keep the cost of obtaining a connection down. You should leave caching of the PreparedStatements to the JDBC driver.
    %

  • IPhoto asked to upgrade library and has now come up empty even though my iPhoto file is over 130GB.  How do I get back my photos?

    iPhoto asked to upgrade library and has now come up empty even though my iPhoto file is over 130GB.  How do I get back my photos?   I am using OS X Yosemite 10.10.1 with Mavericks.   My iPhoto is 9.6.   I am very concerned as this file has all my photos for the last 15 years!

    If the iPhoto Library is still 130 GB large, your photos are probably still inside; perhaps the library has a corruption.
    Or the iPhoto Library is on drive, that is incompatible with iPhoto. Where is your iPhoto Library stored?
    To check for a library corruption:  Ctrl-click or right-click the iPhoto library and select "Show Package Contents". This will show the folders inside the library package.
    Are there folders called "Masters" or "Old Masters"?
    If there is a folder "Old Masters", you are having a problem with recent bug, that corrupts iPhoto Libraries when upgrading. In that case, it would be best to restore your iPhoto Library from a backup you made before you upgraded to Yosemite.
    Or, if no backup is available, copy the "old Masters" folder to a folder on your Desktop and create a new iPhoto library and import the Old Masters folder.
    If there is no folder "old Masters" try to rebuild your iPhoto Library with the First Aid tools :
    Make a backup copy of your iPhoto Library, but don't overwrite any older backups.
    To launch the "First Aid Tools" hold down the options-command keys ⌥⌘ while double clicking your iPhoto Library.
    Keep the keys held down firmly until the First Aid panel appears.
    Select  "Rebuild Database".

  • IPod seems to be full even though I emptied everything...

    Hi,
    I have deleted all the songs in my iPod Shuffle and deleted all the files in it as well. However it only gives 1.2 MB available space and I can not move anything to it anymore. This happened after I stuffed it with loads of files until it was full. I moved all of them to the trash (and it does not seem to have anymore data in it) but iPod still seems to be full. I tried to restore it to factory settings but my iPod software updater does not recognize my iPod, no matter how many times I tried to "reset" it as shown on the iPod support homepage. This is even though iTunes can see my iPod and I can access it on the finder as well. It is the updater software only that seem to be unable to see the iPod. (I tried all the versions from 1.3 to 2.0.1.)
    Please help...
    g3 laptop no-firewire   Mac OS X (10.2.x)  
    g3 laptop no-firewire   Mac OS X (10.2.x)  

    Thanks,
    Emptying the trash solved the problem of space.
    Now I am happily listening to my music again.
    The iPod Software Updater is still not seeing the iPod though.
    The version numbers I gave refered to the updater software.
    I will try it on another computer.
    Thanks again...
    pturk
    g3 laptop no-firewire   Mac OS X (10.2.x)  

  • Some genres are empty even though all titles have been synchronized.

    Some genres are empty, other genres do not show all titles - even though all titles have been synchronized. I have already reset my ipod but the problem remains. Can anybody help me out?

    Only the songs or playlists or selections that you have checked for syncing will be copied to the iPod. It is, therefore, natural that if you browes your iPod it will not contain all the Genres you see in iTunes.
    If you did select the Genres in iTunes for syncing (and they are actually populated with songs), then there's something else that's wrong. One step at a time...

  • TS1702 i can not use my master card card anymore even though it is not empty

    i have bought a master card which can be used to purchase apps on the app store, 5 days ago the billing info is rejected even though i am sure that the card is not empty, so what shall i do? callimg the bank where i bought it from, deactivate my account,.....
    and if i change my apple id how can i get the apps that i spent money on ???

    Contact iTunes Billing Support.  Here's how:
    iTunes Store: Contacting billing support

  • Me and my collegue have different versions of InDesign CC even though it is in the cloud - shouldn´t we automatically have the same?

    Me and my collegue have different versions of InDesign CC even though it is in the cloud - shouldn´t we automatically have the same?

    Without exact system info and version info nobody can tell you anything. From failed updates to simple compatibility issues and one of the machines not meeting the requirements for a newer version this could be anything.
    Mylenium

  • HT4557 I have music on my second Iphone, but when I hook myphone to my computer the library is empty even though there is music on the phone.  When I try to add music to the phone I et an errror message that says it can not be moved because the phone can

    I can not manage music on an additional device.  Thephone has music from my library on it.  But when I connect the phone to my computer it shows there is nothing on the phone.  When I gry to add a song, I get an error message that says can not be copied to IPhone Helen(name of the phone) because it can not be found, even though it shows on the coputer

    See this excellent user tip from another forum member turingtest2 outlining the different methods and software available to help you copy content from your iPod back to your new Mac and into iTunes.
    Recovering your iTunes library from your iPod or iOS device
    Then proceed to do the Erase and Sync or restore the device.
    B-rock

Maybe you are looking for

  • Safari 6.0.4 crashes on open

    Safari 6.0.4 crashes every time I attempt to open with the following report.  Now software update installer hangs and says Waiting for other installations to complete. plz help me out. Tom Process:         Safari [73178] Path:            /Application

  • Calling Java class in XSLT mapping

    Hi, how can we call a java class in XSLT mapping.. thanks guna

  • "Preserve alpha transparency" with flattening for PDF

    For what reason, in Illustrator CS3, is the option for preserving alpha transparency not available in the PDF flattener, but only under the object menu by choosing Flatten Transparency... The reason i'm asking, is because when using some effects and

  • Advance Payments/Prepayments

    Hi, I want to make an advance payment for a supplier in Oracle Applications. My technical consultant told me that it is Prepayment invoice(Payables) option in Oracle Apps.I am using 11 version of apps. If anyone of you can expain about the same will

  • Student Societies fund raising budgeting using FM & GM

    Hi: At client we have around 70 societies of students established for various activities. For doing these activities they need funds, for that most of the time they raise funds externally, from various sponsors they arrange money and  that money is d