Hibernate framework is an object/relational mapping library (ORM) for the Java language. It provides a object/relational persistence query service. With hibernate, you can map an object-oriented domain model to a traditional relational database. It is an open source product developed by Red Hat. Data is one of the most valuable assets a company has, and with Hibernate you can put it to good use in Java applications. In this section on Hibernate, get news, research, and tutorials on the Hibernate framework and read tips and advice to find out how it can help your applications make the best use of the data available.
Annotation versus XML configuration: Which JPA option to choose?
04 Oct 2013
Tip - A common debate in the JPA community is whether to configure applications using an XML or annotations based approach. Here are some reasons why you might want to choose XML instead.
Simplified ORM configuration with Spring, JPA and Hibernate path scanning
04 Oct 2013
Tip - Configuring Spring, JPA, Hibernate or other ORM technologies can be a challenge. One way to simplify ORM configuration is to configure package scanning for entity classes.
How to get the Hibernate Session from the JPA 2.0 EntityManager
30 Jun 2013
Tip - This tip shows you how to get the Hibernate Session from the JPA EntityManager so you can perform functions only available from the JBoss Hibernate project.
How to permanently configure web application settings on the application server
22 Mar 2013
Tip - Some settings in the web.xml file can easily be changed by developers, causing runtime problems on the server at deployment. Here is how to permanently set web configuration parameters on the server that will not be overridden.
Water-Scrum-fall: It's not an Agile methodology
07 Jun 2012
Video Tip - The bottom line? You're either Agile or you're not, and if you're not, using water-Scrum-fall to squeeze in Agile methodologies may only create problems and resentment.
Java 7 and the intricacies of safe and unsafe casting
26 Jan 2012
Tip - One of the problems with casting is that it does have the potential to cause a loss of precision, especially if the number that gets cast does indeed fall outside of the range of the target type. Here we will explain why this happens.
OCPJP Java 7 Mock Certification Exam: A Tricky Question about ARM and Try-with-Resources
30 Dec 2011
Tip - The Oracle Certified Professional Java Programmer (OCPJP) exam requires you to know the ins and outs of the new language features introduced in Java 7. This tricky question tests you on your knowledge of try-with-resources and AutoCloseable objects.
Spring Ehcache integration (Second-level caching in Hibernate)
17 Aug 2011
Tip - Integrating Ehcache with Spring-based applications is actually fairly easy. Let's look at this integration with a sample BuddyManagement application.
Learn Hibernate Quickly: Simplified Java Persistence with Hibernate & JPA
26 May 2010
Tip - Learn Hibernate Quickly: Simplified Java Persistence with Hibernate & JPA, covering both Hibernate 3.2.x and the JPA 2.0 compliant Hibernate 3.5.