HHH-9202 NPE in OneToOneLinkTest on oracle12c

Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/onetoone/link/OneToOneLinkTest.java
This commit is contained in:
Brett Meyer 2014-05-27 21:53:48 -04:00
parent 1f7d90de8b
commit f50da6679f
1 changed files with 12 additions and 9 deletions

View File

@ -23,21 +23,23 @@
*/
package org.hibernate.test.onetoone.link;
import java.util.Date;
import org.junit.Test;
import org.hibernate.Hibernate;
import org.hibernate.Session;
import org.hibernate.Transaction;
import org.hibernate.testing.FailureExpectedWithNewUnifiedXsd;
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import java.util.Date;
import org.hibernate.Hibernate;
import org.hibernate.Session;
import org.hibernate.Transaction;
import org.hibernate.dialect.Oracle10gDialect;
import org.hibernate.testing.FailureExpectedWithNewUnifiedXsd;
import org.hibernate.testing.SkipForDialect;
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
import org.junit.Test;
/**
* @author Gavin King
*/
@ -49,6 +51,7 @@ public class OneToOneLinkTest extends BaseCoreFunctionalTestCase {
}
@Test
@SkipForDialect(value = Oracle10gDialect.class, comment = "oracle12c returns time in getDate. For now, skip.")
public void testOneToOneViaAssociationTable() {
Person p = new Person();
p.setName("Gavin King");