No object returned by OQL but exists in database

View: New views
2 Messages — Rating Filter:   Alert me  

No object returned by OQL but exists in database

by Berndt Holger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I am new to this mailing list but hope I can get any help. We are  
using CASTOR for a long time, but this error is very strange.
We need a OQL-Query like SELECT obj FROM OBJECTTYPE obj but get no  
object returned. We implemented a query like
SELECT COUNT(*) FROM OBJEKTTYPE obj which returned the correct number.  
We tried many other ways but we need the query because it is  
implemented within a search use case. Does anybody know in which  
circumstances this could happen?

Thanks for any hints and help.

Regards,

Holger

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Parent Message unknown RE: No object returned by OQL but exists in database

by Ralf Joachim-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Holger,

from your description I have no idea what may cause this behaviour. Could you provide me with a small example to replay things?

Regards
Ralf

Hi,

I am new to this mailing list but hope I can get any help. We are  
using CASTOR for a long time, but this error is very strange.
We need a OQL-Query like SELECT obj FROM OBJECTTYPE obj but get no  
object returned. We implemented a query like
SELECT COUNT(*) FROM OBJEKTTYPE obj which returned the correct number.  
We tried many other ways but we need the query because it is  
implemented within a search use case. Does anybody know in which  
circumstances this could happen?

Thanks for any hints and help.

Regards,

Holger

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email