A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
JDBC and Relational Databases
How many statements we can create from a single connection
Joined: Jun 11, 2009
Mar 10, 2010 09:25:33
I have one doubt regarding creating more than one Statements objects from a single connection object.
up to how many statement objects i can create from a single connection object.
please help me out.
Thanks in Advance.
Vinod K Singh
Joined: Sep 30, 2008
Mar 10, 2010 09:36:30
There is no limit on number of statements from a connection.
It is sorta covered in the
JavaRanch Style Guide
subject: How many statements we can create from a single connection
Threads and connection pool
Is there a limit to # of Statements over a Connection object
reasons for error: SQLException: No operations allowed after connection closed?
transactions/statements per connection
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015