[hibernate-dev] JTA platform configuration: Hibernate OGM on WildFly
Scott Marlow
smarlow at redhat.com
Tue Mar 29 11:25:00 EDT 2016
On 03/29/2016 10:50 AM, Gunnar Morling wrote:
>
>
> 2016-03-29 16:29 GMT+02:00 Sanne Grinovero <sanne at hibernate.org
> <mailto:sanne at hibernate.org>>:
>
> When using Hibernate OGM on WildFly it's currently necessary to set
> this property:
>
> hibernate.transaction.jta.platform = JBossAS
>
> 1 -- Would you all be ok for me to add a "WildFly" alias which
> resolves to the same implementation?
> This would be a patch for Hibernate ORM so it affects everyone.
> I'm not proposing (yet) to remove or deprecate the old value.
>
>
> Yeah, I was wondering the same when seeing your PR.
>
> When is it required to be specified, though? Assuming 2. is done - in
> which case would a user have to set the platform explicitly to that impl?
>
>
> 2 -- Could JipiJapa help so that end users don't need to set this?
>
> We had plans for OGM support for JipiJapa, this could be a good time
> to refresh that idea?
>
>
> There is some awareness of OGM in JipiJapa already; I don't remember the
> details, but when we changed the slot id for OGM a while ago, that
> required an update in JipiJapa, too. Scott will know more.
We have some OGM support in the JPA (EE) container but not in the
JipiJapa module for ORM 5.0. The JPA container checks if the
persistence provider class is
"org.hibernate.ogm.jpa.HibernateOgmPersistence" and uses the
"org.hibernate.ogm:main" module if yes. The JPA container also allows
the DataSource to not be specified in the persistence.xml.
>
> For sure it would be great if specifying the JTA platform wasn't
> necessary when using OGM on WF. I suppose it'd help to file a WFLY issue
> to capture the discussion and required actions.
>
>
> Thanks,
> Sanne
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org <mailto:hibernate-dev at lists.jboss.org>
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>
>
More information about the hibernate-dev
mailing list