Jump to content
xisto Community
Sign in to follow this  
kvarnerexpress

Creating A Datasource

Recommended Posts

This is a little confusing for me but:In my current configuration everytime I want to run a query on my db I create a new datasource. Should I be creating a new datasource every time that I wish to launch a query, or do I just create one (put it into the application scope) and have everyone use it? Would that cause problems with multiple users attempting to launch queries?Can someone explain the datasource a little better for me.kvarnerexpress

Share this post


Link to post
Share on other sites

Using what technology are you trying to achieve this?It is always good to agve some conecctions available and then keep using them rather then coneccting and disconnecting for each and every query. It will be expensive to do that.If it is possible to use datasource then you should use that approach....but it also depends how you implements this...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.