initial attempt to get hibernate + jpa working (does not work on OC4J as it is old and does not support JPA2)
changes to persistence so that it will work in OC4J stack