-
Jul 12th, 2011, 04:39 AM
#1
Adding where clauses dinamically from database with AOP and myBatis
Hello,
We are using MyBatis 3.0.3 & Spring 3.0.5 in our project.
We are trying to implement data level security through a table which stores where clauses (userid < 200, active == true, ...).
So, the problem comes when we want to add a clause to a select query dinamically in execution time.
We are thinking about the possibility of using Spring AOP but we are not sure if it is possible or not, if it is a good solution and appart from that we don't know how to implement it.
Please share your thoughts.
Thanks in advance,
Silvia.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules