Membership in a collection

Does Kodo already support the collection membership equivalent of SQL
"IN"? It's Example 14.7.6 in the Query chapter of the final JDO 1.0
spec.

Does Kodo already support the collection membership equivalent of SQL
"IN"? It's Example 14.7.6 in the Query chapter of the final JDO 1.0
spec.Unfortunately, no. I've logged a bug for it:
https://bugzilla.solarmetric.com/show_bug.cgi?id=363
In the meantime, our query extensions allow you to create IN clauses.

Similar Messages

  • OU based Device Collection Membership not updated frequently

    Hi,
    I have create  one OU based device Collection and  checked Used incremental updates for this collection  under Membership rules but whenever any Computer object moved form this OU to another OU than such Device is not removed
    from same OU based Device Collection... the Collection membership change is not happening properly even after i did update membership of that OU based device collection..
    My requirement is whenever any Computer object added or removed in/from any OU in AD than  the membership of corresponding OU based device collection should up updated within 5-10 minutes  how i can do this .
    To achieve this I done below configuration but its membership of the collection not updated... please guide..
    Shailendra Dev

    To add to Jorgen, note, there is going to be more to it than just AD discovery.
    What exactly does your query look like?
    Exactly how often is both your Hardware inventory and Heartbeat discovery set to? Do you have SW inventory enabled?
    Just to get thing out there IMO the requirement updated within 5-10 minutes is nuts.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • SCCM collection report for software NOT on a workstation

    One of the default reports in SCCM generates a report on the number of software titles in a collection using 2 prompts(Collections, Software Title)
    SELECT DisplayName0, Count(ProdID0) AS 'Green', Publisher0, Version0, @CollID as CollectionID
    FROM v_Add_Remove_Programs arp
    JOIN v_FullCollectionMembership fcm on arp.ResourceID=fcm.ResourceID
    WHERE ((Publisher0 = @softwarename) OR (DisplayName0 = @softwarename) )
    and fcm.CollectionID=@CollID
    GROUP BY DisplayName0, Publisher0, Version0 
    ORDER BY Publisher0, Version0
    The following lists all collections with the total membership.
    SELECT @CollID.Name, v_Collection.Comment,v_Collection.CollectionID, COUNT(*) as [Members] FROM v_Collection,v_FullCollectionMembership
    where v_Collection.CollectionID=v_FullCollectionMembership.CollectionID 
    group by v_Collection.Name ,v_Collection.Comment,v_Collection.CollectionID 
    order by v_Collection.Name
    How can we get the total membership from the collection prompt in the top statemenent and subtract the "Count(ProdID0)" to get the number of computers without the software title?

    i dont understand your question completely.why do you want to subtract the count(prodID) from total membership of collection ? you know that ,count(prodID) and count membership(collection) are two complete different things and they are not related at all.
    can you please be more specific ,what you are trying to achieve ? 
    Eswar Koneti | Configmgr blog:
    www.eskonr.com | Linkedin: Eswar Koneti
    | Twitter: Eskonr

  • SCCM hangs when trying to browse collections

    Hi there,
    On a fairly new SCCM 2007 install, SCCM crashes (just quits and goes to the desktop) when I try to do the following:
    1) Right-click on a computer in "All Systems" and choose Manage Collection Membership-->Add to Collection
    2) The Add to Collection window appears. It's blank...The hourglass appears. After about 30 seconds, SCCM quits and goes to the desktop. No error message pops up.
    3) Event viewer reports "Error event ID:1000. Source. .NET Runtime 2.0 Error. Faulting application mmc.exe version 5.2.3790.3959, stamp 45d6a11d, faulting module kernel32.dll, version 5.2.3790.4480, stamp 49c51f0a, debug? 0, fault address 0x0000bef7.
    So based on the error message I'm assuming there is some issue with .Net but unsure where to go from here. Anyone else see this and have any suggestions? I'm still researching...
    Thanks in advance,
    Sir_Timbit

    Are you using remote console or console on SCCM server?
    Try to go through the below troubleshooting steps?
    Troubleshooting Configuration Manager Console Issues
    Provides information to help you troubleshoot issues related to the Configuration Manager console.
    How to Enable Verbose Logging for the Console
    Describes how to enable verbose logging for the Configuration Manager 2007 console.
    How to Verify Namespace and Server Connectivity
    Describes how to verify namespace connectivity.
    How to Verify WMI Permissions
    Describes how to verify WMI permissions.
    Anoop C Nair - Twitter @anoopmannur
    MY BLOG:
     http://anoopmannur.wordpress.com
    SCCM Professionals
    This posting is provided AS-IS with no warranties/guarantees and confers no rights.

  • SCCM 2012: Child collections with Maintenance Windows

    Hello
    after searching and reading many posts about maintenance window, I've realised, I have to ask my own question:
    Assume a parent software update collection and an ADR, deployed on it. Every one of the child collections (included by Membership rule: include collections) has an own Maintenance Window.
    Question: what exactly happens on the Dead Line, configured in ADR?
    I suppose, the selected updates will be deployed to the child collections, but download, installation and reboot will occure only during the configured Maintenance Window on the child collection. The software updates will be listed in Software Center of
    the server, which is member of this collection, the status will be "past due - will be installed" or somethig of this kind, the download status will be shown as 0%.
    Am I right?
    Questions Background: we have a large infrastructure with more than 1500 servers, devided in 11 pools (software update collections) with 11 different maintenance windows. So, I will create only one ADR, which will be deployed to the parent software
    update collection, or "wrapper collection". I hpe, the configured maintenace windows of the child collections will remain active.
    Thanks for your feedback.
    Kind regards: P. trifonov

    Yes you are right. the SU will get installed at the next available MW, no matter which collection that MW belongs too.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • Exported Collections Don't Contain What They Claim To Have

    I ran across some interesting behavior the other day when looking at the memberships of some collections I imported from another SCCM site. We exported some collections from a SCCM 2012 SP1 site to a new, SCCM 2012 R2 site. All the Direct assignments and
    queries were correct but the collections did don't contain the correct machine names at all. If I recreated them again and pasted the same queries into the new ones, they were perfect.
    I'm guessing that the imported collections were pointing to clients as GUIDS maybe? I love the idea of exporting collections but now I'm recreating everything all over again to ensure my new site is correct.
    Has anyone run into this behavior before?
    Orange County District Attorney

    Thanks for the note back. Upon further checking, the problems are just with collections that have Direct Memberships. The query-based collections are fine.
    Thanks for the clarification.
    Orange County District Attorney

  • What collection(S) is a photo a member of?

    Is there anyway to determine the membership any given photo may have in what could be multiple collection memberships throughout a catalog? ... and... membership in published collections?

    Indeed - regular collections only. - I don't think there is a way to do smart collections, short of outlandish means I mean...

  • SCCM Policies and SCEP Deployment Issues

    I'm having several issues with SCCM 2012 R2.
    I have inherited an existing SCCM 2012 R2 installation.  The company does not want me to rebuild it from the ground using best practices, so I'm doing what I can with it.
    Issue #1: SCEP does not auto deploy to new systems;
    Issue #2: Client policies do not update;
    Issue #3: Anti-malware policies do not update.
    Starting out, I guess I need to look at issue #2 before I look at the others.
    The client is auto-deploying as far as I can tell.  I do not have any GPO’s that push the software to the clients, so it appears that the system wide deployment of the client is working correctly.
    As for the policies not being updated, I have created a new policy that is assigned to newly defined device collections. 
    I have check the membership of the collections and it is populating/selecting the assets correctly. 
    I have picked a handful of computers out of the collection to use for information gathering. 
    Looking at the log files, it shows that it is applying policies, but it does not identify which policy from the SCCM server.
    With the new policies that I’ve created, I’ve enabled ‘Endpoint Proection’, ‘Hardware Inventory’, ‘Power Management’, ‘Remote Tools’, ‘Software Deployment’, ‘Software Metering’, and ‘User and Device Affinity’. 
    After 13 days, the options within the policy have not taken effect as I have check the clients and the settings from the ‘Remote Tools’ and ‘Power Management’ haven’t been applied. I waited this long since several of the settings were set at 7 days before
    re-evaluation.
    I’m not sure where to go next on this issue.
    On the issue #1 & 3, the computers that did get the initial config push and SCEP install, before I came on, are operating and reporting back to the SCCM manager that they are in a managed state, which is fine, but they are not applying any newly defined
    policies.  Checking the logs on the clients show that they are applying the Default Client Settings and not any of the other policies that are set to deploy to All systems or any other collection I’ve defined. 
    Also checking the anti-malware policy logs on the clients, they are also still applying the Default Client Antimalware Policy, not any of the custom policies, just like the SCCM client issue.  In the EndpointProtectionAgent.log, i have several lines
    showing "Deployment WMI is NOT ready."  The same is in several of the other log files, so I've check that all the WMI services are running and I have tested management with the PoshCat utility and all of the commands are working in there and
    the output reports all seem to be reporting correctly.
    Any pointers or starting points would be greatly appreciated.

    For the 'Client Settings', I have 4 listed.  Default Client Settings, EP Settings (existing that I have set to deploy to a group that only has 1 computer left in it), Server Policy, and Workstation Policy (applies to all clients that have 'workstation'
    in the version name).
    For SCEP, just 2.  Default Client  and Custom SCEP.
    The inventory and software distribution... let's look at the inventory function.  I have nothing showing in '\Assets and compliance\Overview\Asset Intelligence\Inventoried Software'.
    As for software distribution, I am not sure how to check that -- I haven't set up any deployed software packages yet... but the SCEP and Windows Updates are the only things showing up.  SCEP is not deploying to any new workstations, but it appears all
    the Windows Updates are deploying correctly to all the workstations.
    I just checked the SrcUpdateMgr.log on a client and I've found several lines of 'Instance of CCM_SourceUpdateClientConfig doesn't exist in WMI'
    Checking the SoftwareCatalogUpdateEndpoint.log file, I have several lines that just repeat...
    Software catalog update endpoint is starting
    Logo event received
    Logon user SID: [...]
    Retrieving URL for software Catalog
    Software Catalog update endpoint is loading
    Received notification for client agent setting or portal information change
    Retrieving URL for Softwware Catalog
    Making call to determin whether catalog Url should be added to the trusted sites zone
    Updating the registry for Software Catalog for user '[...]'
    Notification system applicaton: C:\Windows\CCM\UpdateTrustedSites.exe
    Started UpdateTrustedSites process
    Making call to determine whether keys to enable Silverlight elevated trust should be added
    Enable elevated trust is set to false. Setting the keys to 0
    CSoftwareCatalogUpdateHandler::UpdateSilverlightRegistry: Successfully set elevated trust on this client for Silverlight
    CSoftwareCatalogUpdateHandler::UpdateSilverlightRegistry: Successfully set elevated trust on this client for Silverlight
    CSoftwareCatalogUpdateHandler::UpdateSilverlightRegistry: Successfully set elevated trust on this client for Silverlight
    Received notification for client agent setting or portal information change
    and it does show the Silverlight lines 3 times each time in the repeats. The repeat time stamp looks like it happens alternating 20 minutes, then 2 hours, then 20 minutes, then 2 hours, etc.
    KW

  • In Lr 3.6 how can I search for filenames ending with a # character ?

    The text search seems to treat the # character in some mysterious way so as to not select the files that have it in their name. I cannot find any explanation for this in the documentation. Is there some other character(s) that I have to put beside the # to make it register as a normal character ?
    My specific problem is that I need to locate a bunch of files in my catalog that have names ending with a # character. I want to rename those files in a way that removes the trailing # but not other # characters that separate key parts of the file names. If I can't do that then I want to select that group of files and produce .xmp files for them (I don't normally use .xmp files) so that I can rename the files outside Lr and import them again complete with all previous tweaks and metadata.
    I dare say that I would not choose to name files this way if I started again but I've got far too many to change now. 
    There are also too many for me to want to rename them individually in the Metadata panel if I can avoid it.
    I'm using Lr 3.6 on Mac OSX 10.6.8
    cheers,
    - Alan

    You guys beat me to the answer, which I discovered more by accident than good management.
    Firstly, I had used the # characters because they looked good in list views such as in Windows Explorer or the Mac Finder. That was from before I got into using Lr and I was trying and using several different programs to manage my photos. Then I found that trailing # characters prevented Lr from recognizing the number at the "end" of the file name and so I wanted to delete them.
    Secondly, I got into the Lr rename facility initially to replace what I did with Downloader Pro before switching from Windows to Mac and subsequently found that there is no way to delete a trailing character, but it helped establish in my mind that to Lr the "filename" was just the first part of the name before the full stop and the extension (e.g. .cr2 or .nef or .jpg). Try it - there is a "filename" token for setting up a naming structure that ignores the extension and its full stop.
    This was further reinforced in Library Grid View where the filename and the extension are separated and the extension is not displayed.
    So having used F2 (rename) before I got around to playing with the text search I was set up for failure. Looking for {filename ends with #} or {filename ends with #.} failed because it found nothing as none of my files had a # or #. after the filename extension, and looking for {filename contains #} also failed because it found all of my files instead of just those with the trailing #. I wrongly thought that Lr had trouble seeing a # in the text search.
    Now I have been able to find and select all files with a trailing # in the base part of the filename by looking for {filename contains #.} and generate current .xmp files for them. Then I went outside Lr and used a utility file renamer to get rid of the offending # for the image files and the .xmp files in bulk. Then I re-synchronized the folder(s) in Lr to import those renamed files back into Lr along with all of the metadata, and get rid of the old files from the catalog. Had those files been a part of a collection or stack then I suspect that membership of the collection or stack would have been lost but it kept the keywords, ratings, labels, and image tweaks. Then I got rid of the .xmp files again because I prefer to work without them (less clutter and less chance of other software separating them from the image files).
    So much easier than doing it the hard way
    Thanks for your help.
    - Alan

  • Active Directory Group Discovery not picking up Workstation OSs

    We don't use the default 'workstation' container in AD. We have a OU called:i.e. 'contoso workstations'. Within 'contoso workstations are other OUs by location: i.e.: 'Bangalore'; 'Harare'; 'Bangkok': and 'Djibouti'. AD Group discovery dumps everything
    into All Systems with no logical organization of locations. We need those location folders so we can throttle client deployment. How do I get Discovery to pick up OU 'locations' and populate those locations with workstations?  

    Are you talking about AD site? If so, that's collected by system discovery and heartbeat discovery.  Thus, if you aren't using System Discovery, you'll have to wait until heartbeat discovery reports in for the client. Based on this info you can create
    appropriate query based membership rules for collections that have you manually created. However, this is a bit of chicken and the egg if you want to use it for client agent installation since heartbeat discovery is only reported by client agents themselves.
    Thus, you should either enabled AD System Discovery or choose an alternate deployment method like a startup script.
    Jason | http://blog.configmgrftw.com

  • Orphaned Applications in software center

    I have seen this a few times but seems to be intermittent.  I created a query based user collection.  My test user account was part of that collection.  I deployed an app to the collection.  The user was able to see it in the app catalog
    and install it successfully.  The user then uninstalled the app successfully.  The app stills shows in Software Center as available (which appears to be normal although I wish the behavior would be that it would disappear).  But that's not the
    issue.  So I no longer wanted the user to be able to deploy this application that they previously installed and uninstalled.  Since it is a query based collection which the user should be in, I added an exclude collection that just had the user account
    in it  which seemed to work fine.  The exclusion collection caused my test user account to drop out of the collection.  After a few minutes, the app dropped out of the app catalog which is good and what I expected.  The problem here is
    that the app still remains in Software Center and shows as available and the user can still continue to install and uninstall this app.  I have forced user policy several times with no change and let it sit for a few hours with still no change.  As
    a test I then removed all membership from the collection so that it was completely empty.  Still no change.  I then deleted the collection and the deployment and still no change.  I have also forced machine policy and application deployment
    evaluation cycles and still no change. I have ensured that there are no other deployments of this app, it is not a dependent app of any other app either.  So I am left with an app that I can still install/uninstall from software center with no existing
    deployments of that app.  Other times I have done similar and the app does disappear from Software Center after updating user policy.  But definitely once or twice in the past I have seen this behavior as well.  In the past I believe I removed
    and re-installed the configmgr client to get rid of the orphaned apps.  I have not done that yet this time in the hopes of troubleshooting further.  Has anyone ran into anything like this? 

    Thanks, but I am the person that originally posted that issue.  This issue is similar but much worse.  That one was just a nuisance in that the apps remain available in software center after you have performed an uninstall.  But to workaround
    that problem I would have to somehow get the user out of the collection that was targeted with the deployment and that usually got the app to drop out of software center.  In this case however, the app remains even after deleting the collection and the
    deployment.  So this app is no longer deployed to anyone but the user with the app orphaned in software center can still install and uninstall it.  I even cleared the cache on the user machine thinking that would at least cause it to fail to install
    next time but the user was able to re-download content and install again.  So to me this one is much more serious than the first one.  I will have to file another case.  But curious if anyone else has seen this and for now if anyone has a workaround
    like perhaps finding the policy and deleting it or something that I can script.  Just started poking through policy spy but have not gotten far yet.

  • 10% Bonus not applied

    I traded in some games today and I did not receive the 10% bonus for GCU.  I asked the employee doing the trade before it was finalized if the 10% had been applied and I was assured that it was.  However, when I got home and looked over the receipt I noticed that I had not received the 10% bonus so I think that there might be something wrong with my account.  Please help!

    Hi twick87,
    Sorry to hear your Gamers' Club Unlocked bonuses might not have been applied to your recent trade! As long as your My Best Buy membership information was collected during the transaction, then the 10% trade-in bonus should have applied automatically.
    I've sent you some information, so please make sure to check your private messages when you can. To check your PMs, simply sign into the forum and then click on the letter icon in the upper right-hand corner of the page.
    Aaron|Social Media Specialist | Best Buy® Corporate
     Private Message

  • Quick question on KEYWORD Search

    Hello,
    Any idea how does a Keyword Search works ..Could not find any good documentation .
    I have an issue with customer where they are doing a key word search on 3 words and not pulling the data since all the 3 words are not matched.If we try to do a search with 2 matching words it pulls up the data.
    Its in iRecruitment Vacancy search feature which uses Oracle text.
    How to do Keyword search with multiple words for an AND and OR Condition.
    Appreciate your help.
    Thanks,
    Gopi

    From Technet:
    Role-based administration does not support an explicit deny action on security roles, security scopes, or collections assigned to an administrative
    user. Instead, configure security roles, security scopes, and collections to grant permissions to administrative users. If users do not have permissions to objects by use of these role-based administration elements, they might have only partial access to some
    objects, for example they might be able to view, but not modify specific objects. However, you can use collection membership to exclude collections from a collection that is assigned to an administrative user.
    Cheers
    Paul | sccmentor.wordpress.com

  • Orchestrator and SCCM 2012 integration: run task sequence and install assigned applications/packages?

    Dear,
    We do not have Orchestrator running in our SCCM 2012 R2 environment. Though I wonder if we could accomplish the following scenario with it:
    Task sequence Windows 7 => Orchestrator step which queries assigned installations to the computer object and installs them one by one.
    Could you advise?
    Kind regards,
    Stev.
    SteveWonB

    > > Define "assigned to computer objects". How is this done technically?
    Well, computer objects are members of collections via AD memberships, like the collection "W7-Google-Chrome" (exists of 100 computer objects).
    Deploy of packages is done to these collections. So a computer member of  "W7-Google-Chrome"  will automatically get Google Chrome.
    Some computers are member of 30 collections, some of 80.
    Goal is to have the task sequence run all applications/packages assigned (with their reboots if needed).
    Kind regards,
    Steven
    SteveWonB

  • Ports Configuration - SCCM 2012

    I am working in a server environment and we have SCCM 2012 setup recently. Looks like we have all the ports opened in one direction (SCCM clients - SCCM server), we do not have any ports opened in the opposite direction(SCCM server - SCCM clients). Because
    of this I am unable to communicate any new updates (Example - a new Maintenance Window created for a collection), I have to create a Maintenance Window 3 days before the patching time so that clients pull the update from SCCM else I have to end up running
    ACTIONS on each server manually in case of emergency.
    I am unable to use the feature "Client Notification - Download User Policy and Download Machine Policy" as 10123 and 80 (fallback port) both are blocked.
    I am asked to put in an ACL request by my manager on the ports I need to get opened from SCCM server to client servers. Do i just need 10123 and 80? Or am I missing anything? 
    Your help is appreciated. Thanks!

    If it works for you great but all existing computers within the collection that has the new MW, will see any new MW at their next poll cycle.
    All new computers to that collection, will see that MW when the collection refreshes and they become “members” of that collection.
    By the sound of it you are removing all computes from the collection and therefore they are losing the membership to that collection, then you adding them back to the collection
    and therefore they will see that there are members at the next Collection refresh cycle and therefore see the MW shortly after that.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

Maybe you are looking for

  • I have SSD on my computer.

    I am told by the hd that 120GB are used. I addad up all my files and come to 50GB. On the disc analisis, I have a long yellow bar refering to 50 GB, but I can not locate it. Does anyone know why there is a ghost file of 50GB?

  • Calendar events issue Outlook for Mac: Failure to update or send notification for meetigns

    We are seeing an issues with Outlook for Mac 2011 and calendar events. These events are in the past and Outlook will randomly post errors about the event stating that it has failed to make changes, please contact the original creator. Additionally, s

  • Dynamic Table Selection in Forms?

    Hi, In form creation the options available are, 1. Selecting schema name(only one) 2. Selecting table name(only one). My requirement is we are having same table in many schemas. We need to create a form on this table but user should be given with a l

  • Number masking

    Hi, I am using Oracle 10 g. I have a column of credit card numbers and i wanted the numbers to be masked. I want the first 6 numbers to be remain as it is along with last 4 numbers . The data between first 6 digit and last 4 digit should be replaced

  • Rejected material sent back to Sub-contractor.

    Friends, Scenario. Finished Goods : X Components: X1 and X2 Received X from subcontractor After assembly. 101 Mvt for X 543 Mvt for X1 and X2 X is recived in Quality stock and put them in blocked stock and later rejected and sent back to Subcontracti