ContainsAnyFilter, ContainsFilter appears not to work.

We have a requirement to be able to determine if an object in the cache has one of a particular id in a list of ids that the stored object exposes as a property. Unfortunately, using the ContainsAnyFilter or the ContainsFilter always produces an empty result set. This is from a .Net client.
We have an object in our cache that exposes a property that is an array of integers. We have a requirement to query the cache and return the objects that have a particular integer in that array. Having read [http://wiki.tangosol.com/display/COH35UG/Query+the+Cache|http://wiki.tangosol.com/display/COH35UG/Query+the+Cache], paricularly the section "Queries Involving Multi-Value Attributes", we tried the following:
The java object implements PortableObject and has the following properties (among others):
public void setObjectIds(int[] objectIds) {
     this.objectIds = objectIds;
public int[] getObjectIds() {
     return objectIds;
public void setCreated(Date created) {
     this.created = created;
public Date getCreated() {
     return created;
There is a corresponding .Net object implemented.I have no problem getting results from a query against the Created property as follows:
ICacheEntry[] cacheEntries = cache.GetEntries(new GreaterFilter("getCreated", dateTime));However, the following always returns an empty array:
ICacheEntry[] cacheEntries = cache.GetEntries(new ContainsFilter("getObjectIds", id));If the objects are returned manually using their key, the ObjectIds property does indeed return an array of the integers specified so the objects are getting stored and retrieved correctly.
Is this the correct way to query this sort of code? Do we need to add an index to do this (I was under the impression that was not necessary as they are hints rather than requirements)? We are on 3.5.1.
Thanks.

Hi Andrew,
I'm just going to take a wild guess on this one...
Would you be able to test with your java type having an Integer array rather than the primitive type array?
ie.
public void setObjectIds(Integer[] objectIds) {
     this.objectIds = objectIds;
public Integer[] getObjectIds() {
     return objectIds;
}

Similar Messages

  • Since "upgrading" to OS X Lion Outlook 2011 sync services appear not to work and I have no contacts in Address Book apart from me!  Any ideas please?

    Sync Services in Outlook 2011 appear not to work in OS X Lion as I have no contacts in Address Book apart from me!  Any ideas please?

    I had all my contacts deleted one day from muy address book.   The Apple folks said that at times when MS Office sends an update it moves all your contacts from the address book to Outlook contacts.  I had to get into Time Machine to restore my contacts in the address book. 
    If you do this, be sure to update each group, not just the all contacts group because pulling up all contacts will not restore the contacts to the groups you had.
    If you sync with Moble Me, be careful to replace what is on Mobile Me with what is on your comptuer after you are finished restoring the contacts to your satisfaction.
    I haven't switched to iCloud yet so I can't talk about syncing to it.
    Jay

  • Exporting Metadata in V3.4.5 appears NOT to work

    What I want to do is export selected metadata, or perhaps a metadata view, for selected images to a CSV file, or to a spreadsheet file for further analysis. No matter what I try I cannot get anything remotely useful. Here is what I get when selecting one image and choosing File -> Export -> Metadata:
    Version Name
    Title
    Urgency
    Categories
    Suppl. Categories
    Keywords
    Instructions
    Date Created
    Contact Creator
    Contact Job Title
    City
    State/Province
    Country
    Job Identifier
    Headline
    Provider
    Source
    Copyright Notice
    Caption
    Caption Writer
    Rating
    IPTC Subject Code
    Usage Terms
    Intellectual Genre
    IPTC Scene
    Location
    ISO Country Code
    Contact Address
    Contact City
    Contact State/Providence
    Contact Postal Code
    Contact Country
    Contact Phone
    Contact Email
    Contact Website
    Label
    Latitude
    Longitude
    Altitude
    AltitudeRef
    _DSC2529
    0
    This is not useful. It contains data items I don't want and doesn't contain data items I actually want, such as lens used, shutter speed, focal length.
    Has this ever worked? Is it broken in this version of Aperture only?
    What am I missing?

    Sorry to say, but that is how it has always been.
    You can annote printed contact sheets with selected matadata from your predefined views, but if you want textfiles  of selected metadata, you will have to write a script or an Automator workflow to extract the data.  For example, I posted an automator workflow here, that extracts some metadata fields and writes them to a textfile for printing. If you know how to program a bit, you could adapt this to your needs:
    Export EXIF Info to Printer or PDF?

  • User in a windows group - mapping to acs group appears not be working

    I have a user in a windows group, this windows group is mapped to an ACS group but when the user logs in it appears as default group in ACS.
    Any suggestion?

    Hello, I recently implemented this very thing, actually integrated it with Authentication Proxy. Here are some settings to check:
    1. External User Databases - Database Configuration - Windows Database - Configure
    Make sure your domain is listed on moved to the Domain List section
    2. External User Databases - Database Group Mappings - Windows Database - - Add Manual Mapping
    Make sure you have the right AD group mapped to the internal ACS group, you can even set users* if you want to include all users.
    3. External User Databses - Unknown User Policy
    Check the "Check the following external user databases" radio dial and move Windows Database to Selected Databases
    Check “The database in which the user profile is held” radio dial in the Configure Enable Password Behaviour section
    Hope that helps!

  • Cannot get bank verification window to work, smae fine in safari and cannot submit feed back as script appears not to work.

    e.g topping up friends mobile phone on orange.co.uk. Everything fine until bank card verification window appears. Enter details and return and scrip sends me back to start of transaction. No problem usinf Safari. I tried to send feedback but no reaction on hitting submit button. Happened on similar sites with version 4 but 3.5 no problem.

    Apple has barred Java from running on Macs, leaving companies that rely on Java plug-ins out in the cold.
    Apple blocked Java 7 Update 11 by adding it to the banned list in XProtect.
    This is the second time in two weeks that Apple has blocked Oracle's code from running on Macs. This time Java is blocked through Apple's XProtect anti-malware feature.
    Java has come under fire as the means by which hackers have been able to gain control of computers. In April 2012 more than 600,000 Macs were reported to have been infected with a Flashback Trojan horse that was being installed on people's computers with the help of Java exploits. Then in August Macs were again at risk due to a flaw in Java, this time around, there was good news for Mac users: Thanks to changes Apple has made, most of us were safe from the threat.
    Unwilling to leave its customers open to potential threats Apple has apparently decided it's safer to block Java entirely.
    Macs running OS X Snow Leopard and beyond are affected.

  • My iMessage does not appear to be working. Every time I go to reply to an existing message it just appears as normal text. I have tried to create a new message but it still just defaults to normal messages. I have checked my settings but looks ok. Help?

    My iMessage does not appear to be working. Every time I go to reply to an existing message it just appears as normal text. I have tried to create a new message but it still just defaults to normal messages. I have checked my settings but it is all set up as it should be. Is there anything I've missed or could try? Thanks

    Try the following:
    In Finder, select the problematic volume and then press command-I.
    Expand the Sharing & permissions section if it's collapsed.
    If the section is locked, then unlock it by pressing the padlock button and then authenticating as directed.
    Tick/check Ignore ownership on this volume.

  • HT4053 How do I delete photos, the delete button does not appear to be working?

    I have downloaded all my photos to my new IPad. I need to delete some I do not want, how do I do it. The delete button does not appear to be working?

    I personally don't know of any other software that does syncing, however, you can use another cloud service like Dropbox or Flikr to house your photos, add and delete them and have them available for viewing on any device or comuter that has an internet connection.
    I'm not sure why you would be having trouble not getting photos that you put into your Photo Stream Uploads folder on your iPad. Photo Stream is Photo Stream. Also, just so you know, photo management and Photo Stream have nothing to do with iTunes. Photo management on the computer is done through your photos folder and app (on a Mac, it's iPhoto). You only use iTunes to tell the sync process which items to retrieve and sync from that library. Photo Stream is completely independent of iTunes altogether.
    If you want to get photos from a camera to your iPad without having to use a computer, get a camera connection kit which will allow you to physically hook the camera to the iPad, and to directly download the photos from the camera to the iPad.
    You would still want to also hook the camera up to the computer to back those photos up to your photo library on your computer.
    Also you might want to look into purchasing (for under $5) iPhoto for your iPad:
    https://itunes.apple.com/us/app/iphoto/id497786065?mt=8
    Seems like you might benefit from talking to your local Apple Store about when they might have some sessions for learning photo management and sharing between your device and computer, because what you appear to be wanting to do is all do-able. I guess I'm just missing what your issue is. You can many things with photos on your iPad, however, your device will never be a substitue for your computer for backing up and managing your photos.
    So, best of luck, I hope one of the suggestions above will help you to achieve what you are trying to do.
    Cheers,
    GB

  • I have loaded new software and iMessages does not appear to be working.  All messages appear as in delivered but they will send to the same address on my iPhone.

    I messages does not appear to be working on iPad every time I type a message it comes up as in delivered but I can type the same message on my iPhone and it works straight away

    MMS is a carrier issue... contact Verizon and ensure your account is provisioned correctly.  I would think that someone would be intelligent enough to do that before buying a new device, but......
    iMessage could be an activation issue or a network issue.
    Have you tried Settings > General > Reset > Reset Network Settings?
    Does iMessage work consistently on Wi-Fi?

  • Work items not appearing in NWBC work overview

    Hi,
    I am using NWBC work overview to execute work items (EHSM3.0 - Incident management).
    I have a custom workflow with one custom task (of type Standard). When the workflow gets triggered I can see the work item for my custom task in R/3 inbox (which we access using Tx SBWP). But the same work item is not appearing in NWBC work overview.
    When I replaced my custom task with standard task TS00500003 in the workflow, it did appear in NWBC work overview.
    I added an entry in table IBO_C_WF_TAS for my custom task with following details but it did not resolve my issue.
    Application ID: EHHSS_INBOX
    Task ID: <custom_task_no>
    Default Action: INCIDENTEDIT
    Is there any other setting/config I need to do in order to view work items (for custom tasks) in NWBC work overview?

    Hi,
    This is a job of portal consultant to launch SAP GUI for portal UWL workitems  also similar to SAP SBWP.
    Your portal consultant will be the best guy to answer.
    Regards,
    Ibrahim

  • Video will not play on BBC site error message this content does not appear to be working .Help

    I have bbc news as home page after i updated to firefox 10 if i try to play embedded video i get the eror message [this content does not appear to be working] Help

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, or by corruption of certain system caches. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled on some models, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and  Wi-Fi on certain models. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • My disc drive on my imac does not appear to be working. It takes the disc in but then spits it out without reading it. I have thought about purchasing an external disc drive, can someone advise me please?

    My disc drive on my imac does not appear to be working. It takes the disc in but then spits it out without reading it. I have thought about purchasing an external disc drive, can someone advise me please?

    Try the following:
    In Finder, select the problematic volume and then press command-I.
    Expand the Sharing & permissions section if it's collapsed.
    If the section is locked, then unlock it by pressing the padlock button and then authenticating as directed.
    Tick/check Ignore ownership on this volume.

  • Autofill in Google Toolbar does not appear to be working with Firefox 4 - Aways saying Autofill not available for this page even on pages I have used it before FF4 upgrade

    Autofill in Google Toolbar does not appear to be working with Firefox 4 - It aways gives the message "Autofill not available for this page". This is happening on pages I have used Autofill on before upgrading to FF4 from Firefox 3.5.x

    i did not see a solution posted - I tired what I read. Going back to an old version may solve the problem but it is a stupid solution so I have yet to do that.
    I am on version 4 and autofil this does not work :
    Popular answer Go to this answer
    Uninstall version 5, then Google "google toolbar version 4", follow the link to FileHippo.com, and download and install the last version 4. When you reinstall it, make sure you turn off the option to perform automatic updates.
    6 of 7 people found this answer helpful. Did you? Sign in to vote. Report abuse

  • My on/off button does not appear to be working on my iphone 3.....is there any way around this....anyway around this?...the phone also periodically just switches off.

    my on/off button does not appear to be working on my iphone 3.....is there any way around this....anyway around this?...the phone also periodically just switches off.

    Likely a hardware issue... no way around that except to get it repaired or don't use it (the button).
    Try restoring to solve the switching off problem.

  • Click wheel does not appear to be working

    My click wheel does not appear to be working. I can however, press "menu" & the center button at the same time to reset it. Any suggestions on how to get it working again?

    Have you tried doing a RESTORE on the iPod when plugged in and showing up in iTunes?
    Patrick

  • My microphone does not appear to be working, people can not hear me on Skype.

    My microphone does not appear to be working, people can not hear me on Skype.  TIA

    I have the same problem..-_-

Maybe you are looking for

  • How i can fix "Wiki setting error" and "Running time error" ?

    I've found this message when using server app on Mountain lion. and this error data. Can i fixed this? Thanks guys!

  • Help defining a complexType in schema

    Hi I am hoping someone can help me out. I have a number of attributes in an xml file which contain different structures based on whether it has a single of multiple value. As an example, one of these elements refers to optical filters. If it is singl

  • How to find ok code for save

    HI ALL, I am working on MM01 Tcode .  In recording I got all ok codes except save button . can any one help me how to see the ok code for save button...I think some command is there to find. Thanks in advance.

  • Read server name

    Hi Is there any java code to read the server name? i need the server name in my mapping. by server name i want to know if its triggered from dev, qual or prod. by knowing this based on the server i have to  insert a condition accordingly. Or can it b

  • Creative Audigy 2 ZS Firewire, and Multiple Speaker Questi

    Hi I currently own a Audigy 2 ZS. I understand that it has a Firewire port on the back. I have a Firewire port on my case. If i wanted to plug the Firewire on the front of my case into the Audigy, how would I go about doing that? Is it possible? I al