Retrn result only if both conditions are true

I have this query to get list of names that are associated with
a keyword called 123 but do not belong to a item named 456
select distinct t1.lname, t1.sname , t5.rname
from table1 t1, table2 t2, tale3 t3,
table4 t4, table5 t5,
TABLE(xmlsequence(extract(t4.xmlcol,'/cs/lo/c'))) k
where t1.id = a.id
and t3.id = a.id
and t4.id = t3.id
and t5.id = t3.id
<--1st condition -->
and extractValue(k.column_value,'c/L/keyword/@id') in ('123')
<-- 2nd conditon-->
and t5.item not in (select distinct t6.name from table7 t7, table6 t6
where t7.id= t6.id
and t6.ref_id = 456)
In my database, I have 2 names. for a
given lname in the output, it is associated
with 2 rnames.One rname is associated with
keyword 123 and the other rname is associated
with item 456. Something like this:
lname   sname   rname
jakal     jkl      r123 --> associated with keyword 123
jakal      jkl      r456 --> associated with item 456
So when I run without condition1 and condition2 above is what I get.
That is jakal is associated with both r123 and r456.
However in my first query, I am trying to get the lnames and snames that are associated with keyword 123 but are not associated with item 456.
I want both conditions true to be displayed.
However when I write the query as mentioned initially, I get the row back.

Not sure if I understand the problem correctly.
But simplistically boolean algebra says that if you want a result only if both conditions are true, use AND.
E.g.
select * from table where <condition1> and <condition2>
Now if this does not work, it means that the conditions do not do what you think these should be doing.

Similar Messages

  • Restarting the executable until all conditions are true

    I wonder if I could be very clever and find the way out of my problem here.
    I am communicating with a device over UDP and for some reason, the device doesn't often establish communication with my Labview Executable on the first attempt.
    I run it, it fails, I then use CTRL+ALT+Delete to shut it down. I donubleclick the executable ICON on the desktop again and I sometimes do it five or six times then finally the communication is established and it all works.
    I wonder if I could add some code in the application to automate this process. One of the way I could now think to do is by creating another vi and call my current vi dynamically and add all those conditions into cluster, call this cluster (by wiring to the output terminal of the current main vi into new main vi) and monitor my cluster in the new main vi to see if the conditions are true if so continue or reload the current vi until those conditions are met? Is it the right way to do this? Or can I make my life easier and applcation more stable by doing something different?
    Kind Regards Austin

    Can you post your current code and show us the part that is communicating via UDP. I think the way to go is deffinately make your current code stable rather than an automation of failing code.
    Also what is the device you are trying to communicate with. Does this have a set protocol that you need to follow or is it one you are trying to figure out.
    Let us know and we could help you further.
    Matthew Trott
    Applications Engineer
    National Instruments UK
    www.ni.com/ask

  • How to create an object ONLY IF a condition is true

    I hope this is the correct place to post this....*takes deep breath*:
    I am writing a fairly basic program in NetBeans. The following example will simplify what I wish to convey, and ask for advice about:
    Imagine a program consisting of several classes. The constructor of one of these classes accepts three strings, entered by a user, as arguments. The idea is that the constructor of this class will then:
    -> Check that these strings all contain integers (using Integer.parseInt).
    -> If all three of these strings contain integers, check that all three of these do not add up to over 100.
    If both of these tests pass, then the object is created. What I want to know is how can I say "If either or both of these tests fail, DO NOT CREATE A NEW OBJECT ".
    If either or both of these tests are not passed, I want to display an error message, but then recover gracefully. I DO NOT want to simply do:
    exit(0);
    and kill the whole program. Nor do I want to shove the error checking in to the 'main()' class (where it already is), because, if someone else uses that other class, without my 'main()' class, they may pass it garbage. I feel it would be most sensible if the above tests were performed WITHIN THE ACTUAL CLASSES CONSTRUCTOR. But I want this done in a way where the constructor can respond with something like "Please use three integers", or "Object could not be created, please try again". Then the 'main()' class, having recieved, say, a boolean 'false' as the return type, can prompt the user to re-enter the strings (BTW, a return of 'true' to the 'main()' class would indicate that the object had been properly created, so the 'main()' class could carry on).
    Does this make sense???!!
    Thank you very much in advance,
    ./b

    Yeah, you're probably right. From what the OP said I
    imagined that errors in the constructor would be quite
    common, i.e. not exceptional at all, thus I
    didn't use them. If a caller passes an invalid parameter, I'd throw IllegalArgumentException, since passing an invalid parameter is a logic bug in the code. If the constructor connects to a DB or reads a file or something, I'd declare it to throw IOException or SQLException or some custom wrapper.
    If exceptions were thrown in the
    factory method I would also add another static method
    something like:
    public static boolean
    areTheseConstructorParametersValid( String a , String
    b , String c ) {...}to give the client the option of avoiding exception
    handling if they wanted. I wouldn't use this method
    name though...I don't really see any benefit to that. It goes back to the code sample I posted. If a client uses that, then he has the same kind of test as checking for null, it's just that it occurs before calling the factory method. And he still has to catch the exception anyway (if it's checked), so it doesn't really buy you anything.
    It's true that if the client is getting arbitrary input from, say, a user or a file, then he should validate that before calling the method. Not doing so is a logic bug that should produce IllegalArgumentException. And if the validation rules are complex, it might be a nice convenience function for the class to provide to clients, but I wouldn't use it as a replacement for exceptions.
    Just my $0.02.

  • RBATP - is it possible to activate them only if certain conditions are met?

    Hello APO - RBATP experts!
    I have a question that I hope you can help me with:
    Is it possible to have rules that become active only in certain circumstances, for example, if the RDD of the sales order is today or tomorrow?
    I have limited knowledge on the topic; so your help will be greatly appreciated.
    This is my scenario:
    A sales order is raised in plant A for Material X, if there isn't enought inventory of Mat. X, there will be a rule to look for inventory in plant B. If stock is found in plant B; then an ATP Tree structure is created, which is then turned into a purch req; and then into an STO from Plant B to Plant A. Then the shipment is sent to the customer from Plant A. This is good, however, this is not what we want for sales orders that are placed with too much time in advance; because by the time the sales order needs to be delivered, the inventory may be available in Plant A, and those requirements are meaningless at that point. Any ideas of how to handle this? Thanks in advance!

    Hi DB:
    Here are my answers:
    If the requirement is placed upon B, how is it possible to later have excess inventory in A? 
    If the sales order was placed let's say 7 weeks in advance; during that time the whse could have received inventory from the plant.
    This is mainly why I need to find a way for the rule to do the substitution and create the requirement in B, only if RDD is very close to today's date.
    Is there a reason why wouldn't ship directly from B to the customer? (instead of first moving the stock to A) 
    Yes there is, the requirement of the business is that any sales order raised in A, must be shipped from A; but stock must be found in alternate locations to satisfy the order. If stock is not found, then the order is cut and shipped.
    Is A a plant, depot, or both?
    Is B a plant, depot, or both?
    How is 'B' normally supplied? 
    Are you using MLATP?  CTP?
    Both are depots; and are supplied from different  manufacturing plants across the country.
    We are using MLATP.
    Thanks again for your input!

  • Email notification to end-user only when both resources are provisioned

    Hello Gurus,
    My client has a requirement where the end-user needs to be sent an email notification as soon as his account gets created in OID and EBS.
    So the next time when the user logs in; he should be able to access both his accounts. But the email should be sent only when the 2 accounts are succesfully created.
    How can we do that by means of process tasks and adapters?
    Can anybody give an idea about how can we provide this functionality in the best way OOTB or custom way (code snippet) ?
    Thanks,
    - JHB.

    Hi
    If you are using OOTB connectors for OID and EBS then this requirement can be achieved by using OIM API.
    On successful response of 'Create user' in OID or EBS call a custom adapter and check for the provisioned status of other RO i.e. on completion of Create User task of OID, check for prov status of EBS and send the mail accordingly.
    If the user is not provisioned to the other resource, then do not send the mail. Otherwise if the user is already provisioned to the other resource, send the mail to the user. This approach is based on the assumption that there is no link between the provisioning to OID and provisioning to EBS.
    Correct me if I missed something.
    Hope this helps.

  • How do I insert into an array only if the condition is true?

    I am buiding an array made up of pairs of data from a file. I am going through line by line putting the values in an array and then taking the pairs of two indexes oring them and putting the number into another array. I do not know if there is more than one set on each line so I have to do a while loop to check.The problem is I have to get the indexes in pairs, so for example I take in the element from index 0 and 1 and or them index 2 and 3 and or them, I do not need the combination of 1 and 2 or 3 and 4 and etc. I am using the "Quotient & Remainder" to check if the index is even or odd, if it is even I take that element and the very next index's element, I or them and put them in another array, but if i
    t is odd I do not want to put anything into the array. How can I go about doing that? Any help would be appreciated. I am using version 6.1 Thanks, Molly
    Attachments:
    labview.bmp ‏3841 KB

    Molly,
    Rather than running while loop which only executes code every other time you could instead just do a little more math to get your index values. Just multiply the iterator (i) terminal by 2 for the first index and then add 1 to it for the second (you'd need to run the loop half as many times of course). This would be more efficient and easier to read in your code. One other tip is that when you are running a loop a specified number of times it's cleaner to use a for loop rather than a while loop.
    Regards,
    Ryan K.
    NI

  • Inforecord - only plant relevant conditions

    Hi Experts,
    could any of You pls help me with an inforecord condition issue?
    I would like to use plant AND purchasing organisational relevant inforecord - both are necessary. I have configured the V_001W_K table (Activate condition Maintenance for Plant), but somehow i did not end up at the desired state:
    if I set to a plant - no Plant relevant conditions are allowed - I can not create an inforecord assigned to a plant - which is OK But if I added - only plant relevant conditions are allowed - I was still able to create an inforecord with price conditions with no plant - I expected, this would be forbidden as well. (purch organisation : plant - N:1 - so plant could be mandantory).
    Now users keep creating inforecords with and without plant - which should be stopped, preferably to create only purch org AND plant relevant data.
    Could any of You pls tell me, what I miss: setting or misunderstanding the configuration possibilities.
    Answers will be appreciated

    This bit of config (help text below) ? If so then a misunderstanding.  The setting relates to Conditions, not whether the PIR are set per Plant in themselves.
    Indicator: Conditions at plant level
    Determines how prices and conditions are stored for the relevant plant.
    Use
    If conditions are allowed at plant level, you must create purchasing info records and contract items relating to the plant. Centrally agreed contracts cannot then be created.
    If conditions are not allowed at plant level, you may not create any purchasing info records or contract items relating specifically to the plant.
    If conditions are allowed with or without a plant, you can create purchasing info records that either do or do not relate specifically to the plant.

  • How to set a condition to true if two items are both null ?

    Hi,
    I want to set a condition to true if two items P42_FICHE_ID and P42_AGENT_ID are both null. How to do ?
    Sorry for being so dummy but could not find the answer in the Oracle documentation.
    Regards,
    Christian

    Hello Christian,
    You could use a PL/SQL Expression like (:P42_FICHE_ID IS NULL AND :P42_AGENT_ID IS NULL) or NOT(...) whatever you need.
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    http://www.bloggingaboutoracle.org/
    http://www.logica.com/

  • Is it possible to have two different DIO such as DIO 0 and DIO 8 to control 1 LED provided both DIOs are both true?

    is it possible to have two different DIO such as DIO 0 and DIO 8 to control 1 LED provided both DIOs are both true? If so, how do we connect the 2 IOs tothe LED? 

    Why use two DIO lines?  If they aren't doing anything else, just AND the signals in software and just use 1 output.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Hi all! I need to buy iPad tomorrow. Need your advice which iPad to buy? For almost the same money I can buy iPad 2   3g or iPad 4 wireless only. Both of them are 16gb and price difference is 70€ for iPad 4

    Hi all! I need to buy iPad tomorrow. Need your advice which iPad to buy? For almost the same money I can buy iPad 2 + 3g or iPad 4 wireless only. Both of them are 16gb and price difference is 70€ for iPad 4

    16GB vs 32GB vs 64GB: Which new iPad storage capacity should you get?
    http://www.imore.com/2012/03/08/16gb-32gb-64gb-ipad-capacity/
    How much content will fit on my iPod or iPhone?
    http://support.apple.com/kb/HT1867
    iPad Mini vs. iPad 2 vs. iPad 4: Which iPad Should You Buy?
    http://www.padgadget.com/2012/10/25/ipad-mini-vs-ipad-2-vs-ipad-4-which-ipad-sho uld-you-buy/
     Cheers, Tom

  • Clear IDOC creation when only header level changes are made ME22N.

    Hi All,
    when the PO is  on changed in the header level only(for example header texts and header code)  and when we execute RSNAST00 one BADI getts triggered which checks if the Item category is 9 and  badi will clear the IDOC creation.
      If the PO item category is = 9, the IDOC must not be created. This badi works fine if the changes are made at
    1)at Item level
    2)both header level and Item level
    In case of 1 and 2 we have both header segment E1EDK01 and item segments E1EDP01.As a result it checks for the item category in the item segment.so idoc is not created.
    3)BADI is not working when the changes are made at the header level only. The IDOC is getting created even though the PO has the item category as 9.
    I found in this case only header segments are availble while debugging and the item segments are not there to check the condition for the item category.
    Please any one can suggest me possible solutions to  clear idoc creation when only header level changes are made ME22N.
    The BADI used is as below.
      DATA : lwa_data TYPE edidd.
      DATA : lw_dp01 TYPE e1edp01.
      DATA : lwa_control TYPE edidc.
      CHECK idoc_control-rcvprn = '3PL' AND idoc_control-idoctp = 'ORDERS05'.
      LOOP AT idoc_data INTO lwa_data.
        IF lwa_data-segnam = 'E1EDP01'.
          lw_dp01 = lwa_data-sdata.
          IF lw_dp01-pstyp = '9'.
            CLEAR create_idoc.
          ENDIF.
        ENDIF.
      ENDLOOP.
    ENDMETHO
    Thanks in advance.

    Hi all,
    Is there  any way that I can get the item category details when Only header level changes are made to the PO in ME22N and only header segments are available in the IDOC.
    Is this possible:- Fetch the po number and item category details from ekpo table that matches with  the header segment po number and then check for item category value  to clear the idoc creation?
    Any information is helpfull.
    Edited by: Selina.selk on Nov 20, 2009 1:39 PM
    Edited by: Selina.selk on Nov 20, 2009 2:49 PM

  • How to show a value in column when condition is true?

    Assume I have the following simplified SELECT statement:
    SELECT a, b, ???
    FROM tab;
    In the third column a value of "yes" should appear when the following condition is true:
    tab.c = tab.d
    Otherwise the value should be "no" (or even blank).
    How can I achieve this?
    The solution should be more general for situation if many tabs are involved,....
    Peter

    How can I achieve this?
    The solution should be more general for situation if many tabs are involved,....So do you expect a generalized SQL statement that handles are arbitrary number of tables with arbitrary column names?
    It would be helpful if you provided DDL (CREATE TABLE ...) for tables involved.
    It would be helpful if you provided DML (INSERT INTO ...) for test data.
    It would be helpful if you provided expected/desired results & a detailed explanation how & why the test data gets transformed or organized.

  • ** How to send 2 IDocs DEBMAS06, ADRMAS03 only if both contains data?

    Hi Friends,
    My scenario is like below. Whenever create a new customer or change an existing customer (XD01/XD02), we distributes the IDoc DEBMAS06 & ADRMAS03 from one SAP system to other SAP system through XI.
    The present scenario  is if DEBMAS06 IDoc gets failed (due to some reason) and ADRMAS03 created successfully it will be distributed to XI and processed successfully and reaches the target system. But, the customer wants only when both IDocs created successfully, the XI should process the message.
    To achieve this,
    1) Both IDocs are exported and the occurrences of  IDoc node changed to  0..1 .
    2) Now the DEBMAS06 IDoc segment occurrence is 0..1 likewise ADRMAS03 IDoc segment occurrence is 0..1. Both are imported in External Definitions.
    3) Created Message Mapping - Source Side 2 Messages (DEBMAS.DEBMAS06) & (ADRMAS.ADRMAS03). Likewise, the target side the same 2 messages.
    4) We put the condition by checking IDoc Node and tested that it is working fine. (DEBMAS06-E1KNA1M-KUNNR is not initial then only ADRMAS03 IDoc will be created. Likewise, ADRMAS03-E1ADRMAS-OBJ_ID is not initial then only DEBMAS06 IDoc will be created.)
    5)  We created 4 Message Interfaces and one interface mapping. Source Side 2 Interfaces are there : DEBMAS06_OUT, ADRMAS03_OUT. Target Side 2 interfaces DEBMAS06_IN, ADRMAS03_IN. The mapping program created in Step 4 is used . Consistency is checked. It is OK. Tested the mapping. Fine.
    Now, how do we configure receiver determination in Integration Directory Side ? Because, Sender Side 2 interfaces are there ?
    Kindly reply me friends about the ID configuration briefly for the above design.
    Thanking you.
    Kind Regards,
    Jegathees P

    Hi,
    You have 2 sender interfaces, so you will need to have a BPM which will collect these 2 IDOCs in 2 receive steps and map them to target interfaces.......in BPM you can have a wait step to collect the IDOCs and if in this time the IDOCs didnot arrive, you can cancel the BPM process, so stopping these IDOCs to reach target system.
    Regards,
    Rajeev Gupta

  • Delay/Timer only in a conditional loop.

    Hello,
    I want to use a delay(or some kind of timer) within my
    program. I intend to use to it within a conditional loop. Specifically,
    if a particular condition is true, then I want to wait for 50ms and
    then check another condition, which if true, I want to stop my program.
    I have used wait vi in the timing section. But this vi pauses my
    whole program. Specifically, when the above mentioned condition is met,
    I want the delay vi to execute along with my data acquistion vi. At
    present, when the delay vi executes, everything (data acquisition, peak
    detetction, plotting etc) in the program pauses. I guess its correct
    functionality of wait vi but it does not suit my need.
    Does someone have any alternate for pausing (delay/timer) a
    particular condition loop without affecting the other parts of my
    program? Specifically, only the conditional loop delays for a certain time while other features like data acquisition, peak
    detetction, plotting etc excute normally.
    Message Edited by Neuropotential on 02-22-2010 12:47 PM
    Message Edited by Neuropotential on 02-22-2010 12:48 PM
    Solved!
    Go to Solution.

    Yes. This is exactly what I was looking for. But, there is a issue. In practise, i will not be looking at 10 sec delay but a very small number like 50 ms. With this approach, when I set a value of 50ms, my program stops after close to 90-93ms (After 50ms, there is a AND gate, when true stops the program; Refer to the attachement).
    There are multiple reasons which I see. First is obvious I am using a windows xp with lot of other stuff going on simutaneously. Also. elapsed time vi is an "express vi". Do you think this can be one of the primary reason for such a delay? Finally, I intend to use this program on RT based machine.
    Do  you see it working exactly as expected on those machines or do I have to modify my code? Please guide me. 
    Also, how to I mark your post as answer and other good things. 
    Thanks 
    Attachments:
    Image.JPG ‏60 KB

  • Which of the following are true about abstract methods in EJB 2.0

    Hi guys I'm beginner to EJB and i got some unanswered questions.
    Can any one of you please.. give answers?
    Thanks if you do...
    Which of the following are true about abstract methods in EJB 2.0
    CMP?
    Choose all correct answers:
    1. Abstract accessor methods should not be exposed in the EJB
    component's interface
    2.Abstract accessor/mutator methods are used to access and modify
    persistent state and relationship information for entity objects
    3.Abstract Accessor/Mutator methods do not throw exceptions
    4.The EJB developer must implement the Accessor/Mutator methods
    5.Abstract accessor methods may or may not be exposed in the EJB
    component's interface
    2.Which ONE of the following is true?
    Choose the best answer:
    1.Local interfaces cannot have a relationship with other Entity
    components
    2.Local interfaces cannot be used for Stateless Session EJB
    3.Local interfaces can be a part of Object's persistent state
    4.Local interfaces have the same functionality as that of a
    stateless Session EJB
    3.Which of the following describe the <cmr-field> in a EJB 2.0
    descriptor?
    Choose all correct answers:
    1.A Local interface/Entity can be a value of a <cmr-field>
    2.There is no <cmr-field> in EJB 2.0 descriptor
    3.It is used to represent one meaningful association between any
    pair of Entity EJBs, based on the business logic of the Application
    4.It provides a particular mapping from an object model to a
    relational database schema
    5.It allows the Local Entity interfaces to participate in
    relationships
    4.Which of the following are the advantages of using Local interfaces
    instead of dependent value classes?
    Choose all correct answers:
    1.Local Entity Interfaces can participate in Relationships
    2.The life cycle of Local Entity Interfaces is managed by EJB
    container, intelligently
    3.Local Entity Interfaces can be used in EJB QL Queries
    4.Local Entity Interfaces can be a part of the <cmp-field> but not
    <cmr-field>
    5.Which of the following are true about Local interfaces
    1.A local interface must be located in the same JVM to which the EJB
    component is deployed
    2.Local calls involve pass-by-reference.
    3.The objects that are passed as parameters in local interface
    method calls must be serializable.
    4.In general, the references that are passed across the local
    interface cannot be used outside of the immediate call chain and must
    never be stored as part of the state of another enterprise bean.
    6.Which of the following specifies the correct way for a client
    to access a Message driven Bean?
    Choose the best answer:
    1. via a Remote interface
    2. via Home interface
    3. Message driven bean can be accessed directly by the client
    4. both 1 & 2
    5. none of the above
    ------------------------------------------------------------------------7.Which of the following statements are true about message-driven
    bean Clients?
    ------------------------------------------------------------------------Choose all correct answers:
    They can create Queue and QueueConnectionFactory objects
    They can create Topic and TopicConnectionFactory objects
    They can lookup the JNDI server and obtain the references for
    Queue and Topic and their connection Factories
    Only 1 and 2 above

    Hi guys I'm beginner to EJB and i got some unanswered
    questions.
    Can any one of you please.. give answers?
    Thanks if you do...
    Which of the following are true about abstract methods
    in EJB 2.0
    CMP?
    Choose all correct answers:
    1. Abstract accessor methods should not be exposed
    d in the EJB
    component's interfacefalse
    2.Abstract accessor/mutator methods are used to
    access and modify
    persistent state and relationship information for
    entity objectstrue
    >
    3.Abstract Accessor/Mutator methods do not throw
    exceptionstrue
    >
    4.The EJB developer must implement the
    Accessor/Mutator methodsfalse
    5.Abstract accessor methods may or may not be exposed
    in the EJB
    component's interfacetrue
    2.Which ONE of the following is true?
    Choose the best answer:
    1.Local interfaces cannot have a relationship with
    other Entity
    componentsfalse
    2.Local interfaces cannot be used for Stateless
    Session EJBfalse
    3.Local interfaces can be a part of Object's
    persistent statefalse
    4.Local interfaces have the same functionality as
    that of a
    stateless Session EJBtrue
    3.Which of the following describe the <cmr-field> in a
    EJB 2.0
    descriptor?
    Choose all correct answers:
    1.A Local interface/Entity can be a value of a
    <cmr-field>true
    2.There is no <cmr-field> in EJB 2.0 descriptorfalse
    3.It is used to represent one meaningful association
    between any
    pair of Entity EJBs, based on the business logic of
    the Applicationtrue
    4.It provides a particular mapping from an object
    model to a
    relational database schematrue
    5.It allows the Local Entity interfaces to
    participate in
    relationshipstrue
    4.Which of the following are the advantages of using
    Local interfaces
    instead of dependent value classes?
    Choose all correct answers:
    1.Local Entity Interfaces can participate in
    Relationshipsis
    2.The life cycle of Local Entity Interfaces is
    managed by EJB
    container, intelligentlyis
    3.Local Entity Interfaces can be used in EJB QL
    Queriesnot
    4.Local Entity Interfaces can be a part of the
    <cmp-field> but not
    <cmr-field>not
    >
    >
    5.Which of the following are true about Local
    interfaces
    1.A local interface must be located in the same JVM
    M to which the EJB
    component is deployedtrue
    2.Local calls involve pass-by-reference.true
    3.The objects that are passed as parameters in local
    l interface
    method calls must be serializable.false
    4.In general, the references that are passed across
    s the local
    interface cannot be used outside of the immediate
    e call chain and must
    never be stored as part of the state of another
    r enterprise bean.true
    >
    6.Which of the following specifies the correct way for
    a client
    to access a Message driven Bean?
    Choose the best answer:
    1. via a Remote interfacefalse
    2. via Home interfacefalse
    3. Message driven bean can be accessed directly by
    the clientfalse
    4. both 1 & 2false
    5. none of the abovetrue.
    >
    ----------------7.Which of the following statements
    are true about message-driven
    bean Clients?
    ----------------Choose all correct answers:
    They can create Queue and QueueConnectionFactory
    objectsthe container can, dunno bout clients
    >
    They can create Topic and TopicConnectionFactory
    objectsthe container can, dunno bout clients
    >
    They can lookup the JNDI server and obtain the
    references for
    Queue and Topic and their connection Factories
    true
    Only 1 and 2 abovefalse
    somebody correct me if i'm wrong

Maybe you are looking for