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 12:42:06 GMT
You would use iBATIS - it's using your SQL, no?

If it is using your SQL, in your SELECT statement, you can exclude
records based on anything in the result set using a WHERE or HAVING
clause.

Larry


PS: iBATIS is not an ORM tool, it's a data mapper. ;-)


On 1/7/07, Carfield Yim <carfield@gmail.com> wrote:
> 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