This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hello , I am trying to figure out how to use lightspeed 4 on oracle with vpd . It means i need to set a session variable (userid) before every call to the database, the set session variable can be done directly or via store procedure . Is there a way to do it or to define a set of operation to execute on every connection . I was thinking of customize the Begin process in unit of work , i will appreciate any help on finding more relevant documentation
Thanks in advance , Amir
|
|
|
To hook connection creation, you can use a connection strategy or an interceptor. Connection strategies: http://www.mindscapehq.com/documentation/lightspeed/Building-Applications-with-LightSpeed/Customising-How-LightSpeed-Connects-to-the-Database Interceptors (requires recent nightly build): http://www.mindscapehq.com/blog/index.php/2011/07/28/using-the-asp-net-mvc-mini-profiler-with-lightspeed/ |
|