[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-2351) ProductUnitTest is broken on dvdstore

Pete Muir (JIRA) jira-events at lists.jboss.org
Wed Dec 5 11:39:51 EST 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-2351?page=comments#action_12390694 ] 
            
Pete Muir commented on JBSEAM-2351:
-----------------------------------

I asked Emmanuel why, this was his response:

There has been a change in 3.3 to make configuration more natural.

Before, when you called Persistence.createEMF it assumed that you
were in SE.
Because of that, when not transaction-type was defined,
RESOURCE_LOCAL was expected.

The new solution is add an extra check. Because you are using a jta-
data-source, it assumes that the transaction-type is JTA
If you want to use a datasource in a non JTA environment, you need a
<non-jta-data-source/>
If you want to use JTA, then you need to define a property
hibernate.transaction.manager_lookup_class
org.hibernate.transaction.JBossTransactionManagerLookup

your choice

> ProductUnitTest is broken on dvdstore
> -------------------------------------
>
>                 Key: JBSEAM-2351
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2351
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Examples, Test Harness
>            Reporter: Pete Muir
>         Assigned To: Norman Richards
>            Priority: Critical
>
> Since Embedded upgrade this test is broken

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list