java.sql Code Samples
- How do I create a connection to database?
- How do I create a connection to MS Access database?
- How do I use DatabaseMetaData to get table column names?
- How do I query records from table?
- How do I retrieve values from ResultSet?
- How do I read BLOBs data from database?
- How do I execute stored procedure?
- How do I store BLOBs data into database?
- How do I get date time functions supported by database?
- How do I delete record from table?
- How do I know number of rows affected when updating data in database table?
- How do I insert a record into database table?
- How do I make updates in Updatable ResultSet?
- How do I get all table names from database?
Page of 5 |
Prev
|
Next
How do I get the maximum number of concurrent connections?
This example show you how to get the maximum number of concurrent connections to a database that are possible. To get this information we use the DatabaseMetaData.getMaxConnections() method call. If return value is zero it means that there is no limit or the limit is unknown.
