Steve just committed a new interface and extension point to Hibernate Core. We can finally plug-in custom Session context management into Hibernate. For those of you who already know getCurrentSession() in Hibernate 3.0, this new extension enables the same without a JTA environment.
One of the distinctive features of Seam is that a lot more things are treated as components
than what you might be used to from other architectures. In fact, pretty much every object
you write will be treated as a Seam component.
Packaging has always been a manual operation in ORM world. In Hibernate, you have to
list the mapped entities either through the configuration API or through the hibernate.cfg.xml
file. For a while now, JBoss AS has introduced the notion of .har, basically an archive scanned
by the deployer to discover the Hibernate configuration and the hbm.xml files in it.
As I mentioned in my previous blog about
Bulk Operations ,
both UPDATE and DELETE statements are challenging to handle against single
entities contained across multiple tables (not counting associations), which
might be the case with:
The EJB3 persistence specification calls for implementors to
support Bulk Operations in EJB-QL (the EJB Query Language). As part of Hibernate's implementation of
EJB3 persistence, HQL (the Hibernate Query Language : which is a superset of EJB-QL) needed to support
these Bulk Operations. This support is now code complete, even going beyond what is offered in the EJB3
persistence specification. There is one task outstanding against this bulk operation support in HQL, but
this is completely beyond the scope of the support called for in the EJB3 persistence specification.
I'll blog about this one later as it simply rocks ;)