Hi,

Thanks for your fast answer.
I expected such replay after analysing OQL syntax, but I wanted to make sure.
Are there any plans to add support for bitwise operators to OQL ?

All the best,
Tomek

Werner Guttmann wrote:

Tomasz,

Afaik, bit-wise operators are not supported with Castor as it stands.
You could, of course, try to use CALL SQL statements and use the
functions provided by the database you are using.

Werner
-----Original Message-----
From: Tomasz Piontek [mailto:[EMAIL PROTECTED] Sent: Dienstag, 22. November 2005 13:24
To: [email protected]
Subject: [castor-user] castor OQL vs bitwise operators

Hi,

I just wondering if castor-OQL supports bitwise operators (AND, OR, etc).

In my application statuses are coded on bits and I'm interested in answer if it is possible to make similar query: select status from repository where status & 12 != 0; Simplifying the problem, the query should return statuses with values 4 and 8.

If OQL doesn't support such functionality my next question is if there is any workaround to achieve the same.

All the best,
Tomek


-------------------------------------------------
If you wish to unsubscribe from this list, please send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------




-------------------------------------------------
If you wish to unsubscribe from this list, please send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------





--
***********************************************************
*   Tomasz Piontek               [EMAIL PROTECTED]    *
*   Research Programmer                                   *
*   Poznan Supercomputing and Networking Center           *
*   tel.(+48 61) 858-21-72       fax.(+48 61) 858-21-51   *
***********************************************************


-------------------------------------------------
If you wish to unsubscribe from this list, please send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to