Re: jpa provider

From: Gilberto C Andrade (gilbertoc..ecad.to.gov.br)
Date: Mon Dec 10 2007 - 09:33:10 EST

  • Next message: Andrus Adamchik: "Re: jpa provider"

    Andrus Adamchik wrote:
    > maven-specific advice - configuration we are using from our own
    > integration tests:
    >
    > <plugin>
    > <groupId>org.apache.maven.plugins</groupId>
    > <artifactId>maven-surefire-plugin</artifactId>
    >
    > <configuration>
    > <forkMode>once</forkMode>
    > <argLine>
    >
    > -javaagent:${settings.localRepository}/org/apache/cayenne/cayenne-agent/${version}/cayenne-agent-${version}.jar
    >
    > </argLine>
    > </configuration>
    > </plugin>
    >

    I've followed your tip, but without success:
    > -------------------------------------------------------
    > T E S T S
    > -------------------------------------------------------
    > Running com.gilbertoca.gfi.service.PessoaServiceTest
    > Dec 10, 2007 11:21:43 AM org.apache.cayenne.jpa.Provider createEntityManagerFactory
    > INFO: Extra PersistenceUnitInfo properties: null
    > Dec 10, 2007 11:21:43 AM org.apache.cayenne.jpa.instrument.InstrumentingUnit addTransformer
    > INFO: *** Adding transformer: org.apache.cayenne.jpa.instrument.UnitClassTransforme..2a55aa
    > Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.467 sec <<< FAILURE!
    > Running com.gilbertoca.gfi.AppTest
    > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.024 sec
    >
    > Results :
    >
    > Tests in error:
    > hello(com.gilbertoca.gfi.service.PessoaServiceTest)
    > hello(com.gilbertoca.gfi.service.PessoaServiceTest)



    This archive was generated by hypermail 2.0.0 : Mon Dec 10 2007 - 09:33:00 EST