HHH-9202 NPE in OneToOneLinkTest on oracle12c

This commit is contained in:
Brett Meyer 2014-05-27 21:52:15 -04:00
parent 95070f50a9
commit a39eeed257
1 changed files with 11 additions and 9 deletions

View File

@ -23,21 +23,22 @@
*/
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.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.SkipForDialect;
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
import org.junit.Test;
/**
* @author Gavin King
*/
@ -48,6 +49,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");