Using OQL I am unable to return longblob field from my MySQL DB. The same thing happens in code as well as using your OQL query browser.
If use this statement
SELECT p.licenseFile FROM LicenseExtent AS p WHERE p.licenseID = 1
I get this error:line 1:10: Field "licenseFile " is not a reference or simple type. {licenseFile ["licenseFile ",<42>,line=1,col=10]}
SELECT p.~~~licenseFile FROM LicenseExtent AS p WHERE p.licenseID = 1
If I do this
SELECT * FROM LicenseExtent AS p WHERE p.licenseID = 1
Then the data is returned without error but of course I get extra columns I don't want. Interesting thing is that for this statement the sql generated string is
SELECT `licenseID ` AS COL1 FROM `license` WHERE `licenseID ` = 1
but the result window does show the licensefile column.
The same thing happens on any table when I just try to retrieve the one column of type longblob.
Is this a bug or am I missing something?
Thanks