• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

hibernate / hibernate-search-6-poc / 298 / 1
87%
master: 87%

Build:
DEFAULT BRANCH: master
Ran 19 Mar 2018 03:23PM UTC
Files 360
Run time 27s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

19 Mar 2018 01:43PM UTC coverage: 79.64% (+0.2%) from 79.42%
298.1

push

travis-ci

yrodiere
Make annotation discovery a global setting

The previous implementation tried to be smart, discovering nested type
annotations when processing annotation mapping, and ignoring them when
processing programmatic mapping.

But the approach was fundamentally flawed: some of the discovered
metadata is cached, and shared between all the mappings. For instance
this is the case of markers. So with the previous approach, discovered
annotations could impact a programmatic mapping or not depending on
whether they were discovered before or after the programmatic mapping
was processed. Which can be terribly confusing.

Thus I gave up and made annotation discovery a global setting: either
you enable it everywhere (in annotation and programmatic mappings),
or you don't enable it at all.

The original goal of this switch was to allow people with annotated
classes to ignore the annotations and only rely on a programmatic
mapping, so I also added a setting in the ORM integration to disable
annotation mapping completely.

4862 of 6105 relevant lines covered (79.64%)

0.8 hits per line

Source Files on job 298.1
  • Tree
  • List 0
  • Changed 10
  • Source Changed 7
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1
  • Travis Job 298.1
  • a0f77a23 on github
  • Prev Job for on master (#296.1)
  • Next Job for on master (#299.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc