Search

Recent Posts

Authors

Archives

Blogroll

Subscribe

Posts Tagged ‘oracle’

Mapping Hibernate Entities to Views

Posted by Timothy Myer on Wednesday, May 13th, 2009

This tutorial is an exploration of mapping Hibernate entities that do not correspond directly to database tables onto structures such as views or query results.

[View Post]

Basic Data Modelling With Hibernate

Posted by Timothy Myer on Friday, April 3rd, 2009

This article is an exploration of composition and inheritance relationships with Hibernate and Spring. The article begins with boilerplate project setup using Maven2 and presents individual examples of one-to-one, one-to-many and many-to-many relationships, as well as one way to map inheritance to a database schema. JUnit tests emphasize the interesting features of these relationships. By the end of the tutorial, we will have a framework and the tools for building more complex domains from these simple models.

[View Post]

Custom Inserts With Hibernate and Oracle

Posted by Timothy Myer on Sunday, March 22nd, 2009

This article explains three techniques for generating primary keys when using Hibernate and Oracle.

[View Post]