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

devhub-tud / devhub / 750 / 1
57%
master: 57%

Build:
Build:
LAST BUILD BRANCH: NotificationsDatabase
DEFAULT BRANCH: master
Ran 25 Jun 2016 06:51PM UTC
Files 157
Run time 7s
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

25 Jun 2016 06:40PM UTC coverage: 56.28%. First build
750.1

push

travis-ci

JWGmeligMeyling
Ok, this was difficult to find...

Turns out for compound keys, Hibernate has no true way of finding the right reference column names.
Somehow Hibernate mixed up the repository_id and issue_id in the end, and our tests passed as long
as the repository_id was equal to the used issue_id (1 by default). Specifying the referenced
column names in the annotation fixed the issue.

```java
	@ManyToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL)
	@JoinTable(name = "issue_labels", joinColumns =
		{
			@JoinColumn(name = "repository_id", referencedColumnName = "repository_id", nullable = false),
			@JoinColumn(name = "issue_id", referencedColumnName = "issue_id", nullable = false)
		},
		inverseJoinColumns = {
			@JoinColumn(name = "label_id", referencedColumnName = "label_id", nullable = false)
		}
	)
	private Set<IssueLabel> labels;
```

2926 of 5199 relevant lines covered (56.28%)

0.79 hits per line

Source Files on job 750.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 750
  • Travis Job 750.1
  • 925581da on github
  • Next Job for on issue_labels (#752.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