mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-14 23:25:00 +00:00
HHH-6773 test fails on sybase
This commit is contained in:
parent
7b9e2130b2
commit
f262811c8f
@ -30,6 +30,7 @@
|
||||
import javax.persistence.Enumerated;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.IdClass;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.MappedSuperclass;
|
||||
import javax.persistence.Table;
|
||||
@ -117,6 +118,7 @@ public static class ListActionRole extends VersionedRecord {
|
||||
Code roleCode;
|
||||
|
||||
@ManyToOne(targetEntity = Role.class)
|
||||
@JoinColumn(nullable = false)
|
||||
Role role;
|
||||
|
||||
@Override
|
||||
|
@ -30,8 +30,10 @@
|
||||
import org.hibernate.ScrollableResults;
|
||||
import org.hibernate.Session;
|
||||
import org.hibernate.Transaction;
|
||||
import org.hibernate.dialect.SybaseASE15Dialect;
|
||||
import org.hibernate.testing.DialectChecks;
|
||||
import org.hibernate.testing.RequiresDialectFeature;
|
||||
import org.hibernate.testing.SkipForDialect;
|
||||
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
@ -69,6 +71,7 @@ public void testTupleReturnFails() {
|
||||
}
|
||||
|
||||
@Test
|
||||
@SkipForDialect( value = SybaseASE15Dialect.class, jiraKey = "HHH-5229")
|
||||
public void testScrollingJoinFetchesEmptyResultSet() {
|
||||
Session s = openSession();
|
||||
Transaction txn = s.beginTransaction();
|
||||
|
Loading…
x
Reference in New Issue
Block a user