Members of a given Log_in

Experts,
I have a log_in in SQL server called 'x'. I do not know who are the members of that specific log in. I know that under that log in there must be more than one windows account. I am feeling that the Active directory manager (Sys Admin) must have created a
group window account as 'X'.
Do I have to ask the Sys Admin a list of the members of 'x'?
In other words, is it possible that we can have more than one windows accounts put as windows account 'X' and then windows account 'X' having a log in in SQL server?
Thanks in Advance
ebro

Yes. You can add a AD group to SQL Server login , Any member(Windows account) of that AD group will be able login to SQL Server and
use associated database 
-Prashanth

Similar Messages

  • Report script command to get all Level 0 members of a given member

    Hi,
    Is there any Report script command to get all Level 0 members of a given member (Parent)? (very similar to @RELATIVE (mbrName, 0) in Calc Scripts).
    <DIMBOTTOM gives all the level 0 members in the dimension.
    There is a command called
    <LEAVES mbrName
    This works only for ASO.
    Is there anything similar for BSO?
    Appreciate your thoughts.
    Thanks,
    Ethan.
    Edited by: user11397030 on Dec 15, 2009 11:50 AM
    Edited by: user11397030 on Dec 15, 2009 11:51 AM

    from my blog on report scripts at
    http://glennschwartzbergs-essbase-blog.blogspot.com/2008_07_01_archive.html
    Third, there is a command to stay away from, its DimBottom. [edited] Like @CURRMBR in calc scripts, DimBottom is one of those commands that is very slow. If you use Query designer to create a report, it uses a better way. It uses the link command. In sample.basic to get all level 0 products it uses
    <Link ((<LEV("Product", 0)) AND ( <DESC("Product")))

  • How to select TopN members on a given level?

    Background:
    "Products_dim" has two level,"Product" and "Category".
    Target:
    Select Products holding biggest Cost_measure Value on
    "Product" level.
    Code:
    select distinct PROD_id
    FROM TABLE(
    OLAP_TABLE(
    'SCOTT.SALES_AWS DURATION QUERY',
    'middle_table',
    'call TOPN_PRG',
    'MEASURE COST FROM SALES_AWS!cost_measure
    DIMENSION customers_dim WITH
    HIERARCHY customers_dim_parentrel
    DIMension prod_id FROM sim_products_dim WITH
    HIERARCHY sim_products_dim_parentrel
    the context of prgram 'TOPN_PRG' is:
    limit products_dim to products_dim_levelrel 'PRODUCT'
    limit products_dim to top 4 basedon COST_MEASURE
    Return Result:
    CATEGPRY.1
    CATEGORY.2
    PRODUCT.2
    PRODUCT.4
    My Desire results:
    PRODUCT.2
    PRODUCT.4
    PRODUCT.8
    PRODUCT.12
    somebody can tell me how to achive it?

    I haven't read through this extensively, but think you need just a simple tweak in your program:
    limit products_dim to products_dim_levelrel 'PRODUCT'
    limit products_dim KEEP top 4 basedon COST_MEASURE
    Basically, first you pick all products at the PRODUCT level, and then of those you keep the top 4.
    if you say "to" in the 2nd limit, then it ignores anything in status and starts over from scratch.
    Hope this helps,
    Scott

  • My AD users are randomly losing access to wikis that they are members of and were previously able to login to.

    I have had a more or less successful AD/OD integrated setup for a couple of years (currently running SL Server 10.6.8) which I implemented in order to use Podcast Producer and Apple Wikis.  Recently and for no apparent reason, I have had users lose access to wikis they are members of, even though they are still listed as members of the given wiki.  While over the last couple of years I would periodically get a user whose account would not work with a wiki, this was always immediatly apparent; I've never had an instance where the AD account worked for a period of time and then spontaneously stopped working. Meanwhile, other AD users who are members of the same wiki are still able to access it successfully.  In all cases, users are still able to successfully login to "My Pages", though the wiki they are a member of is no longer visible.  Using the URL for thei wiki simply results in a "you do not have permission to access this wiki" message.  I have already run "dsmemberutil flushcache" which has on occasion restored access for users in the past; however, that is not rectifying this particular issue at this time. Any suggestions as to how I might troubleshoot this?

    Two things that I would immediately check:
    1. Run Disk Utility's Repair for each of the server's volumes. One or more of your server volumes that houses a share point may have filesystem damage that needs to be fixed. This may be the result of an underlying hardware failure of one or more of its disks.
    2. Examine your network configuration. You may have a network cable that's wired incorrectly somewhere on your subnet. I've actually seen this sort of thing cause random disconnections. Mac OS X Server is pretty particular about having a clean network! Check your switches, routers, and gateways for errors or simply reboot them.
    A look in the system.log file using Server Admin or Console on the server may provide clues as to what happened at the disconnection time.
    --Gerrit

  • SQL Query for members of dynamic group - Need to include Name, Path and Type

    Hello,
    I built a custom dynamic group that has all my SQL databases in it using SCOM 2012 SP1.  The group works fine as I can see the Name(ie, Database name), Health State, Path (ie, hostname/instance) and Types (ie; SQL 2005).  Now I'm trying to
    build a custom report based off this same information using a SQL query.   I'm no DBA and could use some help.  So far this is what i have
    use
    select
    SourceObjectDisplayName as
    'Group Name',
    TargetObjectDisplayName,TargetObjectPath
    from RelationshipGenericView
    where isDeleted=0
    AND SourceObjectDisplayName
    like
    'SQL_Databases_All'
    ORDERBY TargetObjectDisplayName
    This gets me the Group Name (which i really don't care about), database name, and hostname/instance. What I am missing is the Health State and most importantly the Type (ie, SQL Server 2005 DB, SQL Server 2008DB).
    If someone could assist me here I would appreciate it. I believe I need to do some type of INNER JOIN but have no idea where the SQL type info lives or the proper structure to use. Thanks
    OperationsManager

    Here's the updated Query for OpsMan 2012 R2:
    To find all members of a given group (change the group name below):
    select SourceObjectDisplayName as 'Group Name', TargetObjectDisplayName as 'Group Members' 
    from RelationshipGenericView 
    where isDeleted=0 
    AND SourceObjectDisplayName = 'Agent Managed Computer
    Group' 
    ORDER BY TargetObjectDisplayName

  • Multiple shared members in ASO outline

    <BR>I am building an outline with one primary and three alternate hierarchies within one of the dimensions of an Aggregate Storage (ASO) cube. All of the leaf members in each of the alternate hierarchies are shared members of a member in the primary hierarchy. The non-shared member is a leaf in some cases and a summary point in others. All hierarchies are stored. <BR><BR>When I try to save the outline, I get a long list of verification errors. For the stored members to which the shared members refer, Essbase is complaining that "This member has multiple copies of same shared member in at least one stored hierarchy. See other messages for which members and which hierarchies." For the shared members, Essbase complains that "Aggregate storage outlines only allow a shared member once in a stored hierarchy." For the alternate hierarchies, Essbase complains that "This stored hierarchy has multiple copies of same shared member. Remove extra member or change hierarchy to be dynamic."<BR><BR>However, I did a find on a handful of the members that Essbase was complaining about and in all cases have found only one instance of each shared member in each alternate hierarchy. The same shared member might appear in two or more alternate hierarchies, but I have not found a case where it appears more than once in the same hierarchy.<BR><BR>I have also ensure the following:<BR><UL>The primary hierarchy occurs first in the outline, so non-shared members always appear before any instances of any of the shared members.</UL><BR><UL>There are no shared members in the primary hierarchy.</UL><BR><UL>All members, non-shared and shared, are in the same dimension.</UL><BR><UL>Non of the stored hierarchies contain both a non-shared instance and a shared instance of the same member.</UL><BR><BR>I have tried making the alternate hierarchies dynamic, but query retrievals are so slow that they're completely unacceptable to the client.<BR><BR>Has anyone encountered a similar problem? Is there a solution to this?<BR>

    I heard back from Hyperion Tech Support again. Turns out it's not a defect after all. It's actually a subtle technicality in the restrictions on shared members with ASO. The first restriction, which is explained in the outline verification error message, is that you can only have one instance of a shared member within a given stored alternate hierarchy. The second restriction is that you cannot have any shared members within a given stored alternate hierarchy where the non-shared instances of the members are ancestors/descendants of each other. Unfortunately, when this restriction is violated, EAS gives the same error message as it does for the first restriction, so it's a bit harder to debug.<BR><BR>Hope this saves someone some grief.<BR>-Silvester

  • Select UDA Members

    I am working in Excel and trying to populate a treeview on a form with the members of a given dimension. Using GetMemberInfo that all works well. Now my question is I would like to be able to include or exclude certain members from the treeview based on UDA's attached to the members. How do I go about reading the UDA's associated with a given member? Ultimately my goal is to write a sub that works similar to GetMemberInfo, but that accept one of more UDA's to filter the output by.

    I assume that it is possible that you might add new members during the budget process which is why you are seeking to find a solution that would take care of that.<BR><BR>If it is the case that members won't change, then why not just pull down the members by UDA using the Excel Add In into a worksheet, and then structure them so that they can be used in a Treeview control.<BR><BR>I know its a bit clunky, but that was what I did before I got my interactive dimension display model to work properly.<BR><BR>It saved me much time, and also meant that people could work on it offline (such as at home or in a different office).<BR><BR>Just a thought that may allow you time to go back when things are quieter to look at it again.<BR><BR>If, however you have to do it now because things might change, then I think the only thing you could do would be to:<BR><BR>Allocate a range in a worksheet that can be hidden/unhidden<BR><BR>At the start of the process you would need to clear it<BR><BR>Then use your method to get the dimension members, and use the GetUserAttributes to see if you want to write it to the range or not. <BR><BR>Then you could run the Treeview from the range.<BR><BR>The downside is that you won't know when to refresh it or not. If it is very quick to do, then it won't matter, but if it takes a while you might need to ask the user if they want to refresh their data.<BR><BR>Sorry but my Excel is corrupted tonight, otherwise I would have had a go at producing something to check out the timings of it.<BR><BR>I would be interested to see your solution.<BR>

  • How do I create a group calendar?

    Hi All,
    It is still unclear to me on a fresh 10.6 install how to create a group calendar (using only the Apple server administration utilities) such that all members of a given OpenLDAP group can also subscribe to and share the same calendar if they are members of that group.
    As best I can tell, there does not appear to be anything about this in the documentation. I thought this was something that was going to be supported via the server-admin tools in 10.6 without resorting to the command line.
    Maybe I'm just not seeing something obvious in the tools or documentation?

    farmer tan wrote:
    you need to go to the wiki page and add the wiki's there and then in the setting of the wiki is where you set permissions and services such as calendar, blog, and podcast you can also set all permissions for the wiki in the settings tab
    fyi none of my groups were available unless i logged into the wiki as the Directory Admin not Server Admin
    migrated from 10.5.7 to 10.6
    Message was edited by: farmer tan
    Could you be more specific farmer tan, please?
    You said "you need to go to the wiki page and add the wiki's there...." What is the "wiki page" you mention? Is that some place I go to via the browser or the Server Admin tool?
    I went to http://ical.mysite.com/ical/ and logged in as the Directory Administrator but didn't see anything resembling what you described.
    Thanks in advance for any help you can provide.

  • Module pool F4-Help problem for a field in custom Infotype(HR).

    Dear Gurus,
    I have created a custom Infotype and fields are like
    P9015-NAM01.
    P9015-NAM02.
    P9015-NAM03.
    all are fields for name.
    I want F4 help for these fields with values same as  Family Members-First name  given in 21 Infotype .
    for all 3 fields same f4 help values.
    But when i see in the screen for first field the values are populating as selected but for second field the selected value is not picking..
    DATA: BEGIN OF it_val1 OCCURS 7,
        nam01 LIKE p9015-nam01,
        rel01 LIKE p9015-rel01,
       END OF it_val1.
      SELECT *  FROM t591s INTO TABLE it_t591s WHERE
         sprsl = 'EN' AND
         infty = '0021'.
    *SUBTY
    *STEXT
      SELECT * FROM pa0021 INTO wa_21 WHERE pernr = p9015-pernr .
        READ TABLE it_t591s WITH KEY subty = wa_21-famsa.
        it_val1-rel01 = it_t591s-stext.
       CONCATENATE wa_21-favor wa_21-fanam INTO it_val-nname SEPARATED BY space.
        it_val1-nam01 = wa_21-favor.
        APPEND it_val1.
        CLEAR : it_val1, it_t591s.
      ENDSELECT.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
        DDIC_STRUCTURE         = ' '
          retfield               = 'NAM01'
        PVALKEY                = ' '
         dynpprog               = sy-cprog
         dynpnr                 = sy-dynnr
        dynprofield            = 'P9015-NAM01'
        STEPL                  = 0
        WINDOW_TITLE           =
        VALUE                  = ' '
         value_org              = 'S'
         multiple_choice        = ' '
         display                = 'F'
        CALLBACK_PROGRAM       = ' '
        CALLBACK_FORM          = ' '
        MARK_TAB               =
      IMPORTING
        USER_RESET             =
        TABLES
          value_tab              = it_val1[]
         field_tab              = t_fields[]
         return_tab             = t_return[]
         DYNPFLD_MAPPING        = t_DYNPFLD_MAPPING
      EXCEPTIONS
        PARAMETER_ERROR        = 1
        NO_VALUES_FOUND        = 2
        OTHERS                 = 3
    In the same way i am calling for P9015-NAM02. & P9015-NAM03.
    Is there any wrong in calling this FM...kindly help.....

    Write the FM inside,
    at selection-screen on value-request for <nam1>.
    It seems that you are calling the funtion module for only first field. Repeat it for other two fields also-
    at selection-screen on value-request for <nam2>
    call FM.
    at selection-screen on value-request for <nam3>
    call FM.
    Sumit

  • Error in RunLogicAgainstSelection:Subscript out of range

    Dear experts,
    I'm writing a cross application *RUNALLOCATION from application InvCost.
    While validating the logic I ot this error saying
    "error in RunLogicAgainstSelection: Subscript out of range" and here's the code
    *RUNALLOCATION
    *FACTOR=1/TOTAL
    *APP               WHAT=FINANCE;          WHERE=INVCOST;          TOTAL=<<<
    *DIM TIME          WHAT=%TIME_SET%;     WHERE=<<<;          TOTAL=<<<
    *DIM DATASRC          WHAT=TEMP;          WHERE=INPUT;          TOTAL=INPUT
    *DIM LOB          WHAT=00000;          WHERE=;               TOTAL=
    *DIM COSTCENTER          WHAT=122;          WHERE=;               TOTAL=
    *DIM MACCT          WHAT=5601;          WHERE=;               TOTAL=
    *DIM FACTORY          WHAT=0000F;          WHERE=[L_f]="7";     TOTAL=EACH([L_f]="7")
    *DIM INTFAC          WHAT=;               WHERE=NONINTFAC;     TOTAL=EACH(BASE(ALLINTFAC))
    *DIM INVACCT          WHAT=;               WHERE=FUC_L;          TOTAL=FFACTOR
    *DIM PARNO          WHAT=;               WHERE=NONPARTNO;     TOTAL=EACH([INVTYPE]="L")
    *DIM SACCT          WHAT=00;          WHERE=;               TOTAL=
    *DIM CATEGORY          WHAT=ACTUAL;          WHERE=<<<;          TOTAL=<<<
    *DIM RPTCURRENCY     WHAT=LC;          WHERE=<<<;          TOTAL=<<<
    *ENDALLOCATION
    From WHAT there's only one value and devid by TOTAL then put into all base members of WHERE.
    Factory part is a little tricky cause I'm not sure if it'll give me only base members for the given condition.
    Any helpful comments are welcome. Thanks a million...
    ,Jim Hsu

    Hi Jim,
    I think you need to use the "USING" clause, as in this simple example. This is where you define the allocation driver.
    *RUN_ALLOCATION
    *FACTOR USING/TOTAL
    *DIM Product What=NoProduct; Where=[ProductLevel]="5"; USING=<<<; TOTAL=<<<
    *DIM Account What=MarketingExpense; Where=<<<; Using=Revenue; Total=<<<
    *ENDALLOCATION

  • Shared Mailbox folders missing in Outlook Cached Mode

    Since I got no responses to my
    original post in section, "Exchange Server 2013 - Sharing and Collaboration: Site Mailboxes and Public Folders" I'll give it a try here...
    We have Exchange 2013 Server (Version 15.0 - Build 913.22).  I have a shared mailbox for our support team, "Support Center".  This mailbox is configured as a "SharedMailbox".  Our team members have been given Full Access
    either by the Admin Web Interface or by "Add-MailboxPermission -User user1 -AccessRights FullAccess".  
    I am seeing this issue using Outlook 2013 Pro plus that manually created subfolders either in the root of the mailbox or folders under the Inbox are not visible.  These folders are just for organization, like "Work Order Entered" and are not
    like contact folders or any other special folders. 
    We determined if the Outlook client is configured for "Online Mode"/non-cached the folders appear and are accessible, but if your enabled Cached exchange mode the folders disappear and are no longer accessible.  I have cahnged the cache slider
    to go all the way right to say cache everything, not just the last so many days, but this did not resolve the issue either.
    Upon further testing I have the same issue when I use Search-Mailbox with Targetmailbox and TargetFolder to my "Discovery Search Mailbox".  The folders is created and logs are made, but the folder does not show unless I am in exchange online
    mode and not cached. 
    HELP PLEASE!  This is very annoying and we need cached mode for the registry key to place sent mail in "SenderAndFrom" sent items.  It doesn't work in online mode.
    Find this post helpful? Does this post answer your question? Be sure to mark it appropriately to help others find answers to their searches.

    Hi CHase,
    shared mailboxes shouldnt be cached,only user mailboxes should.Reason for this is because it will download all info from shared mailbox and it can take some time.All company info will also be stored locally,so its security concern.
    You mention that you turn on cached mode,is this under user mailbox or additional mailbox as shown below?
    The one to left should be fine to cache all,but the one to the right only first check mark should be on.We have this configuratuon and senderandfrom registry works well.
    If you access OWA,then choose to open another mailbox,then choose the "support center" mailbox,do you see all folders?
    By granting full access doesnt give you send as permission,for this you will need to run this command:
    Get-Mailbox "[email protected]" | Add-ADPermission -User "[email protected]" -ExtendedRights "Send As"
    Please mark as helpful if you find my contribution useful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you. Thank you! Off2work

  • Conditional logic execution

    Hi folks,
    I'm pretty sure that, strictly speaking, this isn't possible, but I'm hoping someone has found a workaround.
    I want to run logic on a set of data ONLY if the dimension members used contain certain flags (for example, only run logic when the CATEGORY.ID property is "PLAN2").
    Sounds easy enough, but when the *WHEN / *IS statement hits a value that is TRUE, I want to trigger another script, rather than a simple *REC statement.
    Does anyone know a way to do this? We are using BPC MS version 7 sp7.
    Thanks,
    Jason

    You can try using the *TEST_WHEN command and also some *INCLUDE command for what you are trying to do:
    The instruction TEST_WHEN
    Sometimes it may happen that a condition could be tested only once, because such condition is not dependent on the records being scanned. For example one might want to test that in the selected set of members for a given dimension there is a specific keyword or that a certain cell of the cube has a specific value. Instead of applying the condition to the entire set or records to scan, the condition may be evaluated before the WHEN / ENDWHEN loop, with the following instruction:
    *TEST_WHEN( )
    The is a string that the logic engine will pass to VB script for evaluation. If the returned value is TRUE the subsequent WHEN / ENDWHEN loop will be processed. Otherwise the entire loop will be skipped.
    Example:
    // skip the loop if Budget is not among the passed categories
    *TEST_WHEN(instr("%CATEGORY_SET%","BUDGET")>0)
    *WHEN *
    //u2026..
    *ENDWHEN
    *GO
    // skip the loop if account FLAG is zero for a certain time,intco combination
    *TEST_WHEN(GET(ACCOUNT="FLAG",INTCO="NON_INTERCO",TIME="2004.JAN")<>0)
    *WHEN *
    //u2026..
    *ENDWHEN
    As shown in the above example, the instruction supports the use of the %_SET% keyword. It also supports the GET instruction, to retrieve a value from the recordset. When one or more GET instructions are used in the evaluation of the condition, it must be remembered that all required dimensions must be specified. The non specified dimensions will default to the values they have in the first record of the source record set. In other words, the user can only omit dimensions that do not vary in the recordset being scanned.
    Another syntax supported anywhere in this instruction is the FLD( ) keyword. Here is a valid example:
    *CALC_EACH_PERIOD                         // handle periods one by one
    *XDIM_MEMBERSET TIME=PRIOR, %TIME_SET%     // include prior period to selected dates
    // This will test that the evaluated period is not the prior period
    *TEST_WHEN(instr("%TIME_SET%","FLD(TIME.ID)")>0)
    *WHENu2026.
    The TEST_WHEN instruction is specific to the current GO section. If no GO section is specified, it is specific to the current COMMIT section.

  • How to get all active session id's

    hai,
    i am new to servlet. i am tring to find out all active session id's for security perpose.
    and also i want to deactive a perticular session using that session id.
    but i don't know how to do. please help me.
    thanks in advance.

    Well to me.. I wud like to write a Listener class implementing HttpSessionListener in the following way....
    import javax.servlet.http.HttpSession;
    import javax.servlet.http.HttpSessionListener;
    import javax.servlet.http.HttpSessionEvent;
    import java.util.HashMap;
    public class SessionHandler implements HttpSessionListener{
    public static HashMap<String,HttpSession> SessionsMap = new HashMap<String,HttpSession>();
    public void sessionCreated(HttpSessionEvent se) {
    SessionsMap.put(se.getSession().getId(),se.getSession());
    public void sessionDestroyed(HttpSessionEvent se) {
    SessionMap.remove(se.getSession().getId());
    public static invalidateSession(String SessionId){
    HttpSession session =  SessionsMap.get(SessionId);
    SessionMap.remove(SessionId);
    session.invalidate();
    }Note:I'm assuming tht you are running the code on Jdk/jre 1.5+
    However, i think its more of core way of implementing this specially usage of static members howevr @ the given situation can very well cater your resources.added to it you add ActivationListener depending on your requirement.
    Hope this might help :)
    REGARDS,
    RaHuL

  • EJB-QL with CMR relationship

    I have the following:-
    COUNTRY has 1-M relationship with its NCAs (members).
    I want to get all the Members for a given country, so can you please scan through the descriptors and let me know where I a missing something.
    ejb-jar.xml:
    COUNTRY:-
    <entity>
    <description>Entity Bean ( CMP )</description>
    <display-name>Country</display-name>
    <ejb-name>Country</ejb-name>
    <local-home>inspections.ejb.entity.CountryLocalHome</local-home>
    <local>inspections.ejb.entity.CountryLocal</local>
    <ejb-class>inspections.ejb.entity.CountryBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.Long</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <abstract-schema-name>Country</abstract-schema-name>
    <cmp-field>
    <field-name>pkCountry</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>ecdDn</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>active</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>countryCode</field-name>
    </cmp-field>
    <primkey-field>pkCountry</primkey-field>
    </entity>
    NCA:-
    <entity>
    <description>Entity Bean ( CMP )</description>
    <display-name>NCA</display-name>
    <ejb-name>NCA</ejb-name>
    <local-home>inspections.ejb.entity.NCALocalHome</local-home>
    <local>inspections.ejb.entity.NCALocal</local>
    <ejb-class>inspections.ejb.entity.NCABean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.Long</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <abstract-schema-name>NCA</abstract-schema-name>
    <cmp-field>
    <field-name>pkNca</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>ecdDn</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>active</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>cmrMemberState</field-name>
    </cmp-field>
    <primkey-field>pkNca</primkey-field>
    <query>
    <query-method>
    <method-name>findAll</method-name>
    <method-params/>
    </query-method>
    <ejb-ql>select object(o) from NCA o</ejb-ql>
    </query>
    <query>
    <description>This finds the NCA based on given country</description>
    <query-method>
    <method-name>findNCAByCountry</method-name>
    <method-params>
    <method-param>java.lang.Long</method-param>
    </method-params>
    </query-method>
    <ejb-ql>select object(o) from NCA o, IN (o.cmrMemberState) AS cmr where cmr.pkCountry = ?1</ejb-ql>
    </query>
    </entity>
    ================================================
    orion-ejb-jar.xml
    COUNTRY:-
    <entity-deployment name="Country" data-source="jdbc/DBCorporate" table="CORE.COUNTRY" copy-by-value="false" exclusive-write-access="false">
    <primkey-mapping>
    <cmp-field-mapping name="pkCountry" persistence-name="PK_COUNTRY" persistence-type="NUMBER(10)"/>
    </primkey-mapping>
    <cmp-field-mapping name="pkCountry" persistence-name="PK_COUNTRY" persistence-type="NUMBER(10)"/>
    <cmp-field-mapping name="ecdDn" persistence-name="ECD_DN" persistence-type="VARCHAR2(4000)"/>
    <cmp-field-mapping name="countryCode" persistence-name="COUNTRY_CODE" persistence-type="VARCHAR2(2)"/>
    <cmp-field-mapping name="NCA_cmrMemberState">
    <collection-mapping table="CORE.NCA">
    <primkey-mapping>
    <cmp-field-mapping>
    <entity-ref home="Country">
    <cmp-field-mapping name="cmrMemberState_pkMs" persistence-name="FK_COUNTRY" persistence-type="NUMBER(10)"/>
    </entity-ref>
    </cmp-field-mapping>
    </primkey-mapping>
    <value-mapping type="inspections.ejb.entity.NCALocal" immutable="true">
    <cmp-field-mapping>
    <entity-ref home="NCA">
    <cmp-field-mapping name="pkNca" persistence-name="PK_NCA" persistence-type="NUMBER(10)"/>
    </entity-ref>
    </cmp-field-mapping>
    </value-mapping>
    </collection-mapping>
    </cmp-field-mapping>
    <entity-deployment>
    NCA:-
    <entity-deployment name="NCA" data-source="jdbc/DBCorporate" table="CORE.NCA" copy-by-value="false" exclusive-write-access="false">
    <primkey-mapping>
    <cmp-field-mapping name="pkNca" persistence-name="PK_NCA" persistence-type="NUMBER(10)"/>
    </primkey-mapping>
    <cmp-field-mapping name="pkNca" persistence-name="PK_NCA" persistence-type="NUMBER(10)"/>
    <cmp-field-mapping name="ecdDn" persistence-name="ECD_DN" persistence-type="VARCHAR2(4000)"/>
    <cmp-field-mapping name="cmrMemberState" persistence-name="FK_COUNTRY">
    <entity-ref home="Country">
    <cmp-field-mapping persistence-name="FK_COUNTRY" persistence-type="NUMBER(10)"/>
    </entity-ref>
    <entity-deployment>
    ============================================================
    DEPLOY ERROR:-
    05/08/24 11:20:18 Auto-deploying - inspections-EJB.jar (No previous deployment found)...
    05/08/24 11:20:25 Encountered "IN ( o . cmrMemberState" at line 1, column 13.
    Was expecting one of:
    "AbstractSchemaName" ...
    "IN" "(" "IdentificationVar" "." "SingleValuedCmrField" ...
    "IN" "(" "IdentificationVar" "." "CollectionValuedCmrField" ...
    EJB QL statement : 'select object(o) from NCA o, IN (o.cmrMemberState) AS cmr where cmr.pkCountry = ?1'
    EJB QL method : public abstract java.util.Collection inspections.ejb.entity.NCALocalHome.findNCAByCountry(java.lang.Long) throws javax.ejb.FinderException

    OC4J used is 10g

  • What is a page dimension?

    What is a page dimension?
    What is POV dimension?

    A page filter holds filters of dimensions members for a given pivot table analysis.
    When analyzing multi-dimensional databases you're often reporting in pivot tables. Hyperion tends to use a Column, Row, Pages and POV pivot table layout.
    POV is a feature that filters the report like pages, but follows the user around as they open other reports.
    Brian Chow

Maybe you are looking for

  • HTTPS connection from emulator

    Hello friends, I want to send https request from emulator from my application.. when I am trying to send HTTPS request from emulator(wtk22's default emulator) it gives error javax.microedition.io.ConnectionNotFoundException: TCP open      at com.sun.

  • I need some help here please!

    i am working on a website thats going to be a friend loop such as facebook myspace classmate etc. im in the proccess of making the site now and i was wondering what i need to to to enable useres to be able to login and create a profile page on my sit

  • Price of Azure Cache in Role

    Hi,  I need to understand the price of Azure Cache in Role, in this link says:  For In-Role Cache do I need to provision and thus pay for separate Compute Services resources (i.e. web and worker roles)? No. In-Role Cache can be deployed as a service

  • Error during creating user with OracleMembershipProvider (ODAC 11.1.0.5)

    Hi. Perhaps there is a bug in DB part of OracleMembershipProvider (ODAC 11.1.0.5.10 beta): PL/SQL function ORA_ASPNET_MEM_CREATEUSER always raises exception ORA-01858, so Create User functionality doesnt work in any scenario.

  • When trying to watch videos on YouTube and other sites the video screen is completely green.

    When trying to watch videos on various websites including YouTube, the video screen is completely green. I can hear the audio, but no visual. This does not happen with every video, but it is fairly common for me. When I try to watch the same videos w