cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: EJBQL client-side challenge
Date Mon, 25 Jan 2010 07:19:55 GMT
>
> I realise that the original reasoning for this was security

This and also a general desire to encapsulate as many server details  
as possible.

> this presents a challenge for utilising EJBQ

EJBQL should work without knowledge of DbEntity. What errors are you  
getting? We may be able to fix by fixing processing pipeline.

Andrus


On Jan 25, 2010, at 12:51 AM, Lachlan Deck wrote:
> Hi there,
>
> ObjEntity.getDbEntityName() in ROP returns null as does DbEntity. I  
> realise that the original reasoning for this was security but this  
> presents a challenge for utilising EJBQL (or SQLTemplate for that  
> matter) to some extent from ROP.
>
> Two immediate problems:
> - if the ROP code only knows the name of the ObjEntity this won't  
> necessarily map to the same name in the DbEntity/ or table/view.
> - same again goes for attribute names.
> etc
>
> Is it worth rethinking this for 3.1?
>
> with regards,
> --
>
> Lachlan Deck
>
>


Mime
View raw message