[seam-dev] Hibernate 4.0 + Seam 2.x on AS7?
Matt Drees
matt.drees at gmail.com
Tue Jun 7 13:50:14 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).
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.
-Matt
On Tue, Jun 7, 2011 at 12:13 PM, Scott Marlow <smarlow at redhat.com> wrote:
> Hi,
>
> I saw the recent post about testing Seam 2.x on the (upcoming) JBoss AS7
> and wanted to ask about Hibernate 4.0 support.
>
> Currently in AS7, we inject the Hibernate (4.0) module dependencies into
> application deployments, if we scan certain (@PersistenceUnit
> @PersistenceContext or their equivalent deployment descriptor) )
> annotations or a persistence.xml.
>
> Any idea if Seam 2.x applications will also work with Hibernate 4.0?
>
> Thanks,
> Scott
> _______________________________________________
> seam-dev mailing list
> seam-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/seam-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/seam-dev/attachments/20110607/94f929df/attachment.html
More information about the seam-dev
mailing list