ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Larry Meadors" <lmead...@apache.org>
Subject Re: Can ibatis work with java object with constructor have parameters?
Date Mon, 08 Jan 2007 05:11:59 GMT
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

Mime
View raw message