JaCoCo adds a private static synthetic field to every class under code
coverage. Looks like especially oder Hibernate versions get confused by
this.
A work around is to exclude your persisted objects from code coverage
analyses.
Regards,
-marc
On 2014-09-22 16:02, [email protected] wrote:
I am running jacoco coverage tool. and my some tests are failing.
Actually those don't fail in normal builds.
here some stacktrace:
Error Message
No row with the given identifier
exists:[com.project.hibernate.entity.DummyProperty#30]
Stacktrace
org.hibernate.ObjectNotFoundException: No row with the given
identifier exists: [com.project.hibernate.entity.DummyProperty#30]
any idea?
--
You received this message because you are subscribed to the Google Groups "JaCoCo
and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.