How to get MySQL time zone?

Under certain circumstances it is relevant to know the timezone in which your date is being stored in a Relational Database System, for example MySQL. One of the easiest ways to know is just by running following command: Step 1. Login to MySQL mysql -u root -p Step 2. Run a “select” query to get…

Useful IBM DB2 commands

When I start to use a new Database Relational System like IBM DB2, first thing I think is “I need to learn how to do this…”, so, in order to answer that question I have written this small article A useful list of IBM DB2 commands in Base22 Knowledge Wiki where you will find a set of commands that I…

How to configure session factory to connect to a DB2 datasource with Hibernate

A really brief intro Hibernate is one of the most incredible Object Relational Mapper (ORM engine) that we have to make scalable and secure  Java Enterprise Applications. Today, I going to explain you, how to configure your session factory field by field in order to have a basic connection to a datasource (in this case…