Query works everywhere but Flex: inline views not supported perhaps?
EDIT2: Actually not. It turns out to be a bug in the way Adobe is treating any integer PK column, no matter how it is defined, INT, or INTEGER, as an alias for the rowid in SQlite. This is incorrect. rowid does not always equal the PK value. This causes joins to return the wrong values.
EDIT: turns out to be the use of the absolute value function in the query.
See http://forums.adobe.com/thread/516392
My bread-and-butter query, the one that is the core of my application, uses a UNION query with inline views when doing proximity word-searches. It works beautifully in SQLite returning a resultset in about one second from an over 300MB database, against several tables equijoined, the two biggest tables having close to 4 million rows and 300,000 rows, respectively.
It runs fine in Visual Studio using the .NET provider for SQLite, and also in SQLite Manager 0.5.6 by Mrinal Kant and in other front-ends to SQLite. But the verbatim query returns no rows in Flex and zero rows in the SQLite Admin GUI front-end, which is built on the Flex SQL libraries.
My first thought is that inline views might not be supported in Flex?
Does Flex do what in the Microsoft world is called a "pass-through" query, sending the sql intact through to the back end, or does Flex take the query statement apart and apply the WHERE clause conditions client-side, as Microsoft Access does to support so-called "heterogeneous" joins, i.e. queries that might join tables from, say, SQL Server and Oracle in the same query?
EDIT2: Actually not. It turns out to be a bug in the way Adobe is treating any integer PK column, no matter how it is defined, INT, or INTEGER, as an alias for the rowid in SQlite. This is incorrect. rowid does not always equal the PK value. This causes joins to return the wrong values.
EDIT: turns out to be the use of the absolute value function in the query.
See http://forums.adobe.com/thread/516392
My bread-and-butter query, the one that is the core of my application, uses a UNION query with inline views when doing proximity word-searches. It works beautifully in SQLite returning a resultset in about one second from an over 300MB database, against several tables equijoined, the two biggest tables having close to 4 million rows and 300,000 rows, respectively.
It runs fine in Visual Studio using the .NET provider for SQLite, and also in SQLite Manager 0.5.6 by Mrinal Kant and in other front-ends to SQLite. But the verbatim query returns no rows in Flex and zero rows in the SQLite Admin GUI front-end, which is built on the Flex SQL libraries.
My first thought is that inline views might not be supported in Flex?
Does Flex do what in the Microsoft world is called a "pass-through" query, sending the sql intact through to the back end, or does Flex take the query statement apart and apply the WHERE clause conditions client-side, as Microsoft Access does to support so-called "heterogeneous" joins, i.e. queries that might join tables from, say, SQL Server and Oracle in the same query?
Similar Messages
-
I have just recently installed ios6 to my iPad 3 an iPhone 4 my iPhone works fine but my iPad is not working at all I can not get a response from it, it seemed to download an then install but did not reset and turn on and will not turn on HELP!! Withdrawal or what!! Lol
Hi there,
Firstly, try a hard reset. Hold the sleep/wake and home buttons together until the Apple logo appears.
If this doesn't work, try restoring your device. Put it in recovery mode if iTunes doesn't recognise it, and restore it from there. I have linked to instructions below.
Recovery Mode and Restore - Apple
Let me know if this helps,
Nathan -
Back in Dec I updated to the new version of Itunes. Since then, I can no longer sync my IPHONE. I have an IPOD that works fine, but the phone is not found on Itunes. I am abled to download pictures to my computer, but I can not sync my music. What can I do?
Click here and install the software.
(71121) -
Just connected apple tv. Everything works perfectly but the screen is not in color. I have tried reversing the HDMI cable and changing the output in settings and restarting. The screen is still black and white. Any ideas of how to fix this?
Hi im,
Thanks for using Apple Support Communities. This article has a few troubleshooting ideas for issues with color on your TV when using Apple TV:
Apple TV (2nd and 3rd generation): Troubleshooting video issues
http://support.apple.com/kb/TS5148
Cheers,
- Ari -
I have purchased new iphone 3gs, its usb cable and charger not working.When I plugged in usb cable to my laptop it says"usb power hub exceeded". When I use another cable I have, it works fine.But the original one not working.Any help?
Are you connecting your iPhone directly to your PC or to a USB hub?
-
How can put photo comment in Facebook in safari or other browser, am using ipad 4 and this was working perfectly but unfortunately it's not working now..the attach photo feature is there but can't attach, please help me in this
How can put photo comment in Facebook in safari or other browser, am using ipad 4 and this was working perfectly but unfortunately it's not working now..the attach photo feature is there but can't attach, please help me in this
-
I have iPhone 4 which i bought from Bahrain and it was working there just fine. However, now I'm in India but my phone is not supporting any SIM. What can I do please suggest guys? Thanks in advance
Sounds like your iPhone is locked to the wireless carrier you used
in Bahrain. Contact that wireless carrier to see if they offer unlocking
and if you qualify. Only the carrier to which the iPhone is locked
can unlock it.
What does it say when you look at Settings=>General=>Carrier?
Remember that the warranty is not international. You will have to
return the iPhone to Bahrain for repair/replacement if it needs service. -
Cant highlight books epub or pdf in Ibooks. It worked yeaterday but now it will not highlight???? Mac Book Pro retina
thanksHi slacker361,
Welcome to the Support Communities!
The article below may be able to help you with this. If you have been highlighting text like this successfully, then the first thing I would suggest is to quit the iBooks application and restart your computer.
iBooks for Mac: Highlight passages and make notes
http://support.apple.com/kb/PH14765
Cheers,
- Judy -
Flash Builder 4: "Flex 2 is not supported; use Flex 3.0.0 or higher "
In our project we have to maintain an application developed in Flex 2, but we have licensed Flash Builder 4, which is now available for Adobe only. When we tried to configure Flash Builder 4 with Flex 2 SDK we get the following error: "Flex 2 is not supported; use Flex 3.0.0 or higher "
What should we do to work with Flex 2 in Flash Builder 4?
Thanks for the helpIn our project we have to maintain an application developed in Flex 2, but we have licensed Flash Builder 4, which is now available for Adobe only. When we tried to configure Flash Builder 4 with Flex 2 SDK we get the following error: "Flex 2 is not supported; use Flex 3.0.0 or higher "
What should we do to work with Flex 2 in Flash Builder 4?
Thanks for the help -
ICloud on iOS 6 beta 3 "your apple ID is valid but your device is not supported"
When I try to sign into iCloud I get your apple is valid but your device is not supported? Why I personally don't know how to fix this. And icloud worked fine before the update
You need to ask on the iOS 6 beta confidential developer forum.
-
Hello all, I have been trying to update my BIOS because I beleive that it is affecting my gaming experience (I cannot start certain games up) and from researching through the web I beleive this is the problem. I havce tried to find a new BIOS update on the download page but my OS is not supported for the downloads provided. I think it may be because my computer is an old model ( HP Workstation xw6200). I hope anyone could help by letting me know if i can get a download for a new BIOS version. I am currently using Windows 7, thanks.
Hello calmax,
Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
I understand you are looking to upgrade the BIO on your HP Workstation xw6200. I am sorry, but to get your issue more exposure, I would suggest posting it in the commercial forums, since this is a commercial product. You can do this at Workstations - z series, xw series, and legacy x and w series.
I hope this helps. Thank you for posting on the HP Forums. Have a great day!
Please click the "Thumbs Up" on the bottom right of this post to say thank you if you appreciate the support I provide!
Also be sure to mark my post as “Accept as Solution" if you feel my post solved your issue, it will help others who face the same challenge find the same solution.
Dunidar
I work on behalf of HP
Find out a bit more about me by checking out my profile!
"Customers don’t expect you to be perfect. They do expect you to fix things when they go wrong." ~ Donald Porter -
After installing OS5.1 my video out cable stopped working. Message says it iis not supported! Any fixes. I re booted but didn't help.
Tried cleaning the connector with electronics spray and then spray air but didn't help. I get no audio or video, just the message that the accessory is not supported.
-
Hi,
I purchased Huawei Dongle and trying to connect with my new MacBook Pro (OS- Mountain Lion) USB port 3.0 but unfortunately it does not support.
When I plugged in my macbook the power is flowing in dongle due green light blinking twice in every 3 sec but no connection found or diver shown.
Please let me know how I have to use it. I got some suggestion for USB hub 2.0 but It does not make any sense and driver installation.
So please suggest proper direction to use it and provide link to install any driver.
Thanks
Tauheed AhmadYes Clinton I did same, but they were (Huawei customer support) surprised about this problem, They behave like they have no idea about USB 2.0 and 3.0 knowledge. They handsUp that reason I posted my problem in this forum.
So is there any better solution to use any mediator between these USB version handling, Please let me know.
Thanks
Tauheed -
The selected Flex SDK does not support building mobile projects
I am unable to create a new Actionscript Mobile project. The new project dialogue gives the error: "The selected Flex SDK does not support building mobile projects." I tried seting the default Flec SDK both to the SDK included with Flash Builder 4.7, and also to a version of the 4.6.0 SDK (build 23201) with AIR 3.3 SDK overlayed on it, which already existed on my computer. Both resulted in the same error. Any ideas?
Hi ,
Actionscript Mobile projects use AIR SDK by default in Flash Builder 4.7 . Flex SDK won't be used for Actionscript projects.
Could you please try creating an Actionscript project in fresh workspace and let me know if the issue still exists.
Also attach screenshot and error log if any.
Thanks,
Sanjay -
Have loaded lion and now can't access office for mac or apple works as it says it does not support power pc applications, how can I acces them or better still reinstate them please?
MS-Office for Mac versions 2004 and older do not run in Lion since these are PPC-apps for which Apple has dropped support.
Free alternatives to open Word and Excel files:
NeoOffice http://www.neooffice.org/neojava/en/index.php
OpenOffice http://www.openoffice.org/
Or get the 2011 MS-Office
Maybe you are looking for
-
HT202213 sharing multiple iTunes accounts on Apple TV
I have purchased an Apple TV. I have signed it onto my iTunes account. My wife has a seperate iTunes account. My account is tied to my work computer. I have an iPad that I use at home. My account settings work well, but my wife's Mac will not sy
-
Error when trying to install OEM Grid Control 10.2.0.2 win32
Hi I'm trying to install Oracle Enterprise Manager Grid Control release 2 for windows server 2003 32 bits, but the installation could not be completed. I got the following error when OMS Configuration step is running. SEVERE: OUI-25031:Some of the co
-
"Fullscreen" parameter doesn't work when streaming from .qtl metafile.
The Mac QT player functions properly with the following code, but the Windows QT player zooms in on the video instead of sizing it properly to fill the screen. Here's an example of my .qtl file: <?xml version="1.0"?> <?quicktime type="application/x-q
-
My purchased movies changed to Spanish. How do I fix this?
When I went to play a movie stored in my cloud, it is in Spanish. It never was before. How does this happen. It's not all my movies, so it's not in my device settings.
-
How to limit the number of cores offered as Xgrid Agents?
I want to limit the number of cores offered to the controller from my quad core MacPro. Does anybody know how to do it? Is it possible? Thanks Mac PRO Mac OS X (10.4.10)