Posted In: JDBC

How to configure PostgreSQL DataSource in Tomcat 9

1. PostgreSQL datasource setup 1. Download PostgreSQL JDBC driver Location to download PostgreSQL JDBC DRIVER (postgresql-9.4.1212.jre7.jar) Download version suited for your JRE level JDBC4 Postgresql Driver, Version 9.4.1212 JDBC41 Postgresql Driver, Version 9.4.1212 JDBC42 Postgresql Driver, Version 9.4.1212 Copy connector jar to either TOMCAT/LIB or application’s WEB-INF/lib Note In an enterprise application avoid adding it […]

Read More

Tags: , , , , ,

by , on January 23rd, 2017

Posted In: JDBC

How to configure Oracle DataSource in Tomcat 9

1. Oracle datasource setup 1. Download Oracle JDBC driver Location to download ORACLE JDBC DRIVER (ojdbc6.jar) Copy connector jar to either TOMCAT/LIB or application’s WEB-INF/lib Note In an enterprise application avoid adding it in application’s WEB-INF/lib. Mostly this connector will be configured at server level so that same version will be shared among multiple applications. […]

Read More

Tags: , , , , ,

by , on January 22nd, 2017

Posted In: JDBC

How to configure HSQLDB DataSource in Tomcat 9

1. HyperSQL DB datasource setup 1. Download HyperSQL DB JDBC driver Location to download HyperSQL DB JDBC CONNECTOR (hsqldb-2.3.4.zip->hsqldb.jar) Copy connector jar to either TOMCAT/LIB or application’s WEB-INF/lib Note In an enterprise application avoid adding it in application’s WEB-INF/lib. Mostly this connector will be configured at server level so that same version will be shared […]

Read More

Tags: , , , , ,

by , on January 22nd, 2017

Posted In: JDBC

How to configure MySQL DataSource in Tomcat 9

1. MySQL datasource setup 1. Download MySQL JDBC driver Location to download MYSQL JDBC CONNECTOR (mysql-connector-java-5.1.40.zip->mysql-connector-java-5.1.40-bin.jar) Copy connector jar to either TOMCAT/LIB or application’s WEB-INF/lib Note In an enterprise application avoid adding it in application’s WEB-INF/lib. Mostly this connector will be configured at server level so that same version will be shared among multiple applications. […]

Read More

Tags: , , , , , ,

by , on January 21st, 2017

  • Categories