Yes. Actually adding a GlassfishDialect subclass might make things simpler too
On 28 sept. 2010, at 19:29, Sanne Grinovero <sanne.grinov...@gmail.com> wrote: > thanks Emmanuel, > yes the SunONETransactionManagerLookup is the same I had recommended > earlier in the same discussion, but had to look it up in source code > to find out and wasn't 100% sure; > I've repeated that now in the forums, this is the fourth user I meet > having issues with it. > > Shall I add it to the table in the core documentation? > > Cheers, > Sanne > > 2010/9/28 Emmanuel Bernard <emman...@hibernate.org>: >> It really really really looks like they don't set up the transaction manager >> in their config (for sure the code sample in the forum does not have the >> property). >> They should use SunONETransactionManagerLookup (previous name for GF. >> Alternatively, it could be like: >> - GF v3 has changed it's binding ( java:appserver/TransactionManager ) >> - there is no Tx started >> - the tx has been marked for rollback previously >> Emmanuel >> On 28 sept. 2010, at 15:37, Sanne Grinovero wrote: >> >> Hi Emmanuel, >> do you have any clue about this issue in the forum thread mentiond below? >> I thougth they might be missing the transactionmanager registration, but a) >> I'd expect a different exception b)there's no mention of Glassfish in the >> Hibernate core documentation. >> Is it possible that in glassfish it's not allowed to start a transaction at >> all in a user created thread? >> >> Cheers, >> Sanne >> >> ---------- Messaggio inoltrato ---------- >> Da: "Hibernate Forums" <do-not-re...@jboss.org> >> Data: 28/set/2010 15:24 >> Oggetto: Topic reply notification - "Could not register synchronization for >> container transaction" >> A: "s.grinovero" <sanne.grinov...@gmail.com> >> >> Hello s.grinovero, >> >> You are receiving this notification because you are watching the topic, >> "Could not register synchronization for container transaction" at >> "Hibernate Community". This topic has received a reply since your last >> visit. You can use the following link to view the replies made, no more >> notifications will be sent until you visit the topic. >> >> If you want to view the newest post made since your last visit, click the >> following link: >> https://forum.hibernate.org/viewtopic.php?f=9&t=1004515&p=2436306&e=2436306 >> >> If you want to view the topic, click the following link: >> https://forum.hibernate.org/viewtopic.php?f=9&t=1004515 >> >> If you want to view the forum, click the following link: >> https://forum.hibernate.org/viewforum.php?f=9 >> >> If you no longer wish to watch this topic you can either click the >> "Unsubscribe topic" link found at the bottom of the topic above, or by >> clicking the following link: >> >> >> https://forum.hibernate.org/viewtopic.php?uid=48308&f=9&t=1004515&unwatch=topic >> >> -- >> Hibernate Community Forum >> http://forum.hibernate.org/ >> >> >> _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev