getting demo working with hibernate 4 and jadira instead of joda