Bit operations are very strange help me

class BitDemo {
     public static void main(String[] args) {
               int bitmask = 0x0000000F;
               int val = -3;
               System.out.println(val & bitmask);  // prints "13" why not 3
int zmienna = -3; // 1000 ... 0011   ( 2^31 = 2 147 483 647 )
System.out.println("zmienna >> 1  = "+ ( zmienna >> 1 ) ); //print -2 why not -1

What do you think the the bits in an int variable set to -3 look like?
Remember that negative numbers are stored in two's complement (http://en.wikipedia.org/wiki/Two%27s_complement that's the second time I post this link today and I didn't need it for a long time before, strange).

Similar Messages

  • IPad acting very strange (HELP!)

    Hi guys,
    something very strange is happening to my iPad 2 and I'm hoping someone could help me out.
    So my iPad was working fine few hours ago, and had approximately 50-60% battery left. So I put it to sleep by clicking on the power button on top right, and did my business. After few hours, I tried to turn on the screen as usual by clicking the power button but it won't turn on. So I tried long-clicking because I figured somehow it turned off, but it didn't register. I tried clicking the home button but nothing.
    So I plugged in the charger (despite knowing there was battery left) and the iPad turned on as if it was completely turned off (and asking my passcode and stuff). When I put the passcode, it opens but the battery says 100%. When I unplug the charger, it goes dead again.
    Even more weirdly, when I keep charger plugged, it stays awake for a minute then completely goes dead again. Then after few seconds, the apple logo comes up (as if rebooting) and turns on again. The cycle continues.
    I did not drop it or anything, it was just sitting there, and it worked perfectly fine up until now. I'm very confused why it's acting this way.
    Is this hardware malfunction, plain and simple? Should I take it to the apple store and have them fix it or replace it? 

    update:
    not sure if this is relevant but I turned on my ipad's icloud so i can move my camera roll to photostream (of course ipad still won't work without being plugged).
    Soon after, i got a message on ipad screen saying:
    "verification failed.
    the certificate for this server is invalid. you might be connecting to a server that is pretending to be setup.icloud.com which could put your confidential info at risk"
    Is it possible that my iPad was somehow hacked?

  • I'm using Apple Mail 2.1.3 on a MacBook running OS 10.4.11. A very strange thing is happening. E-mail messages that I either sent or received months ago are showing up in my mailbox and receivers' mailboxes. Help!

    I'm using Apple Mail 2.1.3 on a MacBook running OS 10.4.11. A very strange thing is happening. E-mail messages that I either sent or received months ago are showing up in my mailbox and receivers' mailboxes. In one case, a message someone had sent to me wound up in the mailbox of a third person, who was not included in the address list!!  I have only two accounts, and have checked everything; only one account is showing the repeats Now, that account is my professional account, and it resides in three places: I use it on the laptop described here, I use it through Apple Mail on the much newer desktop Mac in my office, and I can run it through Web mail on my employer's server, which is where the professional account resides (I have a mailbox there, etc.) That program is called Zimbra.
    My personal account is with Earthlink and is not doing the repeats. I access it either through my MacBook's Apple Mail or the Web; the Apple Mail on my office Mac is not configured to access the Earthlink server.
    What IS going on here?? My friends, colleagues, and students (I teach college) are mystified by these ancient messages.
    Thanks for any help!!

    I'm using Apple Mail 2.1.3 on a MacBook running OS 10.4.11. A very strange thing is happening. E-mail messages that I either sent or received months ago are showing up in my mailbox and receivers' mailboxes. In one case, a message someone had sent to me wound up in the mailbox of a third person, who was not included in the address list!!  I have only two accounts, and have checked everything; only one account is showing the repeats Now, that account is my professional account, and it resides in three places: I use it on the laptop described here, I use it through Apple Mail on the much newer desktop Mac in my office, and I can run it through Web mail on my employer's server, which is where the professional account resides (I have a mailbox there, etc.) That program is called Zimbra.
    My personal account is with Earthlink and is not doing the repeats. I access it either through my MacBook's Apple Mail or the Web; the Apple Mail on my office Mac is not configured to access the Earthlink server.
    What IS going on here?? My friends, colleagues, and students (I teach college) are mystified by these ancient messages.
    Thanks for any help!!

  • I have very strange problem with Iphone 3gs. Whenever it gets little hot or exposed to 30 degree temperature it losses signals (No service). Whenever it is cooled down the service is back. Please help!

    I have very strange problem with iphone 3gs. Whenever it gets little hot or exposed to 30 degree or above temperature it losses signals (No service). Whenever it is cooled down the service is back. Whenever I am using Skype or playing game for a while it losses carrier signals and wifi. When it is cooled down afer shutting down the carrier signals and wifi are back. It is for sure problem is with heating, but 30 degree tempeature in Oman is normal and some time it goes upto 50 degrees. I have noticed this has started after I started using substandard charger as I lost my original charger of the phone. Please help!! Thanx.

    The specifications define an operating range up to 35 degrees.

  • Help with getting values from request. Very Strange!!

    Hello,
    My very strange problem is the following.
    I have created three dynamic list boxes. When the user select
    the first list box, the second becomes populated with stuff
    from a database. The third becomes populated when the second
    is selected. Now, I have used hidden values in order for
    me to get the selected value from the first listbox. The
    following code is my first listbox:
    <SELECT NAME="resources" onChange="document.hiddenform.hiddenObject.value = this.option [this.selectedIndex].value; document.hiddenform.submit();">
    <OPTION VALUE =""> Resource</OPTION>
    <OPTION VALUE ="soil"> Soil </OPTION>
    <OPTION VALUE ="water"> Water </OPTION>
    <OPTION VALUE ="air"> Air </OPTION>
    <OPTION VALUE ="plants"> Plants </OPTION>
    <OPTION VALUE ="animals"> Animals </OPTION>
    </SELECT>
    I use the getRequest method to get the value of hiddenObject.
    At this time I am able to get the value of hiddenObject to populate
    the second list box.
    But, when the user selects an item from the second list box
    and the second form is also submitted,
    I lose the value of hiddenObject. Why is this??
    The code to populate my second listbox is the following:
    <SELECT NAME ="res_categories" onChange="document.hiddenform2.hiddenObject2.value = this.options[this.selectedIndex].value; document.hiddenform2.submit(); ">
    <OPTION VALUE ="" SELECTED> Category</OPTION>
    Here I access a result set to populate the list box.
    Please help!!

    Form parameters are request-scoped, hence the request.getParameter("hiddenObject"); call after the submission of the second form returns a null value because the hiddenObject parameter does not exist within the second request.
    A solution would be to add a hiddenObject field to your second form and alter the onChange event for res_categories to read
    document.hiddenform2.hiddenObject.value=document.1stvisibleformname.resources.option[document.1stvisibleformname.resources.selectedIndex].value;
    document.hiddenform2.hiddenObject2.value = this.options[this.selectedIndex].value;
    document.hiddenform2.submit();You will then come across a similar problem with your third drop-down if indeed you need to resubmit the form...
    A far better approach would be to create a session scoped bean, and a servlet to handle these requests. Then when the servlet is called, it would set the value of the bean property, thus making it available for this request, and all subsequent requests within the current session. This approach would eliminate the need for the clunky javascript, making your application far more stable.

  • I upgraded to mountain lion a week ago and now on startup of my macbook pro, microsoft excel and word start up automatically and then crash? very strange can anyone please help? I have checked the login items under users and groups and there is nothing.

    I upgraded to mountain lion a week ago and now on startup of my macbook pro, microsoft excel and word start up automatically and then crash? very strange can anyone please help? I have checked the login items under users and groups and there is nothing.

    Are you using the Office for Mac 2011 version, as you need to do?  The Office for Mac 2004 is Not at all compatible with Mountain Lion, and the 2008 version has been noted to have some problems running with ML.
    Hope this helps

  • I have over 4000 songs in my Itunes library.  I have 25-30 playlists det up.  I just did a sync on my daugthers itouch and 85% of my playlists dissappeared.  i rebooted my pc....playlists are still not there.  very strange.  advice appreciated

    I have over 4000 songs in my Itunes library.  I have 25-30 playlists set up.  I just did a sync on my daugthers itouch and 85% of my playlists dissappeared.  i rebooted my pc....playlists are still not there. The songs are still in my library.   Very strange.  Any Advice appreciated

    Thanks, Michael.  Itunes Match is not enabled on my daughter's Itouch.  I have subscribed to it and have used the service to back up my song purchases.  I merely did a sync via USB (as normal) to her Itouch.  The sync wiped out 85% of the playlists that were on my home computer for the last seveal years.  I have updated her itouch multiple times - both before and after I had subscribed to iTunes Match.  After the last sync to her iTouch, the playlists just disappeared.   My home computer is the main device I use to manage my Itunes library and my playlists.  I am not sure what happened?
    BTW - how are you affiliated with Apple?  Are you?  I feel like I have explained the issue pretty clearly, but your responses seem to focus on her iTouch and not my computer, where the playlists are managed.  I want to know how to get the playlists back on my computer.
    Thanks for your help.  Rob

  • VERY strange behavior - HELP!

    I don't know if anyone can help, but I have had some VERY strange Powerbook this afternoon while doing some Word processing. I was doing a quick search on the internet, when web pages would not load and applications became EXTREMELY SLOW. It was almost as if I had lost my internet connection, but everything was fully connected and fine. Anything action that I took brought up the spinning pinwheel of death. After force quitting all of my apps. and trying to restart, I continued to get the spinning wheel. After leaving the PB for nearly five minutes, the wheel was still spinning and restart did not happen.
    I finally held down the power button until it shut down. After restart, I repaired permissions and received the following, which I thought was strange:
    Disk Utility started.
    Repairing permissions for “Macintosh HD”
    Determining correct file permissions.
    parent directory ./Users/Shared/SC Info does not exist
    We are using special permissions for the file or directory ./Library/Widgets. New permissions are 16877
    Permissions differ on ./private/var/log/secure.log, should be -rw------- , they are -rw-r-----
    Owner and group corrected on ./private/var/log/secure.log
    Permissions corrected on ./private/var/log/secure.log
    We are using special permissions for the file or directory ./usr/lib/php/build/acinclude.m4. New permissions are 33060
    I understand the "special permissions" is due to the latest security update, but the secure.log concerns me. Any ideas?
    Here is part of the system log as well. Any help would be much appreciated. Based on the sys.log towards the bottom, it almost looks as if there was some kind of attempted security breech on the system?
    Thanks,
    Joe B
    Sep 24 18:46:44 localhost kernel[0]: [start] 1
    Sep 24 18:46:44 localhost kernel[0]: HFS: Removed 2 orphaned unlinked files
    Sep 24 18:46:44 localhost kernel[0]: Jettisoning kernel linker.
    Sep 24 18:46:44 localhost kernel[0]: Resetting IOCatalogue.
    Sep 24 18:46:44 localhost kernel[0]: Matching service count = 0
    Sep 24 18:46:44 localhost kernel[0]: Matching service count = 4
    Sep 24 18:46:44 localhost kernel[0]: Matching service count = 4
    Sep 24 18:46:44 localhost kernel[0]: Matching service count = 4
    Sep 24 18:46:44 localhost kernel[0]: Matching service count = 4
    Sep 24 18:46:44 localhost kernel[0]: IPv6 packet filtering initialized, default to accept, logging disabled
    Sep 24 18:46:45 localhost kernel[0]: UniNEnet: Ethernet address 00:0d:93:2e:08:f6
    Sep 24 18:46:45 localhost kernel[0]: AirPortPCI_MM: Ethernet address 00:0d:93:8c:43:18
    Sep 24 18:46:45 localhost DirectoryService[43]: Launched version 2.0.2 (v350.2)
    Sep 24 18:46:45 localhost diskarbitrationd[38]: disk0s3 hfs F03FF213-49C4-3229-9807-105BFEB2EF16 Macintosh HD /
    Sep 24 18:46:47 localhost kernel[0]: [HCIController][setupHardware] AFH Is Supported
    Sep 24 18:46:47 localhost lookupd[67]: lookupd (version 365) starting - Sat Sep 24 18:46:47 2005
    Sep 24 18:46:47 localhost mDNSResponder: Adding browse domain local.
    Sep 24 18:46:47 localhost configd[36]: WirelessConfigure: 88001003
    Sep 24 18:46:47 localhost configd[36]: initCardWithStoredPrefs failed.
    Sep 24 18:46:47 localhost configd[36]: WirelessConfigure: 88001003
    Sep 24 18:46:49 localhost kernel[0]: ATY,Jasper_A: vram [b8000000:08000000]
    Sep 24 18:46:50 localhost kernel[0]: ATY,Jasper_B: vram [b8000000:08000000]
    Sep 24 18:46:50 localhost /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started
    Sep 24 18:46:51 localhost loginwindow[70]: Login Window Started Security Agent
    Sep 24 18:46:56 jbiedlin configd[36]: setting hostname to "jbiedlin.local"
    Sep 24 18:46:57 jbiedlin kernel[0]: AirPort: Link Active: "ARM Wireless" - 00112402fb57 - chan 1
    Sep 24 18:46:57 jbiedlin configd[36]: AppleTalk startup
    Sep 24 18:47:00 jbiedlin launchd: Server 0 in bootstrap 1103 uid 0: "/usr/sbin/lookupd"[67]: exited abnormally: Hangup
    Sep 24 18:4

    All,
    Sorry, I couldn't get all of the sys.log on the last post, so here's the part above where the log failed.
    Sep 24 17:42:55 jbiedlin configd[36]: AppleTalk startup complete
    Sep 24 18:46:44 localhost kernel[0]: standard timeslicing quantum is 10000 us
    Sep 24 18:46:44 localhost lookupd[44]: lookupd (version 365) starting - Sat Sep 24 18:46:44 2005
    Sep 24 18:46:44 localhost kernel[0]: vmpagebootstrap: 253637 free pages
    Sep 24 18:46:44 localhost kernel[0]: migtable_maxdispl = 70
    Sep 24 18:46:44 localhost kernel[0]: 95 prelinked modules
    Sep 24 18:46:44 localhost kernel[0]: Copyright (c) 1982, 1986, 1989, 1991, 1993
    Sep 24 18:46:44 localhost mDNSResponder-107 (Mar 20 2005 20: 31:47)[46]: starting
    Sep 24 18:46:44 localhost kernel[0]: The Regents of the University of California. All rights reserved.
    Sep 24 18:46:44 localhost kernel[0]: using 2621 buffer headers and 2621 cluster IO buffer headers
    Sep 24 18:46:44 localhost kernel[0]: IOPCCard info: Intel PCIC probe: TI 1510 rev 00
    Sep 24 18:46:44 localhost kernel[0]: FireWire (OHCI) Apple ID 31 built-in now active, GUID 000d93ff fe2e08f6; max speed s800.
    Sep 24 18:46:44 localhost kernel[0]: CSRHIDTransitionDriver::probe
    Sep 24 18:46:44 localhost kernel[0]: CSRHIDTransitionDriver::start before command
    Sep 24 18:46:44 localhost kernel[0]: ADB present:8c
    Sep 24 18:46:44 localhost kernel[0]: Security auditing service present
    Sep 24 18:46:44 localhost kernel[0]: BSM auditing present
    Sep 24 18:46:44 localhost kernel[0]: disabled
    Sep 24 18:46:44 localhost kernel[0]: rooting via boot-uuid from /chosen: F03FF213-49C4-3229-9807-105BFEB2EF16
    Sep 24 18:46:44 localhost kernel[0]: Waiting on <dict
    ID="0"><key>IOProviderClass</key><string
    ID="1">IOResources</string><key>IOResourceMatch</key><string
    ID="2">boot-uuid-media</string></dict>
    Sep 24 18:46:44 localhost kernel[0]: Got boot device =
    IOService:/MacRISC2PE/pci@f4000000/AppleMacRiscPCI/ata-6@D/AppleKauaiA
    TA/ATADeviceNub@0/IOATABlockStorageDriver/IOATABlockStorageDevice/IOBl
    ockStorageDriver/FUJITSU MHT2080AT
    Media/IOApplePartitionScheme/Untitled@3
    Sep 24 18:46:44 localhost kernel[0]: BSD root: disk0s3, major 14, minor 2
    Sep 24 18:46:44 localhost kernel[0]: jnl: replay_journal: from: 6615552 to: 3109888 (joffset 0x8601000)
    Sep 24 18:46:44 localhost kernel[0]: CSRHIDTransitionDriver::stop
    Sep 24 18:46:44 localhost kernel[0]: [HCIController][start]
    Sep 24 18:46:44 localhost kernel[0]: [AppleUSBHCIController][StopIsochPipeRead] - mInt1IsochInPipe = 0 - numReadsPending = 0
    Sep 24 18:46:44 localhost kernel[0]: [start] 1
    Sep 24 18:46:44 localhost kernel[0]: HFS: Removed 2 orphaned unlinked files
    Sep 24 18:46:44 localhost kernel[0]: Jettisoning kernel linker.
    Sep 24 18:46:44 localhost kernel[0]: Resetting IOCatalogue.
    Sep 24 18:46:44 localhost kernel[0]: Matching service count = 0
    Sep 24 18:46:44 localhost kernel[0]: Matching service count = 4
    Sep 24 18:46:44 localhost kernel[0]: Matching service count = 4
    Sep 24 18:46:44 localhost kernel[0]: Matching service count = 4
    Sep 24 18:46:44 localhost kernel[0]: Matching service count = 4
    Sep 24 18:46:44 localhost kernel[0]: IPv6 packet filtering initialized, default to accept, logging disabled
    [ Edited by Apple Discussions Moderator; wrap long lines ]

  • I have an Ipad mini with IOS7. A few days ago I began to have problems with wifi connectivity. I can connect to wifi with Google but cannot navigate in Safari nor any of my aps are able to acess wifi. Very strange. Not sure what to do!

    I have an Ipad mini with IOS7. A few days ago I began to have problems with wifi connectivity. I can connect to wifi with Google but cannot navigate in Safari nor any of my aps are able to acess wifi. Very strange. Not sure what to do!

    Hi ..
    Reset the device:
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.
    If that doesn't help, tap Settings > General > Reset > Reset All Settings
    If that doesn't help, tap Settings > General > Reset > Reset Network Settings
    You may have to re enter your Wi-Fi password.
    If nothing above has helped, try here >  iOS: Troubleshooting Wi-Fi networks and connections

  • My printer -photosmart plus B210a prints but the photos are very very dark HELP please

    I have a Hp photosmart plus B210a just trying to print out some photos and they are very very dark The photos themselves are light and of a high Dpi any suggestions anyone ??? please they are of my son's wedding so are very important to me 

    What program are you printing from? What operating system? What are the printer settings for paper type and quality?
    If you are printing from a program that allows selection of CMYK or RGB printing then select the RGB setting.  Even though the inks are CMYK the driver is expecting RGB data.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Need your help with very strange Oracle problem..

    hello,
    At our office we have an oracle 10g database (don't have exact version on hand) installation that stores data for many of our applications. We are having a very strange, intermittent issue that is causing us lots of headaches lately.
    The problem is, the database will be running fine, humming along, with clients connected to it, from different hosts, different networks, and using different technologies (PERL DBI::DBD, OJDBC, etc). Every so often (at intermittent intervals, no real patterns we can discern), it seems as though the database will just hang and not respond to requests for a few seconds. Outages have ranged from 1,2,3 seconds to sometimes 20,30,40 seconds (very rarely longer than 5-10 seconds though).
    Over the last few weeks, we've done lots of work to try and rule the network out of the equation. Today, a java client i wrote that was running locally on the database host, connected via OJDBC timed out (my timeout was set to 5 seconds) running a simple query ("select sysdate from dual") at the same time as all our other remote clients.
    I'm really not sure where else to look at this point. Our DBA department says they see no errors in the database, no indication of problems anywhere. We've ruled out our backend applications and the network at this point. The java test client i wrote was running from about 5 different clients, dispersed through many different networks. They all timed out at the same time as other network clients that run via perl's dbi/dbd framework.
    Can anyone suggest what would be a possible cause for this? How could it be possible that network clients issuing "select sysdate from dual" would hang for over 5 seconds?
    Thanks in advance for any suggestions you can offer.

    I am hoping you are not in a situation where your DBA said there's nothing wrong with database, your network admin said networking issue ruled out, your system admin said OS is normal. Yet, you as end user suffer and end up trying to figure out the issue by yourself while you didn't have expertise in any of these fields.That's basically the situation we were in for a few months here. It was, to say the least, extremely frustrating. Since we wrote the applications that were suffering the most due to this db/hardware issue, naturally, we felt "responsible" for taking the ownership to track down and fix the issue (after some perseverance ,we were finally able to narrow this problem down to a database storage issue).
    After exhausting every other dba theory about DBI/JDBC/Firewalls/Networks/etc, we simply just failed over our database to some standby hardware that had some directly attached storage (as opposed to a SAN configuration like our primary db instance runs off of), and the problem has basically disappeared at this point. It's been about two weeks now. Whereas we normally see a handful of episodes a day, now we see none.
    Our system administrators are looking into our SAN now and working to optimize its performance.
    Hopefully this will put this mystery to bed. It's been a long year+ chasing this problem down and I'm glad to see it licked finally. Thank you all for your input. I've learned quite a bit about Oracle in the process and I sincerely hope our DBA team here has learned something valuable from this exercise too.

  • Very strange behaviour master-detail-detail please help

    Very strange behaviour master-detail-detail please help
    Hello,
    I have a parent-child-grandchild report which show's some really strange behaviour.
    The data template has 3 queries Q1, Q2 and Q3.
    Q2 is bound to Q1 using a bind variable
    Q3 is bound to Q2 using another bind variable
    For a certain record in Q1 the output should be
    2 records in Q2
    and 1 record in Q3 for each record in Q2
    Q1 record
    Q2 record A
    Q3 record AA
    Q2 record B
    Q3 record BC
    The results conforms to the expected output.
    For another record in Q1 the output should be
    2 records in Q2
    and 2 records in Q3 for each record in Q2
    Q1 record
    Q2 record A
    Q3 record AA
    Q3 record AB
    Q2 record B
    Q3 record BC
    Q3 record BD
    In stead of the expected output, the result shows
    Q1 record
    Q2 record A
    Q3 record AA
    Q3 record AB
    Q2 record B
    Q3 record AB
    For another record in Q1 the output should be
    5 records in Q2
    and 2 records in Q3 for each record in Q2
    Q1 record
    Q2 record A
    Q3 record AA
    Q3 record AB
    Q2 record B
    Q3 record BC
    Q3 record BD
    Q2 record C
    Q3 record CE
    Q3 record CF
    Q2 record D
    Q3 record DG
    Q3 record DH
    Q2 record E
    Q3 record EI
    Q3 record EJ
    In stead of the expected output, the result shows
    Q1 record
    Q2 record A
    Q3 record AA
    Q3 record AB
    Q2 record B
    Q3 record BC
    Q3 record BD
    Q2 record C
    Q3 record CE
    Q3 record CF
    Q2 record D
    Q3 record DG
    Q3 record DH
    Q2 record E
    Q3 record DH
    So for the last record of Q2 I don't get the appropriate records from Q3 when there are multiple records to be shown, but only the last record which belongs to the previous Q2
    What is going on?
    Please help me out...
    Kind regards,
    Jan-Marcel

    Hi Tim,
    Thanks for your reply. Below you will find the datatemplate on the scott/tiger schema.
    Please help me out.
    Kind regards,
    Jan-Marcel
    <dataTemplate name="scott" description="Template scott" dataSourceRef="otcy001" version="1.1">
      <parameters>
        <parameter name="p_deptno" dataType="number"/>
      </parameters>
      <dataQuery>
        <sqlStatement name="Q1">
          <![CDATA[
            select empno            mgr_empno
                 , ename            mgr_name
                 , job              mgr_job
                 , hiredate         mgr_hiredate
                 , sal              mgr_sal
                 , comm             mgr_comm
              from emp
             where deptno = nvl(:p_deptno, deptno)
               and mgr is null
          ]]>
        </sqlStatement>
        <sqlStatement name="Q2">
          <![CDATA[
            select empno            mgr2_empno
                 , ename            mgr2_name
                 , job              mgr2_job
                 , hiredate         mgr2_hiredate
                 , sal              mgr2_sal
                 , comm             mgr2_comm
                 , mgr              mgr2_mgr
              from emp
             where mgr = :mgr_empno
          ]]>
        </sqlStatement>
        <sqlStatement name="Q3">
          <![CDATA[
            select empno            emp_no
                 , ename            emp_name
                 , job              emp_job
                 , hiredate         emp_hiredate
                 , sal              emp_sal
                 , comm             emp_comm
                 , mgr              emp_mgr
              from emp
             where mgr = :mgr2_empno
          ]]>
        </sqlStatement>
      </dataQuery>
      <dataStructure>
        <group name="G_mgr1" source="Q1">
          <element name="q1_mgr_empno"    value="mgr_empno"/>
          <element name="q1_mgr_name"     value="mgr_name"/>
          <element name="q1_mgr_job"      value="mgr_job"/>
          <element name="q1_mgr_hiredate" value="mgr_hiredate"/>
          <element name="q1_mgr_sal"      value="mgr_sal"/>
          <element name="q1_mgr_comm"     value="mgr_comm"/>
          <group name="G_mgr2" source="Q2">
            <element name="q2_mgr_empno"    value="mgr2_empno"/>
            <element name="q2_mgr_name"     value="mgr2_name"/>
            <element name="q2_mgr_job"      value="mgr2_job"/>
            <element name="q2_mgr_hiredate" value="mgr2_hiredate"/>
            <element name="q2_mgr_sal"      value="mgr2_sal"/>
            <element name="q2_mgr_comm"     value="mgr2_comm"/>
            <element name="q2_mgr2_mgr"     value="mgr2_mgr"/>
            <group name="G_emp" source="Q3">
              <element name="q3_emp_empno"    value="emp_empno"/>
              <element name="q3_emp_name"     value="emp_name"/>
              <element name="q3_emp_job"      value="emp_job"/>
              <element name="q3_emp_hiredate" value="emp_hiredate"/>
              <element name="q3_emp_sal"      value="emp_sal"/>
              <element name="q3_emp_comm"     value="emp_comm"/>
              <element name="q3_emp_mgr"      value="emp_mgr"/>
            </group>
          </group>
        </group>
      </dataStructure>
    </dataTemplate>

  • I can't watch Dailymotion videos on my iPad but can do so on my iPhone and PC. Very strange. Please help !

    I can't watch Dailymotion videos on my iPad but can do so on my iPhone and PC. Very strange. Please help !

    Take it to an Apple store genius bar to have the techs see what your options are for repair/replacement.  An out-of-warranty replacement is $149 in the US for the iPhone 4.

  • Can anyone help me with Magicjack? after I purchased US number I am unable to log in on my Iphone, I keep getting an error "YOUR DEVICE IS NOT ON THIS ACCOUNT" I contacted MJ support but they are very much useless and dont know how to fix it!

    can anyone help me with Magicjack? after I purchased US number I am unable to log in on my Iphone, I keep getting an error "YOUR DEVICE IS NOT ON THIS ACCOUNT" I contacted MJ support but they are very much useless and dont know how to fix it!

    There's a whole lot to read in your post, and frankly I have not read it all.
    Having said that, this troubleshooting guide should help:
    http://support.apple.com/kb/TS1538
    In particular, pay attention to the mobile device support sections near the bottom, assuming you have already done the items above it.

  • A very Strange Problem!!!help me!!

    i encounter a very strange problem, in EJB
    i write two EJB, one Stateless Session called A, and one Entity called B.
    i want to call B's findByPrimaryKey method in one A's Business, but failed!!!
    but when i remove the statement that performed the findByPrimaryKey method to A's setSessionContext method, It's Success!!!!!
    what the Problem, i am useing the Borland 's AppServer.
    who can help

    how u create the entity bean B from A?
    using proper lookup?
    can u try by write a small function inside bean A
    that contain proper lookup to Bean B...
    then try to call finbyPrimaryKey...
    now tell me is it working?
    or else can u give code or clear idea..
    if i can help u ,,,, sure i will
    do mail me
    [email protected]

Maybe you are looking for

  • Terrible iPhoto 6 bug, and some clues..

    Hi, everybody! I still don't have a satisfactory answer to this problem, which has essentially shut down my ability to use iPhoto. It seems that a number of people have this same problem (based on postings here). I shoot a bunch of digital photos, an

  • Hyper-V 2012 r2 Clustering issue

    Hi All We have the following issue and I just thought of why this could be happening We are using a 3 node cluster with a witness disk The problem is that the nodes in the cluster fail daily and its not a specific node it happens to any of them, but

  • Java programming standard for conditional statement

    Hi, Is it proper Java standard to use constants first in a conditional statement? I've never seen coding in this way, even when I was in college I never saw it in any of our books. example: String x = null; if (null==x){ //Do some stuff }

  • Using Mac Mini with HP 2009M 20" LCD

    Hi. I'm planning to buy the new Mac Mini and an LCD. Have bumped into the HP 2009M, which has both VGA and DVI inputs. Because I'm budgeting carefully, I'm trying to find an LCD with DVI connectivity, and would want to avoid buying myself a separate

  • There is any Scripting languages is used for mobile application development

    Is there is any Scripting languages is used for mobile application development? For example java script,vb script is used for web development.Like that is there is any scripting language is used for mobile application development along with J2me. Tha