I just finished updating trunk to use Hibernate 3.6 and JPA2. There are schema changes from this update so you must *delete all uPortal related objects (tables, sequences, etc) from your DB and to an initportal*.

You may also need to tell the m2eclipse plugin to refresh the project configuration and do a clean/build in eclipse. To take advantage of the type-safe CriteriaBuilder queries in JPA2 uPortal is now using a maven plugin to generate the JPA MetaModel [1] for our JPA annotated classes. This is a set of generated class files used when building critera queries that allows for compile-time validation of all fields in the query.

Bookmarks and WebProxy are broken right now but I should have a fix for them later this afternoon.

We're now using Hibernate's Dialect resolution abilities so no need to specify a dialect in rdbm.properties any longer.

I'm working on some wiki docs about best practices for JPA managed entities and JPA DAOs so we can try and keep that code pretty consistent.

-Eric

[1] http://docs.jboss.org/hibernate/jpamodelgen/1.0/reference/en-US/html_single/

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to