MYSQL
Datasource. url = jdbc: mysql: /localhost: 3306/bbscs6? UseUnicode = true & characterEncoding = UTF-8
Datasource. username = root
Datasource. password = root
Oracle
Datasource. driverClassName = oracle. jdbc. driver. OracleDriver
Datasource. url = jdbc: oracle: thin: @ 192.168.0.1: 1521: SID
Datasource. username = bbscs
Datasource. password = bbscs
Datasource. defaultAutoCommit = true
Hibernate. dialect = net. sf. hibernate. dialect. OracleDialect
For Oracle9, write hibernate. dialect = net. sf. hibernate. dialect. Oracle9Dialect.
SQL Server
Datasource. driverClassName = com. microsoft. jdbc. sqlserver. SQLServerDriver
Datasource. url = jdbc: microsoft: sqlserver: // localhost: 1433; DatabaseName = bbscs
Datasource. username = bbscs
Datasource. password = bbscs
Datasource. defaultAutoCommit = true
Hibernate. dialect = net. sf. hibernate. dialect. SQLServerDialect
Datasource. username indicates the database ID, and datasource. password indicates the Database password. IDs are generally set to sa and passwords. The driver includes the database name, ID, password, computer name, and port number. The JSP database must respond to the database driver for connection operations, or use JDBC and ODBC.
(