deleted custom exception class, MessageOfTheDayException.java
Moved MessageOfTheDay.java and MessageOfTheDay.hbm.xml from package Chapter.One into package Chapter.One.pojo
added files for Chapter 3 : Building a Simple Application
updated configuration file for Chapter 3
formatting
* formatting
* fixed package name
* replaced call to overloaded constructor with calls to individual mutator methods
added files for Chapter 4 : Using Annotations with Hibernate
updated configuration file for Chapter 4
According to Cameron McKenzie, the SINGLE_TABLE inheritance type strategy is preferred over the JOIN strategy.
The SINGLE_TABLE strategy puts all the information into one table.
It doesn't require joins when doing a query.
fixed typo errors in configuration file
* fixed annotation error: Id annotation does not have generate property
* added convience method, addBook(Book book)
* fixed annotation error: Entity annotation does not have an access property
* added convience method, addAuthor(Author author)
* fixed annotation error: Id annotation does not have a generate property
* added convience method, addBook(Book book)
Deleted ExampleConfiguration.java file.
Contents were merged into files that use this class.
fixed typos in configuration file
Merged contents of ExampleConfiguration into this file.
Merged contents of ExampleConfiguration into this file.
Refactored class to use convience methods (ie. addBook, addAuthor) and for-each loop.
deleted overloaded constructor
* deleted overloaded constructor
* parameterized field and methods
* added convenience method
deleted overloaded constructor