Hibernate course completed

I’ve completed yesterday the course Object-Relational Mapping with Hibernate: Hands on. Although I’ve already used Hibernate before, it was very valuable to refresh and expand my knowledge on the topic. I was quite doubtful whether to enrol or not, but I am now glad that I did!

. . . → Read More: Hibernate course completed

Hibernate and MySQL

Since I’ve already wrote about PostgreSQL and H2 Hibernate configuration, I thought it’s a good idea to add MySQL too for my reference.

First I’ve added the dependency to Maven’s pom.xml (see the Maven repository for the latest version).

<dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.1.18</version> </dependency>

The second step is Hibernate configuration, here is an example:

. . . → Read More: Hibernate and MySQL

Hibernate and H2

H2 is a small embeddable Java Database that supports a in memory mode (it also has a server mode). It’s a great choice for testing, since it doesn’t require any DB set up.

To try it out, the first step is adding the dependency to Maven’s pom.xml (see the Maven Repository for the latest version).

. . . → Read More: Hibernate and H2

Hibernate and PostgreSQL

I’m finally fluent in Spring and Spring-MVC and I am studying Hibernate. If I think about DBMS that I’ve been using, I can recall SQL Server, Oracle and a lot of MySQL. As for PostgreSQL, I kept on hearing good news about how robust and standard based it is, but I’ve never had a chance . . . → Read More: Hibernate and PostgreSQL