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

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

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

pending completion
750

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

Jobs
ID Job ID Ran Files Coverage
1 750.1 25 Jun 2016 06:51PM UTC 0
56.28
Travis Job 750.1
Source Files on build 750
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #750
  • 925581da on github
  • Next Build on issue_labels (#752)
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

© 2025 Coveralls, Inc