ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carfield Yim" <carfi...@gmail.com>
Subject Re: Can ibatis work with java object with constructor have parameters?
Date Mon, 08 Jan 2007 06:42:52 GMT
On 1/8/07, Larry Meadors <lmeadors@apache.org> wrote:
> On 1/7/07, Carfield Yim <carfield@gmail.com> wrote:
> > So that I can use the ID of the record to check for permission when
> > initalization. If the user don't have permission to load that record,
> > the system will throw an exception and we will show an generic
> > permission deny page.
>
> It seems like this would be way more efficient to do in the SQL.
>
> That way you don't have any overhead (i.e., network latency, object
> creation, etc..).
>
> Larry
>
But it is probably better to work in ibatis as my boss like to
standardize to use this ORM framework

Mime
View raw message