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 <[EMAIL PROTECTED]> wrote:
On 1/8/07, Larry Meadors <[EMAIL PROTECTED]> wrote: > On 1/7/07, Carfield Yim <[EMAIL PROTECTED]> 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
