[seam-dev] Hibernate 4.0 + Seam 2.x on AS7?

Ales Justin ales.justin at gmail.com
Wed Jun 8 06:26:41 EDT 2011


> Hi Scott,
> 
> I'm working on adapting a Seam 2.X app to run on AS7. 
> 
> I've run into JSF 2.0 incompatibilities, but no inherent Hibernate 4.0 incompatibilities so far.
> (I did have to fix some custom UserType implementations in my app, but those aren't Seam-related.)
> 
> 
> Actually, I did have one Hiberate/JPA related hangup.  I had one persistence unit that was managed by Seam, not the app server (i.e., I was using a <persistence:entity-manager-factory/>).  This didn't work on AS7, though I've lost the particular stacktrace (something to do with TransactionManagerLookup I think).

AS7 doesn't expose TxManager to JNDI (yet).

> I had to switch over this persistence unit to being container-managed, which is the better thing anyway.  I was only using a Seam-managed PU to get around an AS6 issue, and that particular issue doesn't exist with AS7.

Which AS6 issue is this?

-Ales





More information about the seam-dev mailing list