Hi there,

I want to do something a bit unusual: perform DQL queries and join with SQL 
tables, not entities.

The reason behind this is I want to be able to load, for example, all the 
Products the User can see. I have an ACL system where there's a table with 
all the authorizations from User to an ACL resource (e.g. a Product id). I 
don't want to use entities here, because there will be a LOT of ACL 
entries, and a lot of things on which I want to restrict access too 
(Products, Categories, …).

So I'm looking for any way possible to do this. I know it's not possible 
natively in DQL, but would that be possible in any other way? Like a Query 
Hint? Or providing Doctrine "false" metadatas, or whatever?

Thanks
Matthieu

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to