Java database connection method (8)

Source: Internet
Author: User
/*** Configure the node setting class ** @ author */public class configkeys {/*** database driver configuration node name */public final static string dbdriverkey = "dbjdbcdriver "; /*** configure the node name for the database connection path */public final static string dburlkey = "dbconnectionurl "; /*** configure the node name for the database connection username */public final static string dbuserkey = "dbconnectionuser "; /*** configure the node name for database connection user password */public final static string dbpwdkey = "dbconnectionpassword "; /*** JNDI name configuration node name */public final static string dbjndinamekey = "dbjndiname "; /*** configure the node name for the maximum number of database connections */public final static string dbmaxconnkey = "dbmaxconnectioncount "; /*** configure the node name for the minimum number of database connections */public final static string dbminconnkey = "dbminconnectioncount "; /*** configure the node name for the minimum number of database connections */public final static string dbfreeconnkey = "dbfreeconnectioncount "; /*** configure the node name for the minimum number of database connections */public final static string dbwaittimeoutkey = "dbwaittimeout "; /*** configure the node name for the initial connection count of the database */public final static string dbinitconnkey = "dbinitconnectioncount "; /*** configure the node name for the number of times the database connection object is used */public final static string dbusecountkey = "dbusecount "; /*** configure the node name for the idle time of the database connection object */public final static string dbtimeoutkey = "dbtimeout "; /*** configure the node name for the maximum time used by the database connection object */public final static string dbusetimekey = "dbusetime "; /*** configure the interval of the Connection Pool by database timer */public final static string dbtimerintervalkey = "dbtimerinterval "; /*** Database Type Configuration node name */public final static string dbtypekey = "dbtype "; /*** database connection type configuration node name */public final static string dbconntypekey = "dbconnectiontype "; /*** database connection factory configuration node name */public final static string dbconnclasskey = "connectionfactoryclassname ";}

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.